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 class MinimumNormSettingsViewWidget;
46}
47
48//=============================================================================================================
49// DEFINE NAMESPACE DISPLIB
50//=============================================================================================================
51
52namespace DISPLIB
53{
54
55//=============================================================================================================
56// DISPLIB FORWARD DECLARATIONS
57//=============================================================================================================
58
59//=============================================================================================================
68{
69 Q_OBJECT
70
71public:
72 typedef QSharedPointer<MinimumNormSettingsView> SPtr;
73 typedef QSharedPointer<const MinimumNormSettingsView> ConstSPtr;
74
75 //=========================================================================================================
81 MinimumNormSettingsView(const QString& sSettingsPath = "",
82 const QString& sMethod = "",
83 QWidget *parent = 0,
84 Qt::WindowFlags f = Qt::Widget);
85
86 //=========================================================================================================
91
92 //=========================================================================================================
98 void setTriggerTypes(const QStringList& lTriggerTypes);
99
100 //=========================================================================================================
106 void setModelCheckpoint(const QString& sPath);
107
108 //=========================================================================================================
112 QString getModelCheckpoint() const;
113
114 //=========================================================================================================
118 void saveSettings();
119
120 //=========================================================================================================
124 void loadSettings();
125
126 //=========================================================================================================
130 void clearView();
131
132protected:
133 //=========================================================================================================
139 void updateGuiMode(GuiMode mode);
140
141 //=========================================================================================================
148
149 //=========================================================================================================
155 void onMethodChanged(const QString& method);
156
157 //=========================================================================================================
163 void onTriggerTypeChanged(const QString& sTriggerType);
164
165 //=========================================================================================================
170
171 //=========================================================================================================
177 void updateCmneWidgetVisibility(const QString& method);
178
179 //=========================================================================================================
184
185 Ui::MinimumNormSettingsViewWidget* m_pUi;
186 QString m_sMethod;
188
189signals:
190 //=========================================================================================================
196 void methodChanged(const QString& method);
197
198 //=========================================================================================================
204 void triggerTypeChanged(const QString& triggerType);
205
206 //=========================================================================================================
212 void timePointChanged(int iTimePoint);
213
214 //=========================================================================================================
220 void modelCheckpointChanged(const QString& sPath);
221};
222} // NAMESPACE
223
224#endif // MinimumNormSettingsView_H
Common base widget for every dockable Quick-Control settings panel in DISPLIB.
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Definition disp_global.h:38
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