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

Public Types | |
| typedef std::set < LightNameToDisplayName > | LightNameToDisplayNames |
| typedef std::map< std::string, std::pair< int, LightNameToDisplayNames > > | RootItemsNamesToDatas |
Public Member Functions | |
| DtSetAerodromeLightsDialogInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtSetAerodromeLightsDialogInterface () |
| virtual std::string | lightGroup () const |
| get/set the selected light group name More... | |
| virtual void | setLightsKindAndLightGroup (int runwayKind, const std::string &group) |
| virtual int | lightsKind () const |
| get the specific runway light kind (ie froward/reverse/common) (the set in done in the setRunwayKindAndLightGroup method above, makes the code easier... More... | |
| virtual double | lightIntensity () const |
| get/set the selected light intensity More... | |
| virtual void | setLightIntensity (double intensity) const |
| virtual void | updateLightIntensityFromEntityState (makVrv::DtSimEntry *simEntry, const std::string &lightskind, const std::string &lightGroup) |
| when user changes the light group in the combobox, it updates the current light intensity from the state of the entity More... | |
| virtual void | lookupAndSelectItems (const std::string &group, int lightskind=DtAllLights) |
| main function that selects the item(s) in the tree More... | |
| virtual void | checkValidity () |
| virtual void | addRootItem (const std::string &title, int data, const LightNameToDisplayName &elements) |
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. More... | |
| virtual void | setOKEnabled (bool) |
| Enables/disables OK button. More... | |
| virtual void | setCancelEnabled (bool) |
| Sets whether or not the Cancel button is enabled. More... | |
| virtual bool | valid () const |
| Override to return whether or not extension is valid. More... | |
| virtual void | sendRequest ()=0 |
| Override to send the set or task request. More... | |
| int | accepted () const |
| 0 - Closed without pressing cancel or ok 1 - Closed by ok 2 - Closed by cancel More... | |
| virtual void | setupGui (const std::vector< makVrv::DtSimEntry * > &) |
| Sets up the ok/cancel buttons. More... | |
| 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. More... | |
| virtual bool | autoSizeOnShow () const |
| virtual void | setDescription (const QString &desc) |
| Adds descriptive text to the top of the dialog. More... | |
| virtual QString | description () const |
| Returns the current descriptive text. More... | |
| virtual bool | editStatement (const std::vector< makVrv::DtSimEntry * > &, const DtSimStatement *) |
| Edits the current statement. Return true if the statement can be edited. More... | |
| virtual void | finishSizing () |
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. More... | |
| 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. More... | |
| virtual bool | sendToRemoteController () const |
| virtual void | selectionChanged (const DtUUID &selection) |
| Notify dialog of selection changes from attached dialogs. More... | |
| virtual void | sendSetRequest (std::vector< DtUUID > names, const DtSetDataRequest &) |
| Sends signal to send out set. More... | |
| virtual bool | insertMapFocusHandler (DtMapFocusHandler *, int index=-1) |
| If a dialog has manages map focus handlers, inserts this map focus handler into the chain. More... | |
| virtual void | initializeFromAction (DtVrfTaskSetAction *) |
| Intializes contents from action as an action could have relevant properties assigned to it containing additional data. More... | |
| DtVrfTaskSetAction * | initializedAction () const |
| The action this dialog was initialized for. More... | |
| virtual void | sendTaskRequest (std::vector< DtUUID > names, const DtSimTask &) |
| Sends signal to send out task. More... | |
| virtual std::vector < makVrv::DtUniqueID > | entityIds () const |
| The ids that represent the objects that are part of this dialog. More... | |
| virtual std::vector< DtUUID > | names () const |
| virtual void | setupFromExtendedData (const std::map< std::string, std::string > &) |
| 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 4 - Part of move along with actions dialog More... | |
| int | partOfPlan () const |
| virtual void | cancel () |
| Sends out cancel signal. More... | |
| virtual QWidget * | widget () |
| Returns the widget. More... | |
| const std::vector < makVrv::DtSimEntry * > & | connectedTo () const |
| virtual void | noObjectsSelected () |
| No-op at this level. More... | |
Public Member Functions inherited from makVrf::DtCommandDialogExtensionInterface | |
| virtual | ~DtCommandDialogExtensionInterface () |
| virtual bool | initiallyBroadcast () const |
| Whether or not to initially set to broadcast. Default is false. More... | |
| virtual bool | allowBroadcasting () const |
| Whether or not to allow broadcasting. Default is true. More... | |
| virtual bool | hasUserEntry () const |
| Returns true if there is user entry. Default is to assume there is. More... | |
| virtual QString | entitySelectionGroupBoxTitle () const |
| If defined, title for the group box for entity selection on command widget. More... | |
| virtual void | filterAboutToBeAdded (DtVrfSelectionFilter *) |
| virtual void | parentShown (QWidget *) |
| virtual void | onCancel ()=0 |
| virtual makVrv::DtUnicode | broadcastTitle () const |
Public Attributes | |
| QWidget * | myCanvas |
| QVBoxLayout * | myContentLayout |
| QGroupBox * | myLightsGroupBox |
| QVBoxLayout * | myLightsLayout |
| QRadioButton * | myLightsAll |
| QRadioButton * | myLightsSpecific |
| QTreeWidget * | myLightGroups |
| QHBoxLayout * | myIntensityLayout |
| QLabel * | myIntensityLabel |
| makVrv::DtSliderSpinboxWidget * | myIntensity |
Public Attributes inherited from makVrf::DtBaseTaskSetDialogInterface | |
| QVBoxLayout * | myMasterLayout |
| QHBoxLayout * | myButtonLayout |
| QPushButton * | myOKButton |
| QPushButton * | myCancelButton |
| char | myAccepted |
| QLabel * | myTaskSetDescription |
| QFrame * | myTaskSetDescriptionSeparator |
Public Attributes inherited from makVrf::DtCommandDialogExtensionInterface | |
| boost::signals2::signal< void()> | signal_cancelled |
| boost::signals2::signal< void(bool)> | signal_enableCommandModeSelection |
| Signal sent when the task becomes valid (or invalid) More... | |
| boost::signals2::signal< void(bool)> | signal_validStateChanged |
| boost::signals2::signal< void(bool)> | signal_disableCancel |
| boost::signals2::signal< void(std::vector < DtUUID > names, const DtSetDataRequest &)> | signal_sendSetRequest |
| boost::signals2::signal< void(std::vector < DtUUID > names, const DtSimTask &)> | signal_sendTaskRequest |
| boost::signals2::signal< void(const DtSimCommandObjectWrapper &)> | signal_sendCommandRequest |
| boost::signals2::signal< void(const std::vector< DtUUID > &, const DtSimTask &, DtVrfTaskSetMenu *)> | signal_commandActivated |
| boost::signals2::signal< void(const DtSimCommandObjectWrapper &)> | signal_simCommandActivated |
| boost::signals2::signal< void(const std::vector < makVrv::DtSimEntry * > &)> | signal_stopWatching |
Protected Slots | |
| virtual void | onLightGroupChanged () |
| virtual void | itemSelectionChanged () |
Protected Slots inherited from makVrf::DtBaseTaskSetDialogInterface | |
| virtual void | onOk () |
| virtual void | onCancel () |
Protected Slots inherited from makVrf::DtTaskSetDialogInterface | |
| virtual void | actionDestroyed () |
Protected Member Functions | |
| virtual QWidget * | contents (const std::vector< makVrv::DtSimEntry * > &data) |
| Creates set dialog contents. Called from setupGui. More... | |
| virtual std::string | label () const |
Protected Member Functions inherited from makVrf::DtBaseTaskSetDialogInterface | |
| 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) More... | |
| virtual void | setupStatement (const DtSimStatement *stmt) |
| virtual void | initializeItems (const std::vector< makVrv::DtSimEntry * > &data) |
| Override for dialogs that need item initialization. More... | |
| virtual void | closeEvent (QCloseEvent *) |
| Figure out if a cancelled signal needs to be sent. More... | |
| virtual void | hideButtons (bool) |
| No buttons to hide. More... | |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &s) |
| Edits the current statement. Return true if the statement can be edited. More... | |
| virtual bool | wantsSelectionOfObjectInCommandMode (const std::vector< makVrv::DtSimEntry * > &) 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. More... | |
| virtual void | sendSetRequest (const DtSetDataRequest &) |
| virtual void | sendTaskRequest (const DtSimTask &) |
| virtual void | sendCommandRequest (const DtSimCommandObjectWrapper &) |
| Sends signal to send out command. More... | |
| virtual QSize | canvasSize () |
| 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. More... | |
Protected Attributes | |
| RootItemsNamesToDatas | myRootItems |
Protected Attributes inherited from makVrf::DtBaseTaskSetDialogInterface | |
| bool | myAutoSizeOnShow |
| bool | myValidInitialization |
Protected Attributes inherited from makVrf::DtTaskSetDialogInterface | |
| makVrv::DtDe & | myDe |
| int | myPartOfPlan |
| std::vector< makVrv::DtSimEntry * > | myConnectedTo |
| bool | mySendToRemoteController |
| DtVrfTaskSetAction * | myAction |
| typedef std::set<LightNameToDisplayName> makVrf::DtSetAerodromeLightsDialogInterface::LightNameToDisplayNames |
| typedef std::map<std::string, std::pair<int, LightNameToDisplayNames> > makVrf::DtSetAerodromeLightsDialogInterface::RootItemsNamesToDatas |
| makVrf::DtSetAerodromeLightsDialogInterface::DtSetAerodromeLightsDialogInterface | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
protectedvirtual |
Creates set dialog contents. Called from setupGui.
Implements makVrf::DtBaseTaskSetDialogInterface.
Reimplemented in makVrf::DtSetAerodromeLightsDialog, and makVrf::DtSetRunwayLightsDialog.
|
protectedvirtual |
|
virtual |
get/set the selected light group name
|
virtual |
|
virtual |
get the specific runway light kind (ie froward/reverse/common) (the set in done in the setRunwayKindAndLightGroup method above, makes the code easier...
|
virtual |
get/set the selected light intensity
|
virtual |
|
virtual |
when user changes the light group in the combobox, it updates the current light intensity from the state of the entity
|
virtual |
main function that selects the item(s) in the tree
|
virtual |
|
virtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protected |
| QWidget* makVrf::DtSetAerodromeLightsDialogInterface::myCanvas |
| QVBoxLayout* makVrf::DtSetAerodromeLightsDialogInterface::myContentLayout |
| QGroupBox* makVrf::DtSetAerodromeLightsDialogInterface::myLightsGroupBox |
| QVBoxLayout* makVrf::DtSetAerodromeLightsDialogInterface::myLightsLayout |
| QRadioButton* makVrf::DtSetAerodromeLightsDialogInterface::myLightsAll |
| QRadioButton* makVrf::DtSetAerodromeLightsDialogInterface::myLightsSpecific |
| QTreeWidget* makVrf::DtSetAerodromeLightsDialogInterface::myLightGroups |
| QHBoxLayout* makVrf::DtSetAerodromeLightsDialogInterface::myIntensityLayout |
| QLabel* makVrf::DtSetAerodromeLightsDialogInterface::myIntensityLabel |
| makVrv::DtSliderSpinboxWidget* makVrf::DtSetAerodromeLightsDialogInterface::myIntensity |