42 #include "../disp_global.h"
62 class ScalingViewWidget;
119 typedef QSharedPointer<ScalingView>
SPtr;
130 Qt::WindowFlags f = Qt::Widget,
131 const QStringList& lChannelsToShow = QStringList() <<
"all");
145 QMap<qint32,float> getScaleMap()
const;
151 void setScaleMap(
const QMap<qint32, float> &qMapChScaling);
157 void saveSettings()
override;
163 void loadSettings()
override;
169 void clearView()
override;
177 void setMagGradLink(
int l);
187 void scalingChanged(
const QMap<qint32, float>& scalingMap);
195 void processScalingChange();
201 void showLinkControl();
209 void updateMAGScale(
double dScale);
217 void updateGRADScale(
double dScale);
225 void updateMAGtoGRADlink(
double dScale);
233 void updateEEGScale(
double dScale);
241 void updateEOGScale(
double dScale);
249 void updateEMGScale(
double dScale);
257 void updateECGScale(
double dScale);
265 void updateMISCScale(
double dScale);
273 void updateSTIMScale(
double dScale);
281 void updateGuiMode(GuiMode mode)
override;
289 void updateProcessingMode(ProcessingMode mode)
override;
295 void createScaleControls();
301 void drawScalingGUI();
307 void linkMagToGrad();
313 void linkGradToMag();
319 void createLinkMagGradCheckBox();
327 void keyReleaseEvent(QKeyEvent* event)
override;
335 void keyPressEvent(QKeyEvent* event)
override;
337 QMap<qint32, float> m_qMapChScaling;
338 QMap<qint32, QPointer<ScaleControl> > m_qMapScaleControls;
340 QString m_sSettingsPath;
342 QStringList m_lChannelTypesToShow;
344 Ui::ScalingViewWidget* m_pUi;
345 bool m_bLinkMAGtoGRAD;
346 bool m_bIsShiftKeyPressed;
347 bool m_bManagingSpinBoxChange;
348 bool m_bManagingSliderChange;
349 bool m_bManagingLinkMagToGrad;
350 QPointer<QCheckBox> m_pCheckBox;
355 #endif // SCALINGVIEW_H