22#ifndef SELECTIONSCENEITEM_H
23#define SELECTIONSCENEITEM_H
35#include <QGraphicsItem>
82 typedef QSharedPointer<SelectionSceneItem>
SPtr;
83 typedef QSharedPointer<const SelectionSceneItem>
ConstSPtr;
91 QPointF channelPosition,
94 QColor channelColor = Qt::blue,
95 bool bIsBadChannel =
false);
107 void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget);
120#ifndef metatype_DISPLIB_selectionitem
121#define metatype_DISPLIB_selectionitem
Q_DECLARE_METATYPE(DISPLIB::SelectionItem)
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
2-D display widgets and visualisation helpers (charts, topography, colour maps).
Value type describing one named selection group (label + list of channel names).
QList< QString > m_sViewsToApply
QList< QPointF > m_qpChannelPosition
QList< int > m_iChannelNumber
QList< QString > m_sChannelName
QList< int > m_iChannelUnit
QList< int > m_iChannelKind
QPointF m_qpChannelPosition
QRectF boundingRect() const
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
SelectionSceneItem(QString channelName, int channelNumber, QPointF channelPosition, int channelKind, int channelUnit, QColor channelColor=Qt::blue, bool bIsBadChannel=false)
QSharedPointer< SelectionSceneItem > SPtr
QSharedPointer< const SelectionSceneItem > ConstSPtr