v2.0.0
Loading...
Searching...
No Matches
minimumnormsettingsview.h
Go to the documentation of this file.
1//=============================================================================================================
34
35#ifndef MINIMUMNORMSETTINGSVIEW_H
36#define MINIMUMNORMSETTINGSVIEW_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "../disp_global.h"
43#include "abstractview.h"
44
45//=============================================================================================================
46// QT INCLUDES
47//=============================================================================================================
48
49//=============================================================================================================
50// EIGEN INCLUDES
51//=============================================================================================================
52
53//=============================================================================================================
54// FORWARD DECLARATIONS
55//=============================================================================================================
56
57namespace Ui {
58 class MinimumNormSettingsViewWidget;
59}
60
61//=============================================================================================================
62// DEFINE NAMESPACE DISPLIB
63//=============================================================================================================
64
65namespace DISPLIB
66{
67
68//=============================================================================================================
69// DISPLIB FORWARD DECLARATIONS
70//=============================================================================================================
71
72//=============================================================================================================
79{
80 Q_OBJECT
81
82public:
83 typedef QSharedPointer<MinimumNormSettingsView> SPtr;
84 typedef QSharedPointer<const MinimumNormSettingsView> ConstSPtr;
85
86 //=========================================================================================================
92 MinimumNormSettingsView(const QString& sSettingsPath = "",
93 const QString& sMethod = "",
94 QWidget *parent = 0,
95 Qt::WindowFlags f = Qt::Widget);
96
97 //=========================================================================================================
102
103 //=========================================================================================================
109 void setTriggerTypes(const QStringList& lTriggerTypes);
110
111 //=========================================================================================================
115 void saveSettings();
116
117 //=========================================================================================================
121 void loadSettings();
122
123 //=========================================================================================================
127 void clearView();
128
129protected:
130 //=========================================================================================================
136 void updateGuiMode(GuiMode mode);
137
138 //=========================================================================================================
145
146 //=========================================================================================================
152 void onMethodChanged(const QString& method);
153
154 //=========================================================================================================
160 void onTriggerTypeChanged(const QString& sTriggerType);
161
162 //=========================================================================================================
167
168 Ui::MinimumNormSettingsViewWidget* m_pUi;
169 QString m_sMethod;
170
171signals:
172 //=========================================================================================================
178 void methodChanged(const QString& method);
179
180 //=========================================================================================================
186 void triggerTypeChanged(const QString& triggerType);
187
188 //=========================================================================================================
194 void timePointChanged(int iTimePoint);
195};
196} // NAMESPACE
197
198#endif // MinimumNormSettingsView_H
Declaration of the AbstractView Class.
disp library export/import macros.
#define DISPSHARED_EXPORT
Definition disp_global.h:51
2-D display widgets and visualisation helpers (charts, topography, colour maps).
AbstractView(QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
QSharedPointer< const MinimumNormSettingsView > ConstSPtr
void updateProcessingMode(ProcessingMode mode)
QSharedPointer< MinimumNormSettingsView > SPtr
void onMethodChanged(const QString &method)
void onTriggerTypeChanged(const QString &sTriggerType)
MinimumNormSettingsView(const QString &sSettingsPath="", const QString &sMethod="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
void timePointChanged(int iTimePoint)
void triggerTypeChanged(const QString &triggerType)
void setTriggerTypes(const QStringList &lTriggerTypes)
void methodChanged(const QString &method)
Ui::MinimumNormSettingsViewWidget * m_pUi