MNE-CPP  beta 1.0
butterflyscene.h
Go to the documentation of this file.
1 //=============================================================================================================
37 #ifndef BUTTERFLYSCENE_H
38 #define BUTTERFLYSCENE_H
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // INCLUDES
43 //=============================================================================================================
44 
45 #include "layoutscene.h"
46 #include "butterflysceneitem.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 //=============================================================================================================
74 {
75  Q_OBJECT
76 
77 public:
78  //=========================================================================================================
82  explicit ButterflyScene(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 };
101 
102 } // NAMESPACE
103 
104 #endif // BUTTERFLYSCENE_H
The ButterflyScene class provides a reimplemented QGraphicsScene for 2D layout plotting.
ButterflyScene(QGraphicsView *view, QObject *parent=0)
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
void setScaleMap(const QMap< QString, double > &scaleMap)
Contains the declaration of the ButterflySceneItem class.
void repaintItems(const QList< QGraphicsItem * > &selectedChannelItems)