The AutomaticExecSettings class is used to track the settings for the automatic execution.
More...
#include <automaticexecsettings.h>
|
| void | slot_addAuto (int idx, bool generate) |
| | slot_addAuto Connected to the SamplingWidget, used to add a plugin
|
| |
|
void | slot_addAutoOutput () |
| | slot_addAutoOutput Connected to the OutputWidget, used to add a export
|
| |
| void | slot_removedPlugin (int row) |
| | slot_removedPlugin Connected to the AutomaticWidget, called when the user removes an algorithm
|
| |
|
void | slot_saveConfiguration (QString path) |
| | slot_saveConfiguration Connected to the AutomaticController, called to save the current settings to a JSON file
|
| |
|
void | slot_loadConfiguration (QString path) |
| | slot_loadConfiguration Connected to the AutomaticController, called to load a existing JSON file
|
| |
| void | slot_doubleClickedItem (int row) |
| | slot_doubleClickedItem Connected to the AutomaticWidget, called when a algorithm is double clicked to show its settings on the ui
|
| |
| void | slot_autoOrderChanged (int first, int second) |
| | slot_autoOrderChanged Connected to the AutomaticWidget, called when algorithms are moved with the drag&drop feature
|
| |
The AutomaticExecSettings class is used to track the settings for the automatic execution.
- Author
- Daniel Brommer
- Date
- 2021/06/14
◆ AutomaticExecSettings()
| AutomaticExecSettings::AutomaticExecSettings |
( |
| ) |
|
◆ getPluginList()
| QList< QPair< QString, QMap< QString, QVariant > > > AutomaticExecSettings::getPluginList |
( |
| ) |
|
getPluginList Returns the current automatic settings
- Returns
- QList with QPairs. First in the pair is name of the algorithm, second is a QMap with its settings
◆ getPluginNames()
| QStringList AutomaticExecSettings::getPluginNames |
( |
| ) |
|
getPluginNames Returns QstringList with name of the alogrithm and its settings
- Returns
- QStringList with name + settings
◆ loadPluginList()
| void AutomaticExecSettings::loadPluginList |
( |
QString |
path | ) |
|
loadPluginList Actually loads the settings from the given file
- Parameters
-
| path | Path to the JSON file |
◆ setExportController()
| void AutomaticExecSettings::setExportController |
( |
ExportController * |
exportController | ) |
|
setExportController ExportController doesn't exists when this class is created, so it has to be set later
- Parameters
-
◆ sig_setAlgorithm
| void AutomaticExecSettings::sig_setAlgorithm |
( |
int |
index | ) |
|
|
signal |
sig_setAlgorithm Emitted to set the currently shown algorithm on the SamplingWidget
- Parameters
-
◆ sig_showExportSettings
| void AutomaticExecSettings::sig_showExportSettings |
( |
QMap< QString, QVariant > |
exportSettings | ) |
|
|
signal |
sig_showExportSettings Connected to ExportController, used to set settings in the OutpuWidget
- Parameters
-
| exportSettings | Settings of the export |
◆ sig_updatedSelectedPlugins
| void AutomaticExecSettings::sig_updatedSelectedPlugins |
( |
QStringList |
usedPlugins | ) |
|
|
signal |
sig_updatedSelectedPlugins Emitted to set the currently shown plugin list on the AutomaticWidget
- Parameters
-
| usedPlugins | QStringList with the plugins |
◆ slot_addAuto
| void AutomaticExecSettings::slot_addAuto |
( |
int |
idx, |
|
|
bool |
generate |
|
) |
| |
|
slot |
slot_addAuto Connected to the SamplingWidget, used to add a plugin
- Parameters
-
| idx | Index of the selected plugin |
| generate | Boolean wether settings should be generated or not |
◆ slot_autoOrderChanged
| void AutomaticExecSettings::slot_autoOrderChanged |
( |
int |
first, |
|
|
int |
second |
|
) |
| |
|
slot |
slot_autoOrderChanged Connected to the AutomaticWidget, called when algorithms are moved with the drag&drop feature
- Parameters
-
| first | first element to be swapped |
| second | second element to be swapped |
◆ slot_doubleClickedItem
| void AutomaticExecSettings::slot_doubleClickedItem |
( |
int |
row | ) |
|
|
slot |
slot_doubleClickedItem Connected to the AutomaticWidget, called when a algorithm is double clicked to show its settings on the ui
- Parameters
-
| row | Index of the clicked algorithm |
◆ slot_removedPlugin
| void AutomaticExecSettings::slot_removedPlugin |
( |
int |
row | ) |
|
|
slot |
slot_removedPlugin Connected to the AutomaticWidget, called when the user removes an algorithm
- Parameters
-
| row | Index of the removed algorithm |
The documentation for this class was generated from the following files:
- iVS3D/src/iVS3D-core/model/automaticExecution/automaticexecsettings.h
- iVS3D/src/iVS3D-core/model/automaticExecution/automaticexecsettings.cpp