The ImageTaskShapeScriptingPanel models the UI for the script editors for controlling image task shape setup, mutation etc.
More...
#include <imagetaskshapescriptingpanel.h>
The ImageTaskShapeScriptingPanel models the UI for the script editors for controlling image task shape setup, mutation etc.
◆ ImageTaskShapeScriptingPanel()
geometrize::dialog::ImageTaskShapeScriptingPanel::ImageTaskShapeScriptingPanel |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
251 d{std::make_unique<ImageTaskShapeScriptingPanel::ImageTaskShapeScriptingPanelImpl>(
this)}
◆ ~ImageTaskShapeScriptingPanel()
geometrize::dialog::ImageTaskShapeScriptingPanel::~ImageTaskShapeScriptingPanel |
( |
| ) |
|
|
virtual |
◆ changeEvent()
void geometrize::dialog::ImageTaskShapeScriptingPanel::changeEvent |
( |
QEvent * |
event | ) |
|
|
overrideprotected |
276 if (event->type() == QEvent::LanguageChange) {
277 d->onLanguageChange();
279 QWidget::changeEvent(event);
◆ getScripts()
std::map< std::string, std::string > geometrize::dialog::ImageTaskShapeScriptingPanel::getScripts |
( |
| ) |
const |
271 return d->getScripts();
◆ setImageTask()
void geometrize::dialog::ImageTaskShapeScriptingPanel::setImageTask |
( |
task::ImageTask * |
task | ) |
|
setImageTask Sets the current image task manipulated by the scripting panel.
- Parameters
-
task | Non-owning pointer to the image task that the scripting panel on this widget will manipulate. |
261 d->setImageTask(task);
◆ signal_scriptChanged
void geometrize::dialog::ImageTaskShapeScriptingPanel::signal_scriptChanged |
( |
const std::string & |
functionName, |
|
|
const std::string & |
code |
|
) |
| |
|
signal |
◆ signal_scriptingToggled
void geometrize::dialog::ImageTaskShapeScriptingPanel::signal_scriptingToggled |
( |
bool |
enabled | ) |
|
|
signal |
◆ signal_scriptsReset
void geometrize::dialog::ImageTaskShapeScriptingPanel::signal_scriptsReset |
( |
| ) |
|
|
signal |
◆ syncUserInterface()
void geometrize::dialog::ImageTaskShapeScriptingPanel::syncUserInterface |
( |
| ) |
|
syncUserInterface Syncs the user interface with the current image task. This should be called after setting a new image task, or new task settings.
266 d->syncUserInterface();
The documentation for this class was generated from the following files: