Qt Virtual Chart Table (QVCT)
COverlayItem Class Reference

Generic overlay item. More...

#include <overlays/COverlayItem.hpp>

Inheritance diagram for COverlayItem:
COverlayObject CDevice COverlayPoint CVesselContainerDevice CVesselPointDevice CDeviceGpsdAis CDeviceGpsdGps CDeviceSample CDeviceTcpSbs1 CLandmarkPoint COverlayCourse CPointerPoint CRoutePoint CTrackPoint

Public Member Functions

void setMultiSelected (bool _bMultiSelected)
 Sets this item's selection status. More...
bool isMultiSelected () const
 Returns this item's selection status. More...
- Public Member Functions inherited from COverlayObject
void setName (const QString &_rqsName)
 Sets this object's name. More...
QString getName () const
 Returns this object's name. More...
virtual COverlayuseOverlay ()=0
 Returns this object's (base) overlay. More...
virtual void serialize (QDataStream &_rqDataStream) const
 Serializes (store) this object's data to binary format. More...
virtual void unserialize (QDataStream &_rqDataStream)
 Unserializes (restore) this object's data from binary format. More...
virtual void draw (const CChart *_poChart, QPainter *_pqPainter)=0
 Draws this object (itself or its content) More...
virtual void showDetail ()=0
 Displays this object's details (in the appropriate widget/view) More...
virtual void showEdit ()=0
 Displays this object's edit widget/view. More...
QString newChildName (const QString &_rqsName, int _iZeroPrefix=0, bool _bForceSuffix=false) const
 Returns a valid (non-duplicate) name for a new sibling of this object. More...
QString newChildName (const QString &_rqsName, int _iZeroPrefix, int _iSuffix) const
 Returns a suffixed (potentially duplicate) name for a new sibling of this object. More...

Protected Member Functions

 COverlayItem (COverlayObject::EType _eType, const QString &_rqsName)
virtual ~COverlayItem ()
- Protected Member Functions inherited from COverlayObject
 COverlayObject (EType _eType, const QString &_rqsName)
virtual ~COverlayObject ()

Protected Attributes

bool bMultiSelected
 Item's selection status. More...
- Protected Attributes inherited from COverlayObject
QString qsName
 Object name. More...

Additional Inherited Members

- Public Types inherited from COverlayObject
enum  EType {
  OVERLAY = 1001, CONTAINER = 1010, SUBCONTAINER = 1011, ITEM = 1100,
  SUBITEM1 = 1101, SUBITEM2 = 1102
 Overlay object type. More...

Detailed Description

Generic overlay item.

This class defines the generic representation of an item used in an overlay.

See also
Cedric Dufour http://cedric.dufour.name

Definition at line 36 of file COverlayItem.hpp.

Constructor & Destructor Documentation

◆ COverlayItem()

COverlayItem::COverlayItem ( COverlayObject::EType  _eType,
const QString &  _rqsName 

Definition at line 27 of file COverlayItem.cpp.

◆ ~COverlayItem()

virtual COverlayItem::~COverlayItem ( )

Definition at line 55 of file COverlayItem.hpp.

Member Function Documentation

◆ setMultiSelected()

void COverlayItem::setMultiSelected ( bool  _bMultiSelected)

Sets this item's selection status.

Definition at line 65 of file COverlayItem.hpp.

◆ isMultiSelected()

bool COverlayItem::isMultiSelected ( ) const

Returns this item's selection status.

Definition at line 70 of file COverlayItem.hpp.

Member Data Documentation

◆ bMultiSelected

bool COverlayItem::bMultiSelected

Item's selection status.

See also
setMultiSelected(), isMultiSelected()

Definition at line 46 of file COverlayItem.hpp.

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