v2.0.0
Loading...
Searching...
No Matches
minimumnormsettingsview.h
Go to the documentation of this file.
1//=============================================================================================================
21
22#ifndef MINIMUMNORMSETTINGSVIEW_H
23#define MINIMUMNORMSETTINGSVIEW_H
24
25//=============================================================================================================
26// INCLUDES
27//=============================================================================================================
28
29#include "../disp_global.h"
30#include "abstractview.h"
31
32//=============================================================================================================
33// QT INCLUDES
34//=============================================================================================================
35
36//=============================================================================================================
37// EIGEN INCLUDES
38//=============================================================================================================
39
40//=============================================================================================================
41// FORWARD DECLARATIONS
42//=============================================================================================================
43
44namespace Ui
45{
46class MinimumNormSettingsViewWidget;
47}
48
49//=============================================================================================================
50// DEFINE NAMESPACE DISPLIB
51//=============================================================================================================
52
53namespace DISPLIB
54{
55
56//=============================================================================================================
57// DISPLIB FORWARD DECLARATIONS
58//=============================================================================================================
59
60//=============================================================================================================
69{
70 Q_OBJECT
71
72public:
73 typedef QSharedPointer<MinimumNormSettingsView> SPtr;
74 typedef QSharedPointer<const MinimumNormSettingsView> ConstSPtr;
75
76 //=========================================================================================================
85 MinimumNormSettingsView(const QString& sSettingsPath = "",
86 const QString& sMethod = "",
87 QWidget* parent = 0,
88 Qt::WindowFlags f = Qt::Widget);
89
90 //=========================================================================================================
95
96 //=========================================================================================================
102 void setTriggerTypes(const QStringList& lTriggerTypes);
103
104 //=========================================================================================================
110 void setModelCheckpoint(const QString& sPath);
111
112 //=========================================================================================================
118 QString getModelCheckpoint() const;
119
120 //=========================================================================================================
124 void saveSettings();
125
126 //=========================================================================================================
130 void loadSettings();
131
132 //=========================================================================================================
136 void clearView();
137
138protected:
139 //=========================================================================================================
145 void updateGuiMode(GuiMode mode);
146
147 //=========================================================================================================
154
155 //=========================================================================================================
161 void onMethodChanged(const QString& method);
162
163 //=========================================================================================================
169 void onTriggerTypeChanged(const QString& sTriggerType);
170
171 //=========================================================================================================
176
177 //=========================================================================================================
183 void updateCmneWidgetVisibility(const QString& method);
184
185 //=========================================================================================================
190
191 Ui::MinimumNormSettingsViewWidget* m_pUi;
192 QString m_sMethod;
194
195signals:
196 //=========================================================================================================
202 void methodChanged(const QString& method);
203
204 //=========================================================================================================
210 void triggerTypeChanged(const QString& triggerType);
211
212 //=========================================================================================================
218 void timePointChanged(int iTimePoint);
219
220 //=========================================================================================================
226 void modelCheckpointChanged(const QString& sPath);
227};
228} // NAMESPACE
229
230#endif // MinimumNormSettingsView_H
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Definition disp_global.h:38
Common base widget for every dockable Quick-Control settings panel in DISPLIB.
2-D display widgets and visualisation helpers (charts, topography, colour maps).
AbstractView(QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
void setModelCheckpoint(const QString &sPath)
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 updateCmneWidgetVisibility(const QString &method)
void triggerTypeChanged(const QString &triggerType)
void setTriggerTypes(const QStringList &lTriggerTypes)
void modelCheckpointChanged(const QString &sPath)
void methodChanged(const QString &method)
Ui::MinimumNormSettingsViewWidget * m_pUi