Public Member Functions |
| | DtEmbeddedEntityCommandAssignmentWidget (makVrv::DtDe &de, DtCommandDialogExtensionInterface *, QWidget *parent=0, Qt::WindowFlags flags=Qt::Dialog|Qt::CustomizeWindowHint|Qt::WindowTitleHint) |
| | CTOR.
|
| virtual | ~DtEmbeddedEntityCommandAssignmentWidget () |
| | DTOR.
|
| virtual bool | insertMapFocusHandler (DtMapFocusHandler *, int index=-1) |
| | The QListWidget does not interact with the map so this implementation is blank.
|
| virtual void | setAllowBroadcast (bool) |
| | No-op – not allowed.
|
| virtual void | setupUi (const std::vector< makVrv::DtSimEntry * > &data, const DtSimStatement *stmt) |
| | Turn off broadcast.
|
Public Member Functions inherited from makVrf::DtCommandAssignmentWidget |
| | DtCommandAssignmentWidget (makVrv::DtDe &de, DtCommandDialogExtensionInterface *, QWidget *parent=0, Qt::WindowFlags flags=Qt::Dialog|Qt::CustomizeWindowHint|Qt::WindowTitleHint, int partOfPlan=false) |
| | CTOR.
|
| virtual | ~DtCommandAssignmentWidget () |
| | DTOR.
|
| virtual void | run (const std::vector< makVrv::DtSimEntry * > &) |
| | Override to run the dialog.
|
| virtual void | connectSignals (const std::vector< makVrv::DtSimEntry * > &) |
| | Call to remove dialog if an entity is destroyed that is part of the supplied list.
|
| virtual void | selectionChanged (const DtUUID &selection) |
| | Called when myEntitySelectionWidget selection has changed.
|
| void | setPartOfPlan (int b) |
| | 0 - Not part of plan dialog 1 - Part of plan dialog 2 - Part of command widget
|
| virtual void | setBroadcastTitle (const QString &) |
virtual
DtCommandDialogExtensionInterface * | extension () |
Public Member Functions inherited from makVrf::DtCommandAssignmentWidgetInterface |
| | DtCommandAssignmentWidgetInterface () |
| virtual | ~DtCommandAssignmentWidgetInterface () |
| | DTOR.
|
| void | setParentMenu (DtVrfTaskSetMenu *p) |
| void | setParentContainer (DtCommandAssignmentWidgetInterface *p) |
| DtCommandAssignmentWidgetInterface * | parentContainer () |
| void | setAllowExtensionChange (bool b) |
| bool | allowExtensionChange () const |
virtual const std::vector
< makVrv::DtSimEntry * > & | connectedTo () const =0 |
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 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.
|
| virtual void | populateEntitySelectionWidget (const std::vector< makVrv::DtSimEntry * > &) |
| virtual void | attachExtension (const std::vector< makVrv::DtSimEntry * > &data, DtCommandDialogExtensionInterface *ext, const DtSimStatement *stmt) |
Protected Member Functions inherited from makVrf::DtCommandAssignmentWidget |
| QWidget * | widget () |
| | Returns the widget.
|
| virtual bool | broadcasting () const |
| virtual void | setBroadcasting (bool) |
| virtual void | enableEntitySelectionWidget (bool) |
| virtual void | addFilter (const DtVrfSelectionFilter *filter) |
| virtual void | setSelectedName (const DtUUID &) |
| virtual DtUUID | selectedName () const |
| virtual void | selectFilter (int) |
| virtual void | selectFirstNonEmptyFilter () |
| virtual void | setOKEnabled (bool) |
| | Sets whether or not the OK button is enabled.
|
| virtual void | setCancelEnabled (bool) |
| | Sets whether or not the Cancel button is enabled.
|
| virtual bool | extensionValid () const |
| virtual void | initializeFromAction (DtVrfTaskSetAction *) |
| | Called to initialize from the given action.
|
| virtual void | commandActivated (const DtSimTask &, const std::vector< DtUUID > &, bool immediate) |
| | If immediate is true, puts command assignment widget into pick mode before finishing command activated code.
|
| virtual void | commandActivated (const DtSimCommandObjectWrapper &, bool immediate) |
| virtual void | slot_objectAboutToBeRemoved (makVrv::DtSimObjectEntry &) |
| virtual void | detachExtension () |
| virtual void | setPickMode (bool) |
| virtual bool | editStatement (const std::vector< makVrv::DtSimEntry * > &, const DtSimStatement *) |
| | Edits the current statement. Return true if the statement can be edited.
|
virtual std::vector
< DtVrfObjectListViewItem::DtVrfObjectState > | selectedObjects () const |
| virtual void | setAllowObjectSelection (bool b) |
| | If false will hide broadcast and object selection.
|
| virtual bool | canSelectObjects () const |
| 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 bool | valid () const |
| | Override to return whether or not extension is valid.
|
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &) |
| | Sets up the extension for the given entries.
|
| virtual void | unknownObjectSelected (const DtUUID &) |
| | Sets up from an empty set.
|
| virtual void | noObjectsSelected () |
| | Called when no objects are selected.
|
| virtual void | onOK () |
| virtual void | hideButtons (bool) |
| | If OK and Cancel buttons are present, hide them (or not)
|
A widget class for encapsulating radio commands for tasks or sets.