Qt Virtual Chart Table (QVCT)
CVesselCourse Class Reference

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

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

Inheritance diagram for CVesselCourse:
CVesselWidget

Public Member Functions

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

COverlayTextpoTextBearing
 [UI:Label] Bearing More...
 
COverlayTextpoTextSpeed
 [UI:Label] Speed (horizontal) More...
 
COverlayTextpoTextSpeedVertical
 [UI:Label] Speed (vertical) 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 course view (dock widget)

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

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

Definition at line 37 of file CVesselCourse.hpp.

Constructor & Destructor Documentation

◆ CVesselCourse()

CVesselCourse::CVesselCourse ( QWidget *  _pqParent = 0)

Definition at line 34 of file CVesselCourse.cpp.

◆ ~CVesselCourse()

virtual CVesselCourse::~CVesselCourse ( )
inlinevirtual

Definition at line 60 of file CVesselCourse.hpp.

Member Function Documentation

◆ constructLayout()

void CVesselCourse::constructLayout ( )
private

Constructs the layout of the user-interface.

Definition at line 44 of file CVesselCourse.cpp.

◆ setFont()

void CVesselCourse::setFont ( QFont  _qFont)
virtual

Sets the font for the content of the underlying widget.

Implements CVesselWidget.

Definition at line 70 of file CVesselCourse.cpp.

◆ refreshContent()

void CVesselCourse::refreshContent ( )
virtual

Refreshes the content of the underlying widget.

Implements CVesselWidget.

Definition at line 77 of file CVesselCourse.cpp.

◆ resetContent()

void CVesselCourse::resetContent ( )
virtual

Resets (clears) the content of the underlying widget.

Implements CVesselWidget.

Definition at line 143 of file CVesselCourse.cpp.

Member Data Documentation

◆ poTextBearing

COverlayText* CVesselCourse::poTextBearing
private

[UI:Label] Bearing

Definition at line 47 of file CVesselCourse.hpp.

◆ poTextSpeed

COverlayText* CVesselCourse::poTextSpeed
private

[UI:Label] Speed (horizontal)

Definition at line 49 of file CVesselCourse.hpp.

◆ poTextSpeedVertical

COverlayText* CVesselCourse::poTextSpeedVertical
private

[UI:Label] Speed (vertical)

Definition at line 51 of file CVesselCourse.hpp.


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