![]() |
VR-Forces 5.0.2 Developer's Guide
|
Dialog that shows currently available scenario scripts and allows the editing of the meta data for that script.

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 &) |
| virtual void | duplicate (const DtScriptedTaskMetaData &, const std::string &sourceId) |
| virtual void | add (const std::string &directoryPath, int type) |
| virtual void | setDirectoryPath (const std::string &) |
Public Attributes | |
| boost::signals2::signal< void(const std::string &)> | signal_adding |
| 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 () |
| virtual void | onLanguageChanged () |
| virtual void | onEditScript () |
| virtual void | onPreviewDialog () |
| virtual void | menuTextChanged () |
| virtual void | onDescriptionChanged () |
Protected Member Functions | |
| virtual void | slot_aboutToClearScriptedTasks () |
| virtual void | slot_scriptedTaskAboutToBeRemoved (std::string scriptId) |
| virtual void | accept () |
| virtual void | slot_processing () |
| virtual void | slot_processingReactiveTaskData () |
| virtual void | slot_doneProcessing () |
| virtual void | slot_editingComplete (const std::string &id) |
| virtual void | slot_scriptModified (const std::string &scriptId, const std::string &script) |
| virtual std::set< std::string > | actionCategories () const |
| virtual std::set< std::string > | doctrines () const |
| virtual void | updateMetaDataForScriptedTaskType (int type) |
| virtual void | updateMetaDataForScriptedTask () |
| virtual void | updateMetaDataForScriptedSet () |
| virtual void | updateMetaDataForReactiveTask () |
| virtual void | updateDialogForScriptedTaskType (int type) |
| virtual void | updateDialogForScriptedTask () |
| virtual void | updateDialogForReactiveTask () |
| virtual void | updateDialogForBackgroundProcess () |
| virtual void | updateDialogForSets () |
| virtual void | receivedScript (DtSimMessage *) |
| virtual void | previewUiLayout () |
| virtual void | slot_variablesUpdatedFromDesigner () |
| virtual bool | applyChanges () |
| virtual void | keyPressEvent (QKeyEvent *) |
| virtual QString | getNewScriptId (const QString &curId, bool &addAsAlias) |
| virtual void | setupScriptId (const DtScriptedTaskMetaData &) |
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 |
| bool | myInPreviewMode |
| bool | myIgnoreAccept |
| std::set< std::string > | myPreviouslyChangedScriptIds |
| boost::signals2::connection | myUiLayoutConnection |
|
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 |
|
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::signals2::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 |
| 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 |