![]() |
VR-Forces 4.2 Class Documentation
|
Dialog that shows currently available scenario scripts and allows the editing of the meta data for that script. More...

Public Member Functions | |
| DtScriptedTaskMetaDataDialog (makVrv::DtDe &, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtScriptedTaskMetaDataDialog () |
| virtual void | edit (const DtScriptedTaskMetaData &) |
| virtual void | view (const DtScriptedTaskMetaData &) |
| Shows all items, but, read only. | |
| virtual void | duplicate (const DtScriptedTaskMetaData &, const std::string &sourceId) |
| After script is being done edited will send off the id of the script this is being duplicated from so script code can be copied. | |
| virtual void | add (const std::string &directoryPath, int type) |
| Will add a new item if accepted to the given path. | |
| virtual void | setDirectoryPath (const std::string &) |
| Sets the directory path to add the new item to. | |
Public Attributes | |
| boost::signal< void(const std::string &)> | signal_adding |
| Signal sent when a new item is going to be added. | |
| Ui_DtScriptedTaskMetaDataDialogUi | myUiImpl |
| DtScriptedTaskVariableDataWidget * | myVariables |
| DtScriptedTaskReactiveTaskDataWidget * | myReactiveTaskData |
| DtScriptedTaskEntityTypeDataWidget * | myEntityTypes |
| DtScriptedTaskMenuLocationsDataWidget * | myMenuLocations |
| QLabel * | myMustHaveCodeLabel |
| QPlainTextEdit * | myDescription |
| QListWidget * | myActionCategoriesList |
| QListWidget * | myDoctrinesList |
Protected Types | |
| typedef std::map< std::string, QListWidgetItem * > | ActionCategories |
Protected Slots | |
| virtual void | availableToAllDoctrinesChanged () |
| virtual void | availableBasedOnEntityTypesChanged () |
| virtual void | selectMenuIcon () |
| virtual void | clearMenuIcon () |
| virtual void | editScriptId () |
| virtual void | onScriptTypeChanged () |
| Called when script type changes. Calls routine to modify dialog. | |
| virtual void | onLanguageChanged () |
| Called when the selected language is changed, update UI to reflect differences between language selection. | |
| virtual void | onEditScript () |
| Edits the code of the script. | |
| virtual void | onPreviewDialog () |
| Previews the dialog as it will look when invoked as a task. | |
| virtual void | menuTextChanged () |
| Called when menu text changes. | |
Protected Member Functions | |
| virtual void | slot_aboutToClearScriptedTasks () |
| virtual void | slot_scriptedTaskAboutToBeRemoved (std::string scriptId) |
| virtual void | accept () |
| virtual void | slot_processing () |
| Disables the dialog. | |
| virtual void | slot_processingReactiveTaskData () |
| Called when about to show priorities of reactive tasks. | |
| virtual void | slot_doneProcessing () |
| Enables the dialog. | |
| virtual void | slot_editingComplete (const std::string &id) |
| Called when editing is complete, re-enable edit button if is editing for this script id. | |
| virtual void | slot_scriptModified (const std::string &scriptId, const std::string &script) |
| Called when script has been changed, change internal script value. | |
| virtual std::set< std::string > | actionCategories () const |
| Returns a set of all the action categories checked. | |
| virtual std::set< std::string > | doctrines () const |
| Returns a set of all the doctrines checked. | |
| virtual void | updateMetaDataForScriptedTaskType (int type) |
| Called to update meta data based on script type selected. | |
| virtual void | updateMetaDataForScriptedTask () |
| Updates meta data based on fact it is a scripted task. | |
| virtual void | updateMetaDataForReactiveTask () |
| Updates meta based on fact it is a reactive task. | |
| virtual void | updateDialogForScriptedTaskType (int type) |
| Called to update dialog based on script type selected. | |
| virtual void | updateDialogForScriptedTask () |
| Updates dialog based on fact it is a scripted task. | |
| virtual void | updateDialogForReactiveTask () |
| Updates dialog on fact it is a reactive task. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| DtScriptedTaskMetaData | myMetaData |
| std::string | mySourceId |
| std::string | myScriptId |
| std::string | myDirectoryPath |
| bool | myAdd |
| std::string | myTempScriptId |
| ActionCategories | myActionCategories |
| ActionCategories | myDoctrines |
Dialog that shows currently available scenario scripts and allows the editing of the meta data for that script.
|
protected |
| makVrf::DtScriptedTaskMetaDataDialog::DtScriptedTaskMetaDataDialog | ( | makVrv::DtDe & | , |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
|
virtual |
Shows all items, but, read only.
|
virtual |
After script is being done edited will send off the id of the script this is being duplicated from so script code can be copied.
|
virtual |
Will add a new item if accepted to the given path.
|
virtual |
Sets the directory path to add the new item to.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Disables the dialog.
|
protectedvirtual |
Called when about to show priorities of reactive tasks.
|
protectedvirtual |
Enables the dialog.
|
protectedvirtual |
Called when editing is complete, re-enable edit button if is editing for this script id.
|
protectedvirtual |
Called when script has been changed, change internal script value.
|
protectedvirtual |
Returns a set of all the action categories checked.
|
protectedvirtual |
Returns a set of all the doctrines checked.
|
protectedvirtual |
Called to update meta data based on script type selected.
|
protectedvirtual |
Updates meta data based on fact it is a scripted task.
|
protectedvirtual |
Updates meta based on fact it is a reactive task.
|
protectedvirtual |
Called to update dialog based on script type selected.
|
protectedvirtual |
Updates dialog based on fact it is a scripted task.
|
protectedvirtual |
Updates dialog on fact it is a reactive task.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Called when script type changes. Calls routine to modify dialog.
|
protectedvirtualslot |
Called when the selected language is changed, update UI to reflect differences between language selection.
|
protectedvirtualslot |
Edits the code of the script.
|
protectedvirtualslot |
Previews the dialog as it will look when invoked as a task.
|
protectedvirtualslot |
Called when menu text changes.
In Add mode will enable/disable update button if this text is non-blank
| boost::signal<void (const std::string&)> makVrf::DtScriptedTaskMetaDataDialog::signal_adding |
Signal sent when a new item is going to be added.
| Ui_DtScriptedTaskMetaDataDialogUi makVrf::DtScriptedTaskMetaDataDialog::myUiImpl |
| DtScriptedTaskVariableDataWidget* makVrf::DtScriptedTaskMetaDataDialog::myVariables |
| DtScriptedTaskReactiveTaskDataWidget* makVrf::DtScriptedTaskMetaDataDialog::myReactiveTaskData |
| DtScriptedTaskEntityTypeDataWidget* makVrf::DtScriptedTaskMetaDataDialog::myEntityTypes |
| DtScriptedTaskMenuLocationsDataWidget* makVrf::DtScriptedTaskMetaDataDialog::myMenuLocations |
| QLabel* makVrf::DtScriptedTaskMetaDataDialog::myMustHaveCodeLabel |
| QPlainTextEdit* makVrf::DtScriptedTaskMetaDataDialog::myDescription |
| QListWidget* makVrf::DtScriptedTaskMetaDataDialog::myActionCategoriesList |
| QListWidget* makVrf::DtScriptedTaskMetaDataDialog::myDoctrinesList |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |