This dialog will allow for the modification of current reactive tasks, their enabled state, priority and parameters.
More...
Public Member Functions |
| | DtSetReactiveTaskStatusDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) |
| virtual | ~DtSetReactiveTaskStatusDialog () |
| | DtBaseTaskSetDialogInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) |
| virtual | ~DtBaseTaskSetDialogInterface () |
| virtual void | run (const std::vector< makVrv::DtSimEntry * > &) |
| | Calls setupGui and shows the dialog.
|
| virtual void | setOKEnabled (bool) |
| | Enables/disables OK button.
|
| virtual void | setCancelEnabled (bool) |
| | Sets whether or not the Cancel button is enabled.
|
| virtual bool | valid () const |
| | Override to return whether or not extension is valid.
|
| int | accepted () const |
| | 0 - Closed without pressing cancel or ok 1 - Closed by ok 2 - Closed by cancel
|
| virtual void | setAutoSizeOnShow (bool) |
| | Whether or not to place in center of main window on show or just let Qt do it. Default is true.
|
| virtual bool | autoSizeOnShow () const |
| virtual void | setDescription (const QString &desc) |
| | Adds descriptive text to the top of the dialog.
|
| virtual QString | description () const |
| | Returns the current descriptive text.
|
| | DtTaskSetDialogInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) |
| virtual | ~DtTaskSetDialogInterface () |
| virtual void | connectSignals (const std::vector< makVrv::DtSimEntry * > &) |
| | Setup signals to cancel dialog if all objects deleted that this dialog is representing.
|
| virtual void | setSendToRemoteController (bool b) |
| | Set to true to send the message immediately to the remote controller given the currently selected entities when the dialog was created.
|
| virtual bool | sendToRemoteController () const |
| virtual void | selectionChanged (const DtUUID &selection) |
| | Notify dialog of selection changes from attached dialogs.
|
| virtual void | sendSetRequest (std::vector< DtUUID > names, const DtSetDataRequest &) |
| | Sends signal to send out set.
|
| virtual bool | insertMapFocusHandler (DtMapFocusHandler *, int index=-1) |
| | If a dialog has manages map focus handlers, inserts this map focus handler into the chain.
|
| virtual void | initializeFromAction (DtVrfTaskSetAction *) |
| | Intializes contents from action as an action could have relevant properties assigned to it containing additional data.
|
| DtVrfTaskSetAction * | initializedAction () const |
| | The action this dialog was initialized for.
|
| virtual void | sendTaskRequest (std::vector< DtUUID > names, const DtSimTask &) |
| | Sends signal to send out task.
|
virtual std::vector
< makVrv::DtUniqueID > | entityIds () const |
| | The ids that represent the objects that are part of this dialog.
|
| virtual std::vector< DtUUID > | names () const |
| virtual void | setPartOfPlan (int b) |
| | 0 - Not part of plan dialog 1 - Part of plan dialog 2 - Part of command widget 3 - Part of embedded entity menu
|
| int | partOfPlan () const |
| virtual void | cancel () |
| | Sends out cancel signal.
|
| virtual QWidget * | widget () |
| | Returns the widget.
|
const std::vector
< makVrv::DtSimEntry * > & | connectedTo () const |
| virtual void | noObjectsSelected () |
| | No-op at this level.
|
Public Member Functions inherited from makVrf::DtCommandDialogExtensionInterface |
| virtual | ~DtCommandDialogExtensionInterface () |
| virtual bool | initiallyBroadcast () const |
| | Whether or not to initially set to broadcast. Default is false.
|
| virtual bool | allowBroadcasting () const |
| | Whether or not to allow broadcasting. Default is true.
|
| virtual bool | hasUserEntry () const |
| | Returns true if there is user entry. Default is to assume there is.
|
| virtual QString | entitySelectionGroupBoxTitle () const |
| | If defined, title for the group box for entity selection on command widget.
|
| virtual void | onCancel ()=0 |
| virtual makVrv::DtUnicode | broadcastTitle () const |
Protected Member Functions |
| virtual QWidget * | contents (const std::vector< makVrv::DtSimEntry * > &data) |
| | Creates set dialog contents. Called from setupGui.
|
| virtual void | sendRequest () |
| | Override to send the set or task request.
|
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &d) |
| | Clears out reactive tasks and sets up gui based on data and reactive tasks for that data.
|
| virtual void | setupGui (const std::vector< makVrv::DtSimEntry * > &data) |
| | Figure out common reactive task script ids by entity type(s) and create the gui based on those.
|
| virtual void | setupStatement (const DtSimStatement *) |
| | Sets up the reactive task dialog with current set information.
|
| virtual void | createReactiveTaskLine (const DtSimTaskMessageType &reactiveTask, const std::vector< makVrv::DtSimEntry * > &) |
| | Creates a line of a reactive task statement.
|
| virtual bool | hasActiveVariables (const std::vector< DtScriptedTaskVariable > &) const |
| | Returns true if there are variables that the user can enter a value for.
|
| virtual void | convertReactiveTaskToSet (const DtSimTaskMessageType &scriptId, const ReactiveTask &, DtSetReactiveTaskTable &) const |
| | Coverts a reactive task line to a set data reqeust for the reactive task table set.
|
| virtual void | acceptParameterValues () |
| | Accepts parameters dialog and sets into variables.
|
| virtual void | stopParameterValues () |
| | Brings down parameters dialog and reenables this dialog.
|
| virtual void | setupTaskLineFromSetRequest (const DtSetDataRequest *sr) |
| | Sets up a parameter line from the given set request.
|
| virtual void | allTasksReceived () |
| | Called when all requested tasks are received.
|
| virtual void | positionReactiveTask (ReactiveTask &, int position) |
| | Positions the reactive task in the grid layout, moving other items as needed.
|
| virtual void | updateButtons (ReactiveTask &) |
virtual std::vector
< QLayoutItem * > | removeRow (int, int) |
| virtual void | insertRow (int) |
| virtual int | currentRow (const ReactiveTask &) const |
| virtual void | setupReactiveTask (const DtSimTaskMessageType &) |
| virtual void | finishSizing () |
| virtual void | postGuiSetup (const std::vector< makVrv::DtSimEntry * > &data) |
| | Called after setupGui to set up other items in the gui (fill combo boxes, initial text edit, etc)
|
| virtual void | initializeItems (const std::vector< makVrv::DtSimEntry * > &data) |
| | Override for dialogs that need item initialization.
|
| virtual void | closeEvent (QCloseEvent *) |
| | Figure out if a cancelled signal needs to be sent.
|
| virtual void | hideButtons (bool) |
| | No buttons to hide.
|
| virtual bool | editStatement (const std::vector< makVrv::DtSimEntry * > &, const DtSimStatement *) |
| | Edits the current statement. Return true if the statement can be edited.
|
| virtual bool | wantsSelectionOfObjectInCommandMode () const |
| | Override to return false if, when this task is used as part of a simulation command, it does not want to allow to choose an object to apply the command to.
|
| virtual void | sendSetRequest (const DtSetDataRequest &) |
| virtual void | sendTaskRequest (const DtSimTask &) |
| virtual void | sendCommandRequest (const DtSimCommandObjectWrapper &) |
| | Sends signal to send out command.
|
| virtual QSize | canvasSize () |
| virtual void | onOK () |
| virtual void | slot_objectAboutToBeRemoved (makVrv::DtSimObjectEntry &) |
| virtual std::vector< std::string > | commandDialogFiltersFor (const std::vector< makVrv::DtSimEntry * > &data, const DtSimStatement *stmt, int &initialSelection) const |
| | If part of a command dialog the filters to use for the command dialog selection.
|
This dialog will allow for the modification of current reactive tasks, their enabled state, priority and parameters.
In the case of multiply selected entities only common reactive tasks will be shown. If there are no common tasks, then a label will be displayed stating as such