Qt Virtual Chart Table (QVCT)
|
[UI] Generic vessel (dock) widget More...
#include <overlays/vessel/widgets/CVesselWidget.hpp>
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 | setFont (QFont _qFont)=0 |
Sets the font for the content of the underlying widget. 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 Slots | |
virtual void | resizeEvent (QResizeEvent *_pqResizeEvent) |
Protected Member Functions | |
CVesselWidget (const QString &_qsTitle, QWidget *_pqParent=0) | |
virtual | ~CVesselWidget () |
Protected Attributes | |
QWidget * | pqWidget |
[UI:Widget] Container widget More... | |
QBoxLayout * | pqBoxLayout |
[UI:Layout] Layout More... | |
CVesselPoint * | poVesselPoint |
Overlay course being displayed. More... | |
Private Slots | |
void | slotDestroyed (QObject *_pqObject) |
Slot to handle object destruction. More... | |
void | slotLocationChanged (Qt::DockWidgetArea _qDockWidgetArea) |
Slot to handle dock area change. More... | |
void | slotTopLevelChanged (bool _bTopLevel) |
Slot to handle floating change. More... | |
[UI] Generic vessel (dock) widget
This class defines the base user-interface required to display vessels (dock) widgets. These widgets will automatically change their layout between vertical and horizontal depending on where they are docked, as well as adapt their font size according to their size.
Definition at line 42 of file CVesselWidget.hpp.
|
protected |
Definition at line 35 of file CVesselWidget.cpp.
|
inlineprotectedvirtual |
Definition at line 68 of file CVesselWidget.hpp.
|
protectedvirtualslot |
Definition at line 53 of file CVesselWidget.cpp.
|
privateslot |
Slot to handle object destruction.
Definition at line 77 of file CVesselWidget.cpp.
|
privateslot |
Slot to handle dock area change.
Definition at line 83 of file CVesselWidget.cpp.
|
privateslot |
Slot to handle floating change.
Definition at line 91 of file CVesselWidget.cpp.
void CVesselWidget::setVesselPoint | ( | CVesselPoint * | _poVesselPoint | ) |
Sets the vessel used to synchronize the instruments display.
Definition at line 100 of file CVesselWidget.cpp.
void CVesselWidget::resetVesselPoint | ( | ) |
Resets (clears) the vessel used to synchronize the instruments display.
Definition at line 107 of file CVesselWidget.cpp.
|
pure virtual |
Sets the font for the content of the underlying widget.
Implemented in CVesselTarget, CVesselPosition, and CVesselCourse.
|
pure virtual |
Refreshes the content of the underlying widget.
Implemented in CVesselTarget, CVesselPosition, and CVesselCourse.
|
pure virtual |
Resets (clears) the content of the underlying widget.
Implemented in CVesselTarget, CVesselPosition, and CVesselCourse.
|
protected |
[UI:Widget] Container widget
Definition at line 53 of file CVesselWidget.hpp.
|
protected |
[UI:Layout] Layout
Definition at line 55 of file CVesselWidget.hpp.
|
protected |
Overlay course being displayed.
Definition at line 59 of file CVesselWidget.hpp.