MNE-CPP  beta 1.0
averagescene.h
Go to the documentation of this file.
1 //=============================================================================================================
37 #ifndef AVERAGESCENE_H
38 #define AVERAGESCENE_H
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // INCLUDES
43 //=============================================================================================================
44 
45 #include "layoutscene.h"
46 #include "averagesceneitem.h"
47 #include "selectionsceneitem.h"
48 
49 
50 //*************************************************************************************************************
51 //=============================================================================================================
52 // QT INCLUDES
53 //=============================================================================================================
54 
55 #include <QGraphicsScene>
56 
57 
58 //*************************************************************************************************************
59 //=============================================================================================================
60 // DEFINE NAMESPACE TMSIPlugin
61 //=============================================================================================================
62 
63 namespace MNEBrowseRawQt
64 {
65 
66 
67 //=============================================================================================================
73 class AverageScene : public LayoutScene
74 {
75  Q_OBJECT
76 
77 public:
78  //=========================================================================================================
82  explicit AverageScene(QGraphicsView* view, QObject *parent = 0);
83 
84  //=========================================================================================================
90  void setScaleMap(const QMap<QString,double> &scaleMap);
91 
92  //=========================================================================================================
98  void repaintItems(const QList<QGraphicsItem*> &selectedChannelItems);
99 
100 private:
101  QList<SelectionSceneItem*> m_lSelectedChannelItems ;
102 };
103 
104 } // NAMESPACE
105 
106 #endif // AverageScene_H
The LayoutScene class provides a reimplemented QGraphicsScene for 2D layout plotting. This class handles all the user interaction features (subclass in order to use).
Definition: layoutscene.h:81
The AverageScene class provides a reimplemented QGraphicsScene for 2D layout plotting.
Definition: averagescene.h:73
void setScaleMap(const QMap< QString, double > &scaleMap)
AverageScene(QGraphicsView *view, QObject *parent=0)
void repaintItems(const QList< QGraphicsItem * > &selectedChannelItems)
Contains the declaration of the AverageSceneItem class.