16 class ScriptEditorWidget;
55 std::map<std::string, std::string>
getScripts()
const;
67 std::unique_ptr<ImageTaskShapeScriptingPanelImpl>
d;
void signal_scriptChanged(const std::string &functionName, const std::string &code)
void signal_scriptsReset()
virtual ~ImageTaskShapeScriptingPanel()
Definition: imagetaskshapescriptingpanel.cpp:255
void signal_scriptingToggled(bool enabled)
void changeEvent(QEvent *) override
Definition: imagetaskshapescriptingpanel.cpp:274
ImageTaskShapeScriptingPanel(QWidget *parent=nullptr)
Definition: imagetaskshapescriptingpanel.cpp:249
The ImageTaskShapeScriptingPanel models the UI for the script editors for controlling image task shap...
Definition: imagetaskshapescriptingpanel.h:35
The ImageTask class transforms a source image into a collection of shapes approximating the source im...
Definition: imagetask.h:50
Definition: imagetaskshapescriptingpanel.cpp:26
std::unique_ptr< ImageTaskShapeScriptingPanelImpl > d
Definition: imagetaskshapescriptingpanel.h:66
void syncUserInterface()
syncUserInterface Syncs the user interface with the current image task. This should be called after s...
Definition: imagetaskshapescriptingpanel.cpp:264
void setImageTask(task::ImageTask *task)
setImageTask Sets the current image task manipulated by the scripting panel.
Definition: imagetaskshapescriptingpanel.cpp:259
std::map< std::string, std::string > getScripts() const
Definition: imagetaskshapescriptingpanel.cpp:269