36 #ifndef AVERAGESCENE_H
37 #define AVERAGESCENE_H
43 #include "../../disp_global.h"
66 class SelectionSceneItem;
80 typedef QSharedPointer<AverageScene>
SPtr;
81 typedef QSharedPointer<const AverageScene>
ConstSPtr;
87 explicit AverageScene(QGraphicsView* view, QObject *parent = 0);
95 void setScaleMap(
const QMap<qint32, float> &scaleMap);
103 void repaintItems(
const QList<QGraphicsItem*> &selectedChannelItems);
125 void setActivationPerAverage(
const QSharedPointer<QMap<QString, bool> > qMapActivationPerAverage);
133 void setColorPerAverage(
const QSharedPointer<QMap<QString, QColor> > qMapAverageColor);
141 const QColor& getSignalColorForAllItems();
149 void setSignalItemColor(
const QColor &signalColor);
152 QColor m_colGlobalItemSignalColor;
154 QList<SelectionSceneItem*> m_lSelectedChannelItems;
158 #endif // AverageScene_H