VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtSetTankerLightingDialog Class Reference
Inheritance diagram for makVrf::DtSetTankerLightingDialog:
Inheritance graph
[legend]

Public Member Functions

 DtSetTankerLightingDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
 
virtual ~DtSetTankerLightingDialog ()
 
virtual bool refuelingStation1LightsOn () const
 Whether the refueling station 1 lights are on. More...
 
virtual void setRefuelingStation1LightsOn (bool refuelingStation1LightsOn)
 
virtual uint8_t refuelingStation1LightsColor () const
 Refueling station 1 lights color. More...
 
virtual void setRefuelingStation1LightsColor (uint8_t refuelingStation1LightsColor)
 
virtual bool refuelingStation1LightsFlashing () const
 Whether the refueling station 1 lights are flashing. More...
 
virtual void setRefuelingStation1LightsFlashing (bool refuelingStation1LightsFlashing)
 
virtual uint8_t refuelingStation1DayNight () const
 Refueling station 1 lights day/night state. More...
 
virtual void setRefuelingStation1DayNight (uint8_t refuelingStation1DayNight)
 
virtual bool refuelingStation2LightsOn () const
 Whether the refueling station 2 lights are on. More...
 
virtual void setRefuelingStation2LightsOn (bool refuelingStation2LightsOn)
 
virtual uint8_t refuelingStation2LightsColor () const
 Refueling station 2 lights color. More...
 
virtual void setRefuelingStation2LightsColor (uint8_t refuelingStation2LightsColor)
 
virtual bool refuelingStation2LightsFlashing () const
 Whether the refueling station 2 lights are flashing. More...
 
virtual void setRefuelingStation2LightsFlashing (bool refuelingStation2LightsFlashing)
 
virtual uint8_t refuelingStation2DayNight () const
 Refueling station 2 lights day/night state. More...
 
virtual void setRefuelingStation2DayNight (uint8_t refuelingStation2DayNight)
 
virtual bool refuelingStation3LightsOn () const
 Whether the refueling station 3 lights are on. More...
 
virtual void setRefuelingStation3LightsOn (bool refuelingStation3LightsOn)
 
virtual uint8_t refuelingStation3LightsColor () const
 Refueling station 3 lights color. More...
 
virtual void setRefuelingStation3LightsColor (uint8_t refuelingStation3LightsColor)
 
virtual bool refuelingStation3LightsFlashing () const
 Whether the refueling station 3 lights are flashing. More...
 
virtual void setRefuelingStation3LightsFlashing (bool refuelingStation3LightsFlashing)
 
virtual uint8_t refuelingStation3DayNight () const
 Refueling station 3 lights day/night state. More...
 
virtual void setRefuelingStation3DayNight (uint8_t refuelingStation3DayNight)
 
virtual uint8_t nvgMode () const
 NVG mode: Covert or Overt. More...
 
virtual void setNvgMode (uint8_t nvgMode)
 
- 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...
 
int accepted () const
 0 - Closed without pressing cancel or ok 1 - Closed by ok 2 - Closed by cancel 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...
 
DtVrfTaskSetActioninitializedAction () 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< DtUUIDnames () 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
 

Protected Member Functions

virtual QWidget * contents (const std::vector< makVrv::DtSimEntry * > &data)
 Creates set dialog contents. Called from setupGui. More...
 
virtual void sendRequest ()
 Override to send the set or task request. More...
 
virtual void setupGui (const std::vector< makVrv::DtSimEntry * > &data)
 If there is a single entry, find it's location and convert to local to set. More...
 
virtual void setupStatement (const DtSimStatement *)
 
- 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 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

QGridLayout * myContentLayout
 
QWidget * myCanvas
 
QLabelmyRefuelingStation1Label
 
QLabelmyRefuelingStation2Label
 
QLabelmyRefuelingStation3Label
 
QLabelmyRefuelingStation1LightsOnLabel
 
QComboBoxmyRefuelingStation1LightsOn
 
QLabelmyRefuelingStation1LightsColorLabel
 
QComboBoxmyRefuelingStation1LightsColor
 
QLabelmyRefuelingStation1LightsFlashingLabel
 
QComboBoxmyRefuelingStation1LightsFlashing
 
QLabelmyRefuelingStation1DayNightLabel
 
QComboBoxmyRefuelingStation1DayNight
 
QLabelmyRefuelingStation2LightsOnLabel
 
QComboBoxmyRefuelingStation2LightsOn
 
QLabelmyRefuelingStation2LightsColorLabel
 
QComboBoxmyRefuelingStation2LightsColor
 
QLabelmyRefuelingStation2LightsFlashingLabel
 
QComboBoxmyRefuelingStation2LightsFlashing
 
QLabelmyRefuelingStation2DayNightLabel
 
QComboBoxmyRefuelingStation2DayNight
 
QLabelmyRefuelingStation3LightsOnLabel
 
QComboBoxmyRefuelingStation3LightsOn
 
QLabelmyRefuelingStation3LightsColorLabel
 
QComboBoxmyRefuelingStation3LightsColor
 
QLabelmyRefuelingStation3LightsFlashingLabel
 
QComboBoxmyRefuelingStation3LightsFlashing
 
QLabelmyRefuelingStation3DayNightLabel
 
QComboBoxmyRefuelingStation3DayNight
 
QLabelmyNVGModeLabel
 
QComboBoxmyNVGMode
 
- Protected Attributes inherited from makVrf::DtBaseTaskSetDialogInterface
bool myAutoSizeOnShow
 
bool myValidInitialization
 
- Protected Attributes inherited from makVrf::DtTaskSetDialogInterface
makVrv::DtDemyDe
 
int myPartOfPlan
 
std::vector< makVrv::DtSimEntry * > myConnectedTo
 
bool mySendToRemoteController
 
DtVrfTaskSetActionmyAction
 

Additional Inherited Members

- Public Attributes inherited from makVrf::DtBaseTaskSetDialogInterface
QVBoxLayout * myMasterLayout
 
QHBoxLayout * myButtonLayout
 
QPushButtonmyOKButton
 
QPushButtonmyCancelButton
 
char myAccepted
 
QLabelmyTaskSetDescription
 
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 inherited from makVrf::DtBaseTaskSetDialogInterface
virtual void onOk ()
 
virtual void onCancel ()
 
- Protected Slots inherited from makVrf::DtTaskSetDialogInterface
virtual void actionDestroyed ()
 

Constructor & Destructor Documentation

makVrf::DtSetTankerLightingDialog::DtSetTankerLightingDialog ( makVrv::DtDe de,
QWidget *  parent,
const Qt::WindowFlags &  flags = 0 
)
virtual makVrf::DtSetTankerLightingDialog::~DtSetTankerLightingDialog ( )
virtual

Member Function Documentation

virtual bool makVrf::DtSetTankerLightingDialog::refuelingStation1LightsOn ( ) const
virtual

Whether the refueling station 1 lights are on.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation1LightsOn ( bool  refuelingStation1LightsOn)
virtual
virtual uint8_t makVrf::DtSetTankerLightingDialog::refuelingStation1LightsColor ( ) const
virtual

Refueling station 1 lights color.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation1LightsColor ( uint8_t  refuelingStation1LightsColor)
virtual
virtual bool makVrf::DtSetTankerLightingDialog::refuelingStation1LightsFlashing ( ) const
virtual

Whether the refueling station 1 lights are flashing.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation1LightsFlashing ( bool  refuelingStation1LightsFlashing)
virtual
virtual uint8_t makVrf::DtSetTankerLightingDialog::refuelingStation1DayNight ( ) const
virtual

Refueling station 1 lights day/night state.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation1DayNight ( uint8_t  refuelingStation1DayNight)
virtual
virtual bool makVrf::DtSetTankerLightingDialog::refuelingStation2LightsOn ( ) const
virtual

Whether the refueling station 2 lights are on.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation2LightsOn ( bool  refuelingStation2LightsOn)
virtual
virtual uint8_t makVrf::DtSetTankerLightingDialog::refuelingStation2LightsColor ( ) const
virtual

Refueling station 2 lights color.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation2LightsColor ( uint8_t  refuelingStation2LightsColor)
virtual
virtual bool makVrf::DtSetTankerLightingDialog::refuelingStation2LightsFlashing ( ) const
virtual

Whether the refueling station 2 lights are flashing.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation2LightsFlashing ( bool  refuelingStation2LightsFlashing)
virtual
virtual uint8_t makVrf::DtSetTankerLightingDialog::refuelingStation2DayNight ( ) const
virtual

Refueling station 2 lights day/night state.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation2DayNight ( uint8_t  refuelingStation2DayNight)
virtual
virtual bool makVrf::DtSetTankerLightingDialog::refuelingStation3LightsOn ( ) const
virtual

Whether the refueling station 3 lights are on.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation3LightsOn ( bool  refuelingStation3LightsOn)
virtual
virtual uint8_t makVrf::DtSetTankerLightingDialog::refuelingStation3LightsColor ( ) const
virtual

Refueling station 3 lights color.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation3LightsColor ( uint8_t  refuelingStation3LightsColor)
virtual
virtual bool makVrf::DtSetTankerLightingDialog::refuelingStation3LightsFlashing ( ) const
virtual

Whether the refueling station 3 lights are flashing.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation3LightsFlashing ( bool  refuelingStation3LightsFlashing)
virtual
virtual uint8_t makVrf::DtSetTankerLightingDialog::refuelingStation3DayNight ( ) const
virtual

Refueling station 3 lights day/night state.

virtual void makVrf::DtSetTankerLightingDialog::setRefuelingStation3DayNight ( uint8_t  refuelingStation3DayNight)
virtual
virtual uint8_t makVrf::DtSetTankerLightingDialog::nvgMode ( ) const
virtual

NVG mode: Covert or Overt.

virtual void makVrf::DtSetTankerLightingDialog::setNvgMode ( uint8_t  nvgMode)
virtual
virtual QWidget* makVrf::DtSetTankerLightingDialog::contents ( const std::vector< makVrv::DtSimEntry * > &  data)
protectedvirtual

Creates set dialog contents. Called from setupGui.

Implements makVrf::DtBaseTaskSetDialogInterface.

virtual void makVrf::DtSetTankerLightingDialog::sendRequest ( )
protectedvirtual

Override to send the set or task request.

Implements makVrf::DtBaseTaskSetDialogInterface.

virtual void makVrf::DtSetTankerLightingDialog::setupGui ( const std::vector< makVrv::DtSimEntry * > &  data)
protectedvirtual

If there is a single entry, find it's location and convert to local to set.

Reimplemented from makVrf::DtBaseTaskSetDialogInterface.

virtual void makVrf::DtSetTankerLightingDialog::setupStatement ( const DtSimStatement )
protectedvirtual

Member Data Documentation

QGridLayout* makVrf::DtSetTankerLightingDialog::myContentLayout
protected
QWidget* makVrf::DtSetTankerLightingDialog::myCanvas
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation1Label
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation2Label
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation3Label
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation1LightsOnLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation1LightsOn
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation1LightsColorLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation1LightsColor
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation1LightsFlashingLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation1LightsFlashing
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation1DayNightLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation1DayNight
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation2LightsOnLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation2LightsOn
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation2LightsColorLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation2LightsColor
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation2LightsFlashingLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation2LightsFlashing
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation2DayNightLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation2DayNight
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation3LightsOnLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation3LightsOn
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation3LightsColorLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation3LightsColor
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation3LightsFlashingLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation3LightsFlashing
protected
QLabel* makVrf::DtSetTankerLightingDialog::myRefuelingStation3DayNightLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myRefuelingStation3DayNight
protected
QLabel* makVrf::DtSetTankerLightingDialog::myNVGModeLabel
protected
QComboBox* makVrf::DtSetTankerLightingDialog::myNVGMode
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)