MNE-CPP  beta 1.0
displaymanager.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef DISPLAYMANAGER_H
37 #define DISPLAYMANAGER_H
38 
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // INCLUDES
43 //=============================================================================================================
44 
45 #include "../mne_x_global.h"
46 #include "../Interfaces/IPlugin.h"
47 
48 
49 //*************************************************************************************************************
50 //=============================================================================================================
51 // Qt INCLUDES
52 //=============================================================================================================
53 
54 #include <QSharedPointer>
55 #include <QTime>
56 #include <QHash>
57 #include <QWidget>
58 #include <QLabel>
59 #include <QString>
60 
61 
62 //*************************************************************************************************************
63 //=============================================================================================================
64 // FORWARD DECLARATIONS
65 //=============================================================================================================
66 
67 class QVBoxLayout;
68 class QHBoxLayout;
69 
70 
71 //*************************************************************************************************************
72 //=============================================================================================================
73 // DEFINE NAMESPACE MNEX
74 //=============================================================================================================
75 
76 namespace MNEX
77 {
78 
79 //=============================================================================================================
85 class MNE_X_SHARED_EXPORT DisplayManager : public QObject
86 {
87  Q_OBJECT
88 public:
89  typedef QSharedPointer<DisplayManager> SPtr;
90  typedef QSharedPointer<const DisplayManager> ConstSPtr;
92  //=========================================================================================================
96  DisplayManager(QObject* parent = 0);
97 
98  //=========================================================================================================
102  virtual ~DisplayManager();
103 
104  //=========================================================================================================
115  QWidget* show(IPlugin::OutputConnectorList &outputConnectorList, QSharedPointer<QTime>& pT, QList< QAction* >& qListActions, QList< QWidget* >& qListWidgets);
116 
117  //=========================================================================================================
121  void clean();
122 
123 private:
124  QList<QMetaObject::Connection> m_pListWidgetConnections;
126 };
127 
128 } // NAMESPACE
129 
130 #endif // DISPLAYMANAGER_H
QVector< QSharedPointer< PluginOutputConnector > > OutputConnectorList
Definition: IPlugin.h:112
QSharedPointer< const DisplayManager > ConstSPtr
QSharedPointer< DisplayManager > SPtr
#define MNE_X_SHARED_EXPORT
Definition: mne_x_global.h:55
Definition: arrow.h:75
The DisplayManager class handles current displayed widgets.