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::DtSetAdvancedLightingDialog Class Reference
Inheritance diagram for makVrf::DtSetAdvancedLightingDialog:
Inheritance graph
[legend]

Public Member Functions

 DtSetAdvancedLightingDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
 
virtual ~DtSetAdvancedLightingDialog ()
 
virtual uint8_t antiCollisionLightsState () const
 Anti collision lights state. More...
 
virtual void setAntiCollisionLightsState (uint8_t antiCollisionLightsState)
 
virtual uint8_t antiCollisionLightsDayNight () const
 Anti collision lights day/night state. More...
 
virtual void setAntiCollisionLightsDayNight (uint8_t antiCollisionLightsDayNight)
 
virtual uint8_t antiCollisionLightFlashing () const
 Anti collision lights flashing mode. More...
 
virtual void setAntiCollisionLightFlashing (uint8_t antiCollisionLightFlashing)
 
virtual bool formationLightOn () const
 Whether the formation lights are on. More...
 
virtual void setFormationLightOn (bool formationLightOn)
 
virtual uint8_t formationLightsLuminance () const
 Formation lights luminace state (between 0 to 100) More...
 
virtual void setFormationLightsLuminance (uint8_t formationLightsLuminance)
 
virtual bool landingLightsOn () const
 Whether the landing lights are on. More...
 
virtual void setLandingLightsOn (bool landingLightsOn)
 
virtual uint8_t navigationLightsState () const
 Navigation lights state. More...
 
virtual void setNavigationLightsState (uint8_t navigationLightsState)
 
virtual uint8_t navigationLightsFlashing () const
 Navigation lights flashing mode. More...
 
virtual void setNavigationLightsFlashing (uint8_t navigationLightsFlashing)
 
virtual uint8_t nvgMode () const
 NVG mode: Covert or Overt. More...
 
virtual void setNvgMode (uint8_t nvgMode)
 
virtual bool taxiwayLightsOn () const
 Whether the taxiway lights are on. More...
 
virtual void setTaxiwayLightsOn (bool taxiwayLightsOn)
 
- 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
 
QLabelmyAntiCollisionLightsStateLabel
 
QComboBoxmyAntiCollisionLightsState
 
QLabelmyAntiCollisionLightDayNightLabel
 
QComboBoxmyAntiCollisionLightDayNight
 
QLabelmyAntiCollisionLightFlashingLabel
 
QComboBoxmyAntiCollisionLightFlashing
 
QLabelmyFormationLightsOnLabel
 
QComboBoxmyFormationLightsOn
 
QLabelmyFormationLightsLuminanceLabel
 
QSpinBoxmyFormationLightsLuminance
 
QLabelmyLandingLightsOnLabel
 
QComboBoxmyLandingLightsOn
 
QLabelmyNavigationLightsStateLabel
 
QComboBoxmyNavigationLightsState
 
QLabelmyNavigationLightsFlashingLabel
 
QComboBoxmyNavigationLightsFlashing
 
QLabelmyNVGModeLabel
 
QComboBoxmyNVGMode
 
QLabelmyTaxiwayLightsOnLabel
 
QComboBoxmyTaxiwayLightsOn
 
- 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::DtSetAdvancedLightingDialog::DtSetAdvancedLightingDialog ( makVrv::DtDe de,
QWidget *  parent,
const Qt::WindowFlags &  flags = 0 
)
virtual makVrf::DtSetAdvancedLightingDialog::~DtSetAdvancedLightingDialog ( )
virtual

Member Function Documentation

virtual uint8_t makVrf::DtSetAdvancedLightingDialog::antiCollisionLightsState ( ) const
virtual

Anti collision lights state.

virtual void makVrf::DtSetAdvancedLightingDialog::setAntiCollisionLightsState ( uint8_t  antiCollisionLightsState)
virtual
virtual uint8_t makVrf::DtSetAdvancedLightingDialog::antiCollisionLightsDayNight ( ) const
virtual

Anti collision lights day/night state.

virtual void makVrf::DtSetAdvancedLightingDialog::setAntiCollisionLightsDayNight ( uint8_t  antiCollisionLightsDayNight)
virtual
virtual uint8_t makVrf::DtSetAdvancedLightingDialog::antiCollisionLightFlashing ( ) const
virtual

Anti collision lights flashing mode.

virtual void makVrf::DtSetAdvancedLightingDialog::setAntiCollisionLightFlashing ( uint8_t  antiCollisionLightFlashing)
virtual
virtual bool makVrf::DtSetAdvancedLightingDialog::formationLightOn ( ) const
virtual

Whether the formation lights are on.

virtual void makVrf::DtSetAdvancedLightingDialog::setFormationLightOn ( bool  formationLightOn)
virtual
virtual uint8_t makVrf::DtSetAdvancedLightingDialog::formationLightsLuminance ( ) const
virtual

Formation lights luminace state (between 0 to 100)

virtual void makVrf::DtSetAdvancedLightingDialog::setFormationLightsLuminance ( uint8_t  formationLightsLuminance)
virtual
virtual bool makVrf::DtSetAdvancedLightingDialog::landingLightsOn ( ) const
virtual

Whether the landing lights are on.

virtual void makVrf::DtSetAdvancedLightingDialog::setLandingLightsOn ( bool  landingLightsOn)
virtual
virtual uint8_t makVrf::DtSetAdvancedLightingDialog::navigationLightsState ( ) const
virtual

Navigation lights state.

virtual void makVrf::DtSetAdvancedLightingDialog::setNavigationLightsState ( uint8_t  navigationLightsState)
virtual
virtual uint8_t makVrf::DtSetAdvancedLightingDialog::navigationLightsFlashing ( ) const
virtual

Navigation lights flashing mode.

virtual void makVrf::DtSetAdvancedLightingDialog::setNavigationLightsFlashing ( uint8_t  navigationLightsFlashing)
virtual
virtual uint8_t makVrf::DtSetAdvancedLightingDialog::nvgMode ( ) const
virtual

NVG mode: Covert or Overt.

virtual void makVrf::DtSetAdvancedLightingDialog::setNvgMode ( uint8_t  nvgMode)
virtual
virtual bool makVrf::DtSetAdvancedLightingDialog::taxiwayLightsOn ( ) const
virtual

Whether the taxiway lights are on.

virtual void makVrf::DtSetAdvancedLightingDialog::setTaxiwayLightsOn ( bool  taxiwayLightsOn)
virtual
virtual QWidget* makVrf::DtSetAdvancedLightingDialog::contents ( const std::vector< makVrv::DtSimEntry * > &  data)
protectedvirtual

Creates set dialog contents. Called from setupGui.

Implements makVrf::DtBaseTaskSetDialogInterface.

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

Override to send the set or task request.

Implements makVrf::DtBaseTaskSetDialogInterface.

virtual void makVrf::DtSetAdvancedLightingDialog::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::DtSetAdvancedLightingDialog::setupStatement ( const DtSimStatement )
protectedvirtual

Member Data Documentation

QGridLayout* makVrf::DtSetAdvancedLightingDialog::myContentLayout
protected
QWidget* makVrf::DtSetAdvancedLightingDialog::myCanvas
protected
QLabel* makVrf::DtSetAdvancedLightingDialog::myAntiCollisionLightsStateLabel
protected
QComboBox* makVrf::DtSetAdvancedLightingDialog::myAntiCollisionLightsState
protected
QLabel* makVrf::DtSetAdvancedLightingDialog::myAntiCollisionLightDayNightLabel
protected
QComboBox* makVrf::DtSetAdvancedLightingDialog::myAntiCollisionLightDayNight
protected
QLabel* makVrf::DtSetAdvancedLightingDialog::myAntiCollisionLightFlashingLabel
protected
QComboBox* makVrf::DtSetAdvancedLightingDialog::myAntiCollisionLightFlashing
protected
QLabel* makVrf::DtSetAdvancedLightingDialog::myFormationLightsOnLabel
protected
QComboBox* makVrf::DtSetAdvancedLightingDialog::myFormationLightsOn
protected
QLabel* makVrf::DtSetAdvancedLightingDialog::myFormationLightsLuminanceLabel
protected
QSpinBox* makVrf::DtSetAdvancedLightingDialog::myFormationLightsLuminance
protected
QLabel* makVrf::DtSetAdvancedLightingDialog::myLandingLightsOnLabel
protected
QComboBox* makVrf::DtSetAdvancedLightingDialog::myLandingLightsOn
protected
QLabel* makVrf::DtSetAdvancedLightingDialog::myNavigationLightsStateLabel
protected
QComboBox* makVrf::DtSetAdvancedLightingDialog::myNavigationLightsState
protected
QLabel* makVrf::DtSetAdvancedLightingDialog::myNavigationLightsFlashingLabel
protected
QComboBox* makVrf::DtSetAdvancedLightingDialog::myNavigationLightsFlashing
protected
QLabel* makVrf::DtSetAdvancedLightingDialog::myNVGModeLabel
protected
QComboBox* makVrf::DtSetAdvancedLightingDialog::myNVGMode
protected
QLabel* makVrf::DtSetAdvancedLightingDialog::myTaxiwayLightsOnLabel
protected
QComboBox* makVrf::DtSetAdvancedLightingDialog::myTaxiwayLightsOn
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)