22#ifndef SELECTIONSCENEITEM_H
23#define SELECTIONSCENEITEM_H
35#include <QGraphicsItem>
86 typedef QSharedPointer<SelectionSceneItem>
SPtr;
87 typedef QSharedPointer<const SelectionSceneItem>
ConstSPtr;
103 QPointF channelPosition,
106 QColor channelColor = Qt::blue,
107 bool bIsBadChannel =
false);
125 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget);
138#ifndef metatype_DISPLIB_selectionitem
139#define metatype_DISPLIB_selectionitem
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Q_DECLARE_METATYPE(DISPLIB::SelectionItem)
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