Qt Virtual Chart Table (QVCT)
CVesselCockpit Class Referenceabstract

[UI] Generic vessel's cockpit view (window) More...

#include <overlays/vessel/widgets/CVesselCockpit.hpp>

Inheritance diagram for CVesselCockpit:
CVesselCockpitGeneralAviation

Public Member Functions

void setVesselPoint (CVesselPoint *_poVesselPoint)
 Sets the vessel used to synchronize the instruments display. More...
 
void resetVesselPoint ()
 Resets (clears) the vessel used to synchronize the instruments display. More...
 
virtual void refreshContent ()=0
 Refreshes the content of the underlying widget. More...
 
virtual void resetContent ()=0
 Resets (clears) the content of the underlying widget. More...
 

Protected Member Functions

 CVesselCockpit (const QString &_rqsTitle, QWidget *_pqParent=0)
 
virtual ~CVesselCockpit ()
 

Protected Attributes

QGridLayout * pqGridLayout
 [UI:Layout] Layout More...
 
CVesselPointpoVesselPoint
 Overlay course being displayed. More...
 

Private Slots

void slotDestroyed (QObject *_pqObject)
 Slot to handle object destruction. More...
 

Friends

class CInstrument
 

Detailed Description

[UI] Generic vessel's cockpit view (window)

This class defines the base user-interface required to display the vessels cockpit view (window).

Author
Cedric Dufour http://cedric.dufour.name

Definition at line 37 of file CVesselCockpit.hpp.

Constructor & Destructor Documentation

◆ CVesselCockpit()

CVesselCockpit::CVesselCockpit ( const QString &  _rqsTitle,
QWidget *  _pqParent = 0 
)
protected

Definition at line 33 of file CVesselCockpit.cpp.

◆ ~CVesselCockpit()

virtual CVesselCockpit::~CVesselCockpit ( )
inlineprotectedvirtual

Definition at line 61 of file CVesselCockpit.hpp.

Member Function Documentation

◆ slotDestroyed

void CVesselCockpit::slotDestroyed ( QObject *  _pqObject)
privateslot

Slot to handle object destruction.

Definition at line 53 of file CVesselCockpit.cpp.

◆ setVesselPoint()

void CVesselCockpit::setVesselPoint ( CVesselPoint _poVesselPoint)

Sets the vessel used to synchronize the instruments display.

Definition at line 63 of file CVesselCockpit.cpp.

◆ resetVesselPoint()

void CVesselCockpit::resetVesselPoint ( )

Resets (clears) the vessel used to synchronize the instruments display.

Definition at line 70 of file CVesselCockpit.cpp.

◆ refreshContent()

virtual void CVesselCockpit::refreshContent ( )
pure virtual

Refreshes the content of the underlying widget.

Implemented in CVesselCockpitGeneralAviation.

◆ resetContent()

virtual void CVesselCockpit::resetContent ( )
pure virtual

Resets (clears) the content of the underlying widget.

Implemented in CVesselCockpitGeneralAviation.

Friends And Related Function Documentation

◆ CInstrument

friend class CInstrument
friend

Definition at line 40 of file CVesselCockpit.hpp.

Member Data Documentation

◆ pqGridLayout

QGridLayout* CVesselCockpit::pqGridLayout
protected

[UI:Layout] Layout

Definition at line 48 of file CVesselCockpit.hpp.

◆ poVesselPoint

CVesselPoint* CVesselCockpit::poVesselPoint
protected

Overlay course being displayed.

See also
setVesselPoint(), resetVesselPoint()

Definition at line 52 of file CVesselCockpit.hpp.


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