![]() |
VR-Forces 4.5 Class Documentation
|

Public Member Functions | |
| DtSetEmbarkedDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtSetEmbarkedDialog () |
| virtual DtVector | overridePosition () const |
| Returns location as body offset (y, x, -z) | |
| virtual void | setOverridePosition (const DtVector &) |
| Sets the override position. Expects body coordinates. | |
| virtual bool | loadOverride () const |
| virtual void | setLoadOverride (bool) |
| virtual void | run (const std::vector< DtUUID > &children, makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *parentState) |
| Special run mode that will hide the filtered list and add a label which shows who the supplied children will be embarking on. | |
| virtual void | setSlotsAvailable (bool) |
| Whether or not any slots are available. If not then the override will be selected and the slot widget disabled. | |
| virtual void | embarkChildrenOn (const std::vector< DtUUID > &children, const DtUUID &parent, bool override, const DtVector &overridePosition, int embarkInSlot=-1, bool chooseAnyIfNotAvailable=true) |
| virtual void | setOverrideOnly (bool b) |
Public Member Functions inherited from makVrf::DtBaseFilteredListViewTaskSetDialog | |
| DtBaseFilteredListViewTaskSetDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtBaseFilteredListViewTaskSetDialog () |
| virtual void | addFilter (const DtVrfSelectionFilter *) |
| Adds a new filter into the interface by calling down to the filtered list view. | |
| virtual DtUUID | selectedName () const |
| Returns the name selected in the filtered list. | |
| virtual void | setSelectedName (const DtUUID &) |
| virtual void | setSelectedNames (const QStringList &) |
| Only valid for multi-select mode. | |
| virtual void | setSelectedNames (const std::vector< DtUUID > &) |
| virtual std::vector < DtVrfObjectListViewItem::DtVrfObjectState > | selectedObjects () const |
| virtual void | setFilterViewEnabled (bool) |
| DtVrfFilteredListView * | filteredListView () |
| virtual void | selectObject (const DtVrfObjectListViewItem::DtVrfObjectState &obj) |
| virtual void | clearSelection () |
| virtual bool | canSelect (const DtVrfObjectListViewItem::DtVrfObjectState &obj) |
| virtual bool | insertMapFocusHandler (DtMapFocusHandler *, int index=-1) |
| If a dialog has manages map focus handlers, inserts this map focus handler into the chain. | |
Public Member Functions inherited from makVrf::DtBaseTaskSetDialogInterface | |
| 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. | |
| int | accepted () const |
| 0 - Closed without pressing cancel or ok 1 - Closed by ok 2 - Closed by cancel | |
| virtual void | setupGui (const std::vector< makVrv::DtSimEntry * > &) |
| Sets up the ok/cancel buttons. | |
Public Member Functions inherited from makVrf::DtTaskSetDialogInterface | |
| 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 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< 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 |
Public Attributes | |
| boost::signal< void(const std::vector< DtUUID > &, const DtUUID &, bool, DtVector, int, bool)> | signal_embarkChildrenOn |
| QGroupBox * | myOffsetGroupBox |
| QVBoxLayout * | myOffsetLayout |
| DtOffsetLocationEntryWidget * | myOffsetVector |
| QGroupBox * | myEmbarkType |
| QVBoxLayout * | myEmbarkLayout |
| QRadioButton * | myReserve |
| QRadioButton * | myOverride |
| bool | myOverrideOnly |
| DtEmbarkationSlotEntryWidget * | mySlotEntryWidget |
Public Attributes inherited from makVrf::DtBaseFilteredListViewTaskSetDialog | |
| QWidget * | myMainCanvas |
| QBoxLayout * | myMainLayout |
| DtVrfFilteredListView * | myFilteredListView |
Public Attributes inherited from makVrf::DtBaseTaskSetDialogInterface | |
| QVBoxLayout * | myMasterLayout |
| QHBoxLayout * | myButtonLayout |
| QPushButton * | myOKButton |
| QPushButton * | myCancelButton |
| char | myAccepted |
Protected Slots | |
| virtual void | onEmbarkTypeChanged () |
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 | slot_onNameChanged (const DtUUID &s) |
| Received when the filter lists view name has changed. Enables OK button if name is not blanl. | |
| virtual void | setupGui (const std::vector< DtUUID > &children, makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *parentState) |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &data) |
| Sets up widget with currently selected item. Requests data. | |
| virtual void | setupStatement (const DtSimStatement *) |
| virtual void | initializeSelectionFilters () |
| Initializes filters used for selection view. | |
Protected Member Functions inherited from makVrf::DtBaseFilteredListViewTaskSetDialog | |
| virtual QBoxLayout * | createMainLayout () |
| 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 | addEntityFilters () |
| virtual void | addAggregateFilters () |
| virtual void | addPlanVariablesFilter () |
| virtual bool | valid () const |
| Override to return whether or not extension is valid. | |
| virtual void | addFiltersFromCollection (const std::string &filterCollection) |
| virtual void | addFiltersFromCollection (const std::string &filterCollection, DtVrfFilteredListView *) |
Protected Member Functions inherited from makVrf::DtBaseTaskSetDialogInterface | |
| 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 void | onOK () |
Protected Member Functions inherited from makVrf::DtTaskSetDialogInterface | |
| 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. | |
Protected Attributes | |
| std::vector< DtUUID > | myToEmbark |
| DtUUID | myEmbarkOnParent |
Protected Attributes inherited from makVrf::DtBaseFilteredListViewTaskSetDialog | |
| DtMapFocusHandlerManager | myFilteredListViewManager |
| makVrv::DtSignalConnectionManager | myConnections |
| makVrf::DtSetEmbarkedDialog::DtSetEmbarkedDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
Returns location as body offset (y, x, -z)
|
virtual |
Sets the override position. Expects body coordinates.
|
virtual |
|
virtual |
|
virtual |
Special run mode that will hide the filtered list and add a label which shows who the supplied children will be embarking on.
|
virtual |
Whether or not any slots are available. If not then the override will be selected and the slot widget disabled.
|
virtual |
|
virtual |
|
protectedvirtualslot |
|
protectedvirtual |
Creates set dialog contents. Called from setupGui.
Reimplemented from makVrf::DtBaseFilteredListViewTaskSetDialog.
|
protectedvirtual |
Override to send the set or task request.
Implements makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Received when the filter lists view name has changed. Enables OK button if name is not blanl.
Reimplemented from makVrf::DtBaseFilteredListViewTaskSetDialog.
|
protectedvirtual |
|
protectedvirtual |
Sets up widget with currently selected item. Requests data.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Initializes filters used for selection view.
Implements makVrf::DtBaseFilteredListViewTaskSetDialog.
| boost::signal<void (const std::vector<DtUUID>&, const DtUUID&, bool, DtVector, int, bool)> makVrf::DtSetEmbarkedDialog::signal_embarkChildrenOn |
|
protected |
|
protected |
| QGroupBox* makVrf::DtSetEmbarkedDialog::myOffsetGroupBox |
| QVBoxLayout* makVrf::DtSetEmbarkedDialog::myOffsetLayout |
| DtOffsetLocationEntryWidget* makVrf::DtSetEmbarkedDialog::myOffsetVector |
| QGroupBox* makVrf::DtSetEmbarkedDialog::myEmbarkType |
| QVBoxLayout* makVrf::DtSetEmbarkedDialog::myEmbarkLayout |
| QRadioButton* makVrf::DtSetEmbarkedDialog::myReserve |
| QRadioButton* makVrf::DtSetEmbarkedDialog::myOverride |
| bool makVrf::DtSetEmbarkedDialog::myOverrideOnly |
| DtEmbarkationSlotEntryWidget* makVrf::DtSetEmbarkedDialog::mySlotEntryWidget |