![]() |
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 | |
| DtScriptedTasksMetaDataDialog (makVrv::DtDe &, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtScriptedTasksMetaDataDialog () |
| virtual void | onAddNewScript (int) |
| Display dialog to add new script of a give type. | |
Protected Types | |
| typedef std::map< int, std::string > | PendingDuplications |
Protected Slots | |
| virtual void | systemAvailabilityChanged (QTreeWidgetItem *, int) |
| virtual void | onMetaDataSelected () |
| virtual void | onEditSelectedMetaData () |
| virtual void | onViewSelectedMetaData () |
| virtual void | onAddMetaData () |
| virtual void | onDuplicateMetaData () |
| virtual void | onDeleteMetaData () |
| virtual void | onEditScript () |
| virtual void | onEditExternalScript () |
| virtual void | onShowVrfLuaDocHelp () |
| virtual void | onShowLuaDocHelp () |
| virtual void | onViewScriptError () |
| virtual void | onImportScripts () |
| virtual void | onExportScripts () |
| virtual void | onMakeSystemScript () |
| virtual void | onAddFolder () |
| virtual void | onRenameFolder () |
| virtual void | onDeleteFolder () |
| virtual void | onRightClickOnItem (QTreeWidgetItem *, QMouseEvent *e, int col) |
| virtual void | filterItems () |
| Executes all filters, in order: script type, entity type, search. | |
| virtual void | resetFilters () |
| Resets all filters and shows all items. | |
| virtual void | selectAllToImport () |
| Selects all items in the import list. | |
| virtual void | clearAllToImport () |
| Clears all items in the import list. | |
| virtual void | onRemoveFromFolder () |
| Move the selected item from the folder to top level. | |
| virtual void | onMetaDataDialogClosed (QObject *dlg) |
| Check to see if the closed dialog is on the myOpenMetaDataDialogs list, and if so remove it. | |
Protected Member Functions | |
| virtual void | slot_aboutToClearScriptedTasks () |
| virtual void | slot_scriptedTaskAboutToBeRemoved (std::string scriptId) |
| virtual void | slot_scriptedTaskAdded (std::string scriptId, bool updateEntityTypeCombo=true) |
| virtual void | slot_receivedScriptedTasks () |
| virtual void | updateActions () |
| virtual DtScriptedTaskMetaDataDialog * | createScriptedTaskMetaDataDialog () |
| virtual void | selectToImport (const std::vector< DtScriptedTaskMetaData > &) |
| Given the map of items (id key, scripted data), allow user to select which items to import into this scenario. | |
| virtual void | slot_adding (const std::string &id) |
| Called when a script is going to be added, stash the id off so, when it shows up, it can be selected. | |
| virtual void | slot_scriptErrorChange (std::string scriptId, bool hasError, std::string error) |
| Called when a script has an error, sets the script text to red if there is an error or black to not. | |
| virtual void | showAllItems () |
| Shows all items in view. | |
| virtual void | updateEntityTypeCombo () |
| Updates the entity type combo box. | |
| virtual void | slot_scriptModified (std::string &scriptId, bool modified) |
| Called when a script is modified (or cleared of modified status) | |
| virtual void | slot_scriptModifiedCleared () |
| Called when the status of all scripts change to unmodified. | |
| virtual void | slot_scriptIdChanged (const std::string &oldId, const std::string &newId) |
| virtual void | onDeleteItem () |
| Called when delete key is pressed. Delete script or folder, depending on which is selected. | |
| virtual void | receivedScriptsToExport (DtSimMessage *msg, int requestId, QString filenameToExportTo) |
| virtual void | receivedFrameRates (DtSimMessage *msg) |
| Called when frame rates are received, if monitoring set into dialog. | |
| virtual bool | continueWithSystemScriptEdit () |
| Put up a dialog to warn user about system script editing and allow them to never see the dialog again. | |
| virtual void | closeEvent (QCloseEvent *) |
| Turn off monitoring of frame rates if on. | |
| virtual void | showEvent (QShowEvent *) |
| Turn on monitoring of frame rates if on. | |
| virtual void | slot_scriptedTaskSettingsChanged () |
| Called when scripted task settings change, either request to start monitoring or stop monitoring frame rates. | |
| virtual void | receivedScriptForMetaDataDuplication (DtSimMessage *) |
| Received when script is received for meta data duplication. | |
| virtual void | slot_scriptedTaskTypeAdded (int) |
| Called when a new scripted task type is added. | |
| virtual void | slot_scriptedTaskTypeRemoved (int) |
| Called when a scripted task type is removed. | |
| virtual void | filterByScriptEngine () |
| virtual void | filterByScriptType () |
| virtual bool | filterByScriptType (QTreeWidgetItem *) |
| virtual void | filterByScriptAccess () |
| virtual bool | filterByScriptAccess (QTreeWidgetItem *) |
| virtual void | filterByEntityType () |
| virtual bool | filterByEntityType (QTreeWidgetItem *) |
| virtual void | filterBySearchString () |
| virtual bool | filterBySearchString (QTreeWidgetItem *) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| std::string | myAddingScript |
| QListWidget * | myImportList |
| bool | myMonitoringFrameRates |
| PendingDuplications | myPendingDuplications |
| std::map< std::string, DtScriptedTaskMetaDataDialog * > | myOpenMetaDataDialogs |
| List of edit dialogs that have been opened, indexed by the script ID at the time of opening the window. | |
Dialog that shows currently available scenario scripts and allows the editing of the meta data for that script.
|
protected |
| makVrf::DtScriptedTasksMetaDataDialog::DtScriptedTasksMetaDataDialog | ( | makVrv::DtDe & | , |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
Display dialog to add new script of a give type.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Given the map of items (id key, scripted data), allow user to select which items to import into this scenario.
|
protectedvirtual |
Called when a script is going to be added, stash the id off so, when it shows up, it can be selected.
|
protectedvirtual |
Called when a script has an error, sets the script text to red if there is an error or black to not.
|
protectedvirtual |
Shows all items in view.
|
protectedvirtual |
Filters by script engine. At this point showing Lua or Lua and C++
|
protectedvirtual |
Filters by script type starting at the given root. Returns true if all children of the give item are hidden
|
protectedvirtual |
|
protectedvirtual |
Filters by script access (system or scenario) starting at the given root. Returns true if all children of the give item are hidden
|
protectedvirtual |
|
protectedvirtual |
Filters by entity type filter starting at the given root. Returns true if all children of the give item are hidden
|
protectedvirtual |
|
protectedvirtual |
Filters items out that do not begin with the search text in any column (menu name, script id or description)
|
protectedvirtual |
|
protectedvirtual |
Updates the entity type combo box.
If the current item that is selected is no longer available then resets to "all"
|
protectedvirtual |
Called when a script is modified (or cleared of modified status)
|
protectedvirtual |
Called when the status of all scripts change to unmodified.
|
protectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Executes all filters, in order: script type, entity type, search.
|
protectedvirtualslot |
Resets all filters and shows all items.
|
protectedvirtualslot |
Selects all items in the import list.
|
protectedvirtualslot |
Clears all items in the import list.
|
protectedvirtualslot |
Move the selected item from the folder to top level.
|
protectedvirtualslot |
Check to see if the closed dialog is on the myOpenMetaDataDialogs list, and if so remove it.
|
protectedvirtual |
Called when delete key is pressed. Delete script or folder, depending on which is selected.
|
protectedvirtual |
|
protectedvirtual |
Called when frame rates are received, if monitoring set into dialog.
|
protectedvirtual |
Put up a dialog to warn user about system script editing and allow them to never see the dialog again.
Return true to continue with system script editing
|
protectedvirtual |
Turn off monitoring of frame rates if on.
|
protectedvirtual |
Turn on monitoring of frame rates if on.
|
protectedvirtual |
Called when scripted task settings change, either request to start monitoring or stop monitoring frame rates.
|
protectedvirtual |
Received when script is received for meta data duplication.
|
protectedvirtual |
Called when a new scripted task type is added.
|
protectedvirtual |
Called when a scripted task type is removed.
| DtScriptedTaskTreeWidget* makVrf::DtScriptedTasksMetaDataDialog::myScripts |
| QPushButton* makVrf::DtScriptedTasksMetaDataDialog::myCloseButton |
| QPushButton* makVrf::DtScriptedTasksMetaDataDialog::myNewScript |
| QPushButton* makVrf::DtScriptedTasksMetaDataDialog::myImportScripts |
| QPushButton* makVrf::DtScriptedTasksMetaDataDialog::myResetButton |
| QLabel* makVrf::DtScriptedTasksMetaDataDialog::myScriptTypeFilterLabel |
| QComboBox* makVrf::DtScriptedTasksMetaDataDialog::myScriptTypeFilterCombo |
| QLabel* makVrf::DtScriptedTasksMetaDataDialog::myScriptAccessFilterLabel |
| QComboBox* makVrf::DtScriptedTasksMetaDataDialog::myScriptAccessFilterCombo |
| QLabel* makVrf::DtScriptedTasksMetaDataDialog::myEntityTypeFilterLabel |
| QComboBox* makVrf::DtScriptedTasksMetaDataDialog::myEntityTypeComboBox |
| QLabel* makVrf::DtScriptedTasksMetaDataDialog::mySearchLabel |
| QLineEdit* makVrf::DtScriptedTasksMetaDataDialog::mySearchBar |
| QCheckBox* makVrf::DtScriptedTasksMetaDataDialog::myShowCPPScriptedTasks |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myAddScriptAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myEditAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myEditScriptAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myEditExternalScriptAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myViewScriptErrorAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myDeleteAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myImportAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myExportAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myDuplicateAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myMakeSystemScript |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myAddFolderAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myDeleteFolderAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myRenameFolderAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myRemoveFromFolderAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myVrfLuaDocHelpAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myLuaDocHelpAction |
| QAction* makVrf::DtScriptedTasksMetaDataDialog::myRightClickSeparator |
| QMenu* makVrf::DtScriptedTasksMetaDataDialog::myScriptMenu |
| QMenu* makVrf::DtScriptedTasksMetaDataDialog::myFolderMenu |
| QMenu* makVrf::DtScriptedTasksMetaDataDialog::myHelpMenu |
| QMenu* makVrf::DtScriptedTasksMetaDataDialog::myRightClickMenu |
| QMenuBar* makVrf::DtScriptedTasksMetaDataDialog::myMenuBar |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
List of edit dialogs that have been opened, indexed by the script ID at the time of opening the window.
This allows us to bring an existing one to the foreground instead of opening a second dialog, when appropriate.