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

Classes

struct  RunwayListing
 

Public Member Functions

 DtAirportLightControllerWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~DtAirportLightControllerWidget ()
 Destructor. More...
 
virtual QIcon icon ()
 Get the icon of the page. More...
 
virtual QString title ()
 Get the title of the page. More...
 
virtual const std::string & pageClassName () const
 Get the class name of the page. More...
 
virtual void setAirportLocation (double lat, double lon, double elev)
 sets the airport location More...
 
virtual std::string getAirportSelected ()
 returns the airport name selected (e.g. "Boston Logan Intn'l (KBOS)") More...
 
virtual std::string getIcaoForAirportSelected ()
 returns the ICAO code of the airport selected More...
 
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page. More...
 
virtual ~DtPage ()
 DTOR for page. More...
 
virtual PageAction pageAction ()
 return the current action on the page More...
 
virtual void setPageAction (PageAction action)
 set the curret action on the page More...
 
virtual void setActionFlag (int flag)
 set the action flag of the page More...
 
virtual int actionFlag ()
 return the action flag of the page More...
 
virtual void setParentDialog (QWidget *paraentDialog)
 set the parent dialog that owns this page More...
 
virtual QWidget * parentDialog ()
 return the parent dialog that own this page More...
 
virtual bool shouldAskBeforeAction (PageAction action)
 test the action flag with the action, return true if we should ask before executing the action /param action the current page action More...
 
virtual void askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing. More...
 
virtual void executeAfterAsk (bool revert)
 Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it. More...
 
virtual void resumeLastAction ()
 resume the last action of the page More...
 
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing. More...
 
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing. More...
 
- Public Member Functions inherited from makVrf::DtAirportLightControllerWidgetInterface
virtual ~DtAirportLightControllerWidgetInterface ()
 

Public Attributes

QComboBoxmyAirportsComboBox
 
QLabelmyAirportLabel
 
QLabelmyAirportLatLon
 
DtAirportSelectionWidgetmyAirportSelectionWidget
 
DtLastPointInfoLocationmyLocation
 
QPushButtonmySetButton
 
QPushButtonmyCenterOnAirportButton
 
DtCommandAssignmentWidgetmyRunwayDialog
 
DtRunwayLightsWidgetmyRunwayWidget
 
int myCurrentlySelectedAirport
 

Protected Slots

virtual void slot_airportsComboboxChanged (int)
 
virtual void slot_setButtonPushed ()
 
virtual void slot_centerOnAirport ()
 

Protected Member Functions

virtual void activate ()
 Let the creator create the page. More...
 
virtual void deactivate ()
 Called when the page is hidden. More...
 
virtual void setupGui ()
 Called from constructor. More...
 
virtual void sendCommandRequest (const DtSimCommandObjectWrapper &s)
 
virtual void updateAirportInformation ()
 updates the airport information widgets when the airport changes More...
 

Protected Attributes

std::string myClassName
 
DtAirportLightControllerWidgetLogicmyLogic
 
makVrv::DtSignalConnectionManager myConnections
 
std::vector< RunwayListingmyListings
 
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
 
QWidget * myParentDialog
 
PageAction myCurrentPageAction
 
int myActionFlag
 

Private Member Functions

 DtAirportLightControllerWidget (const DtAirportLightControllerWidget &orig)
 Not implemented. More...
 
DtAirportLightControllerWidgetoperator= (const DtAirportLightControllerWidget &orig)
 Not implemented. More...
 

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
 

Constructor & Destructor Documentation

makVrf::DtAirportLightControllerWidget::DtAirportLightControllerWidget ( makVrv::DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
virtual makVrf::DtAirportLightControllerWidget::~DtAirportLightControllerWidget ( )
virtual

Destructor.

makVrf::DtAirportLightControllerWidget::DtAirportLightControllerWidget ( const DtAirportLightControllerWidget orig)
private

Not implemented.

Member Function Documentation

virtual QIcon makVrf::DtAirportLightControllerWidget::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrf::DtAirportLightControllerWidget::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& makVrf::DtAirportLightControllerWidget::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrv::DtPage.

virtual void makVrf::DtAirportLightControllerWidget::setAirportLocation ( double  lat,
double  lon,
double  elev 
)
virtual

sets the airport location

Implements makVrf::DtAirportLightControllerWidgetInterface.

virtual std::string makVrf::DtAirportLightControllerWidget::getAirportSelected ( )
virtual

returns the airport name selected (e.g. "Boston Logan Intn'l (KBOS)")

Implements makVrf::DtAirportLightControllerWidgetInterface.

virtual std::string makVrf::DtAirportLightControllerWidget::getIcaoForAirportSelected ( )
virtual

returns the ICAO code of the airport selected

Implements makVrf::DtAirportLightControllerWidgetInterface.

virtual void makVrf::DtAirportLightControllerWidget::activate ( )
protectedvirtual

Let the creator create the page.

Called when the page is displayed.

Implements makVrv::DtPage.

virtual void makVrf::DtAirportLightControllerWidget::deactivate ( )
protectedvirtual

Called when the page is hidden.

Implements makVrv::DtPage.

virtual void makVrf::DtAirportLightControllerWidget::setupGui ( )
protectedvirtual

Called from constructor.

virtual void makVrf::DtAirportLightControllerWidget::sendCommandRequest ( const DtSimCommandObjectWrapper s)
protectedvirtual
virtual void makVrf::DtAirportLightControllerWidget::updateAirportInformation ( )
protectedvirtual

updates the airport information widgets when the airport changes

Implements makVrf::DtAirportLightControllerWidgetInterface.

virtual void makVrf::DtAirportLightControllerWidget::slot_airportsComboboxChanged ( int  )
protectedvirtualslot
virtual void makVrf::DtAirportLightControllerWidget::slot_setButtonPushed ( )
protectedvirtualslot
virtual void makVrf::DtAirportLightControllerWidget::slot_centerOnAirport ( )
protectedvirtualslot
DtAirportLightControllerWidget& makVrf::DtAirportLightControllerWidget::operator= ( const DtAirportLightControllerWidget orig)
private

Not implemented.

Member Data Documentation

std::string makVrf::DtAirportLightControllerWidget::myClassName
protected
DtAirportLightControllerWidgetLogic* makVrf::DtAirportLightControllerWidget::myLogic
protected
makVrv::DtSignalConnectionManager makVrf::DtAirportLightControllerWidget::myConnections
protected
std::vector<RunwayListing> makVrf::DtAirportLightControllerWidget::myListings
protected
QComboBox* makVrf::DtAirportLightControllerWidget::myAirportsComboBox
QLabel* makVrf::DtAirportLightControllerWidget::myAirportLabel
QLabel* makVrf::DtAirportLightControllerWidget::myAirportLatLon
DtAirportSelectionWidget* makVrf::DtAirportLightControllerWidget::myAirportSelectionWidget
DtLastPointInfoLocation* makVrf::DtAirportLightControllerWidget::myLocation
QPushButton* makVrf::DtAirportLightControllerWidget::mySetButton
QPushButton* makVrf::DtAirportLightControllerWidget::myCenterOnAirportButton
DtCommandAssignmentWidget* makVrf::DtAirportLightControllerWidget::myRunwayDialog
DtRunwayLightsWidget* makVrf::DtAirportLightControllerWidget::myRunwayWidget
int makVrf::DtAirportLightControllerWidget::myCurrentlySelectedAirport

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)