![]() |
VR-Forces 4.6 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. | |
| boost::signal< void()> | signal_receivedUiLayout |
| Ui_DtScriptedTaskMetaDataDialogUi | myUiImpl |
| DtScriptedTaskVariableDataWidget * | myVariables |
| DtScriptedTaskReactiveTaskDataWidget * | myReactiveTaskData |
| DtScriptedTaskEntityTypeDataWidget * | myEntityTypes |
| DtScriptedTaskMenuLocationsDataWidget * | myMenuLocations |
| DtScriptedTaskToolbarLocationsDataWidget * | myToolbarLocation |
| 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. | |
| virtual void | onDescriptionChanged () |
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 | updateMetaDataForScriptedSet () |
| Updates meta data based on fact it is a scripted set. | |
| 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. | |
| virtual void | updateDialogForBackgroundProcess () |
| Updates dialog for background process type. | |
| virtual void | updateDialogForSets () |
| Updates dialog for sets type. | |
| virtual void | receivedScript (DtSimMessage *) |
| Received when script is received. | |
| virtual void | receivedUiLayout (DtSimMessage *) |
| Received when ui layout request is received. | |
| virtual void | requestUiLayout () |
| Request the UI layout of the current script id. | |
| virtual void | previewUiLayout () |
| virtual void | slot_variablesUpdatedFromDesigner () |
| Called when a designer update is made. | |
| virtual bool | applyChanges () |
| Applies changes locally and to network without accepting. | |
| virtual void | keyPressEvent (QKeyEvent *) |
| Ignore return/enter to prevent accept. | |
| virtual QString | getNewScriptId (const QString &curId, bool &addAsAlias) |
| Puts up a dialog to get a new script id and whether or not to add it as an alias. | |
| virtual void | setupScriptId (const DtScriptedTaskMetaData &) |
| Sets up the script id and tool tip. | |
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 |
| std::map< int, DtScriptedTaskMetaData > | myWaitingToAdd |
| int | myUiLayoutRequestId |
| bool | myInPreviewMode |
| bool | myIgnoreAccept |
| std::set< std::string > | myPreviouslyChangedScriptIds |
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 data based on fact it is a scripted set.
|
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.
|
protectedvirtual |
Updates dialog for background process type.
|
protectedvirtual |
Updates dialog for sets type.
|
protectedvirtual |
Received when script is received.
|
protectedvirtual |
Received when ui layout request is received.
|
protectedvirtual |
Request the UI layout of the current script id.
|
protectedvirtual |
|
protectedvirtual |
Called when a designer update is made.
This will force an update (if not adding) of the scripted task data as the variables have been changed. Do not want to force the user to remember the fact that they need to update the script if this happens.
|
protectedvirtual |
Applies changes locally and to network without accepting.
|
protectedvirtual |
Ignore return/enter to prevent accept.
|
protectedvirtual |
Puts up a dialog to get a new script id and whether or not to add it as an alias.
|
protectedvirtual |
Sets up the script id and tool tip.
|
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
|
protectedvirtualslot |
| boost::signal<void (const std::string&)> makVrf::DtScriptedTaskMetaDataDialog::signal_adding |
Signal sent when a new item is going to be added.
| boost::signal<void ()> makVrf::DtScriptedTaskMetaDataDialog::signal_receivedUiLayout |
| Ui_DtScriptedTaskMetaDataDialogUi makVrf::DtScriptedTaskMetaDataDialog::myUiImpl |
| DtScriptedTaskVariableDataWidget* makVrf::DtScriptedTaskMetaDataDialog::myVariables |
| DtScriptedTaskReactiveTaskDataWidget* makVrf::DtScriptedTaskMetaDataDialog::myReactiveTaskData |
| DtScriptedTaskEntityTypeDataWidget* makVrf::DtScriptedTaskMetaDataDialog::myEntityTypes |
| DtScriptedTaskMenuLocationsDataWidget* makVrf::DtScriptedTaskMetaDataDialog::myMenuLocations |
| DtScriptedTaskToolbarLocationsDataWidget* makVrf::DtScriptedTaskMetaDataDialog::myToolbarLocation |
| 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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |