Qt Virtual Chart Table (QVCT)
CVesselTarget Class Reference

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

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

Inheritance diagram for CVesselTarget:
CVesselWidget

Public Member Functions

 CVesselTarget (QWidget *_pqParent=0)
 
virtual ~CVesselTarget ()
 
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

bool bContentDisplayed
 Flag to track whether content data are currently displayed. More...
 
COverlayTextpoTextBearing
 [UI:Label] Bearing More...
 
COverlayTextpoTextDistance
 [UI:Label] Distance More...
 
COverlayTextpoTextEte
 [UI:Label] Estimated Time En-Route (ETE) More...
 
COverlayTextpoTextEta
 [UI:Label] Estimated Time of Arrival (ETA) 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 target view (dock widget)

This class provides the user-interface (QDockWidget) that allows to display a vessel point's live target data (bearing, distance, ETE).

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

Definition at line 37 of file CVesselTarget.hpp.

Constructor & Destructor Documentation

◆ CVesselTarget()

CVesselTarget::CVesselTarget ( QWidget *  _pqParent = 0)

Definition at line 39 of file CVesselTarget.cpp.

◆ ~CVesselTarget()

virtual CVesselTarget::~CVesselTarget ( )
inlinevirtual

Definition at line 65 of file CVesselTarget.hpp.

Member Function Documentation

◆ constructLayout()

void CVesselTarget::constructLayout ( )
private

Constructs the layout of the user-interface.

Definition at line 50 of file CVesselTarget.cpp.

◆ setFont()

void CVesselTarget::setFont ( QFont  _qFont)
virtual

Sets the font for the content of the underlying widget.

Implements CVesselWidget.

Definition at line 81 of file CVesselTarget.cpp.

◆ refreshContent()

void CVesselTarget::refreshContent ( )
virtual

Refreshes the content of the underlying widget.

Implements CVesselWidget.

Definition at line 89 of file CVesselTarget.cpp.

◆ resetContent()

void CVesselTarget::resetContent ( )
virtual

Resets (clears) the content of the underlying widget.

Implements CVesselWidget.

Definition at line 139 of file CVesselTarget.cpp.

Member Data Documentation

◆ bContentDisplayed

bool CVesselTarget::bContentDisplayed
private

Flag to track whether content data are currently displayed.

Definition at line 47 of file CVesselTarget.hpp.

◆ poTextBearing

COverlayText* CVesselTarget::poTextBearing
private

[UI:Label] Bearing

Definition at line 50 of file CVesselTarget.hpp.

◆ poTextDistance

COverlayText* CVesselTarget::poTextDistance
private

[UI:Label] Distance

Definition at line 52 of file CVesselTarget.hpp.

◆ poTextEte

COverlayText* CVesselTarget::poTextEte
private

[UI:Label] Estimated Time En-Route (ETE)

Definition at line 54 of file CVesselTarget.hpp.

◆ poTextEta

COverlayText* CVesselTarget::poTextEta
private

[UI:Label] Estimated Time of Arrival (ETA)

Definition at line 56 of file CVesselTarget.hpp.


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