Qt Virtual Chart Table (QVCT)
|
Generic overlay base (tree widget) More...
#include <overlays/COverlayBaseTree.hpp>
Public Member Functions | |
virtual void | onChange (QTreeWidgetItem *_pqTreeWidgetItem, int __iColumn)=0 |
Handles item (content) changes in the underlying QTreeWidget. More... | |
Public Member Functions inherited from COverlay | |
void | setVisible (bool _bVisible) |
Sets this overlay items' global visibility status. More... | |
void | forceRedraw () |
Forces this overlay's rendering (not matter its cache content) More... | |
bool | isVisible () const |
Returns this overlay items' global visibility status. More... | |
bool | isRedrawForced () const |
const QFont & | getFont () const |
const QBrush & | getBrushText () const |
const QPen & | getPenText () const |
const QBrush & | getBrushMarker () const |
const QPen & | getPenMarker () const |
const QBrush & | getBrushMarkerSelected () const |
const QPen & | getPenMarkerSelected () const |
const QPen & | getPenLine () const |
const QPen & | getPenVector () const |
void | draw (const CChart *_poChart, QPainter *_pqPainter) |
Draws this overlay. More... | |
virtual void | drawContent (const CChart *_poChart, QPainter *_pqPainter) const =0 |
Draws this overlay's content. More... | |
virtual void | showDetail (const QTreeWidgetItem *_pqTreeWidgetItem) const =0 |
Displays the given overlay object's details (in the appropriate widget/view) More... | |
virtual void | setPosition (const QTreeWidgetItem *_pqTreeWidgetItem) const =0 |
Centers the chart on the given overlay object's position. More... | |
virtual COverlayPoint * | matchScrPosition (const CChart *_poChart, const QPointF &_rqPointFScrPosition) const =0 |
Returns the overlay's point that (first) matches the given screen position (0 if none is found) More... | |
QString | newChildName (const QString &_rqsName, int __iZeroPrefix=0, bool __bForceSuffix=false) const |
Returns a valid name for a new sibling of this object. More... | |
Protected Member Functions | |
COverlayBaseTree (QWidget *_pqParent, const QString &_rqsName) | |
virtual | ~COverlayBaseTree () |
void | destroy () |
Prepare the underlying QTreeWidget for destruction. More... | |
Protected Member Functions inherited from COverlay | |
COverlay (const QString &_rqsName) | |
virtual | ~COverlay () |
Private Slots | |
void | slotCurrentItemChanged (QTreeWidgetItem *_pqTreeWidgetItem, QTreeWidgetItem *_pqTreeWidgetItemPrevious) |
Slot to handle current item changes in the underlying QTreeWidget. More... | |
void | slotItemClicked (QTreeWidgetItem *_pqTreeWidgetItem, int _iColumn) |
Slot to handle item click in the underlying QTreeWidget. More... | |
void | slotItemDoubleClicked (QTreeWidgetItem *_pqTreeWidgetItem, int _iColumn) |
Slot to handle item double-click in the underlying QTreeWidget. More... | |
void | slotItemChanged (QTreeWidgetItem *_pqTreeWidgetItem, int _iColumn) |
Slot to handle item (content) changes in the underlying QTreeWidget. More... | |
Private Attributes | |
bool | bCurrentItemJustChanged |
Flag to track when the focused item just changed. More... | |
Additional Inherited Members | |
Protected Attributes inherited from COverlay | |
QString | qsName |
Overlay name. More... | |
bool | bVisible |
Overlay items' global visibility status. More... | |
QPixmap | qPixmapBuffer |
Pixmap buffer used to render and cache this overlay's graphical content. More... | |
const CChart * | poChartPixmap |
Chart for which the last rendering was achieved. More... | |
QPointF | qPointFDatPositionPixmap |
Chart position at which the last rendering was achieved. More... | |
double | fdZoomPixmap |
Zoom factor at which the last rendering was achieved. More... | |
bool | bForceRedraw |
Forces this overlay's rendering (not matter its cache content) More... | |
QFont | qFont |
QFont used to draw text on this overlay. More... | |
QBrush | qBrushText |
QBrush used to draw text on this overlay. More... | |
QPen | qPenText |
QPen used to draw text on this overlay. More... | |
QBrush | qBrushMarker |
QBrush used to draw markers on this overlay. More... | |
QPen | qPenMarker |
QPen used to draw markers on this overlay. More... | |
QBrush | qBrushMarkerSelected |
QBrush used to identify selected markers on this overlay. More... | |
QPen | qPenMarkerSelected |
QPen used to identify selected markers on this overlay. More... | |
QPen | qPenLine |
QPen used to draw lines on this overlay. More... | |
QPen | qPenVector |
QPen used to draw vectors on this overlay. More... | |
Generic overlay base (tree widget)
This class defines the generic representation of an overlay (base object), including the QTreeWidget required to display its content.
Definition at line 37 of file COverlayBaseTree.hpp.
|
protected |
Definition at line 31 of file COverlayBaseTree.cpp.
|
inlineprotectedvirtual |
Definition at line 57 of file COverlayBaseTree.hpp.
|
privateslot |
Slot to handle current item changes in the underlying QTreeWidget.
Definition at line 55 of file COverlayBaseTree.cpp.
|
privateslot |
Slot to handle item click in the underlying QTreeWidget.
Definition at line 61 of file COverlayBaseTree.cpp.
|
privateslot |
Slot to handle item double-click in the underlying QTreeWidget.
Definition at line 67 of file COverlayBaseTree.cpp.
|
privateslot |
Slot to handle item (content) changes in the underlying QTreeWidget.
Definition at line 72 of file COverlayBaseTree.cpp.
|
protected |
Prepare the underlying QTreeWidget for destruction.
Definition at line 81 of file COverlayBaseTree.cpp.
|
pure virtual |
Handles item (content) changes in the underlying QTreeWidget.
Implemented in CVesselOverlay, CTrackOverlay, CRouteOverlay, CLandmarkOverlay, and CDeviceOverlay.
|
private |
Flag to track when the focused item just changed.
Definition at line 48 of file COverlayBaseTree.hpp.