Qt Virtual Chart Table (QVCT)
CVesselPosition Class Reference

[UI] Vessel position view (dock widget) More...

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

Inheritance diagram for CVesselPosition:
CVesselWidget

Public Member Functions

 CVesselPosition (QWidget *_pqParent=0)
 
virtual ~CVesselPosition ()
 
virtual void setFont (QFont _qFont)
 Sets the font for the content of the underlying widget. More...
 
virtual void refreshContent ()
 Refreshes the content of the underlying widget. More...
 
virtual void resetContent ()
 Resets (clears) the content of the underlying widget. More...
 
- Public Member Functions inherited from CVesselWidget
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...
 

Private Member Functions

void constructLayout ()
 Constructs the layout of the user-interface. More...
 

Private Attributes

COverlayTextpoTextLongitude
 [UI:Label] Longitude More...
 
COverlayTextpoTextLatitude
 [UI:Label] Latitude More...
 
COverlayTextpoTextElevation
 [UI:Label] Elevation More...
 

Additional Inherited Members

- Protected Slots inherited from CVesselWidget
virtual void resizeEvent (QResizeEvent *_pqResizeEvent)
 
- Protected Member Functions inherited from CVesselWidget
 CVesselWidget (const QString &_qsTitle, QWidget *_pqParent=0)
 
virtual ~CVesselWidget ()
 
- Protected Attributes inherited from CVesselWidget
QWidget * pqWidget
 [UI:Widget] Container widget More...
 
QBoxLayout * pqBoxLayout
 [UI:Layout] Layout More...
 
CVesselPointpoVesselPoint
 Overlay course being displayed. More...
 

Detailed Description

[UI] Vessel position view (dock widget)

This class provides the user-interface (QDockWidget) that allows to display a vessel point's live position data.

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

Definition at line 37 of file CVesselPosition.hpp.

Constructor & Destructor Documentation

◆ CVesselPosition()

CVesselPosition::CVesselPosition ( QWidget *  _pqParent = 0)

Definition at line 34 of file CVesselPosition.cpp.

◆ ~CVesselPosition()

virtual CVesselPosition::~CVesselPosition ( )
inlinevirtual

Definition at line 60 of file CVesselPosition.hpp.

Member Function Documentation

◆ constructLayout()

void CVesselPosition::constructLayout ( )
private

Constructs the layout of the user-interface.

Definition at line 44 of file CVesselPosition.cpp.

◆ setFont()

void CVesselPosition::setFont ( QFont  _qFont)
virtual

Sets the font for the content of the underlying widget.

Implements CVesselWidget.

Definition at line 70 of file CVesselPosition.cpp.

◆ refreshContent()

void CVesselPosition::refreshContent ( )
virtual

Refreshes the content of the underlying widget.

Implements CVesselWidget.

Definition at line 77 of file CVesselPosition.cpp.

◆ resetContent()

void CVesselPosition::resetContent ( )
virtual

Resets (clears) the content of the underlying widget.

Implements CVesselWidget.

Definition at line 101 of file CVesselPosition.cpp.

Member Data Documentation

◆ poTextLongitude

COverlayText* CVesselPosition::poTextLongitude
private

[UI:Label] Longitude

Definition at line 47 of file CVesselPosition.hpp.

◆ poTextLatitude

COverlayText* CVesselPosition::poTextLatitude
private

[UI:Label] Latitude

Definition at line 49 of file CVesselPosition.hpp.

◆ poTextElevation

COverlayText* CVesselPosition::poTextElevation
private

[UI:Label] Elevation

Definition at line 51 of file CVesselPosition.hpp.


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