26 #ifndef QtProfilePrefs_H
27 #define QtProfilePrefs_H
55 #include <QMainWindow>
56 #include <QMouseEvent>
57 #include <QToolButton>
66 #include <QHashIterator>
69 #include <display/QtPlotter/QtProfilePrefsGUI.ui.h>
78 QtProfilePrefs(QWidget *parent,
bool stateAutoX,
bool stateAutoY,
int showGrid,
79 int stateMProf,
int stateRel,
bool showToolTips,
bool showTopAxis,
80 bool displayStepFunction,
81 bool channelLine,
bool singleChannelImage);
86 void currentPrefs(
bool stateAutoX,
bool stateAutoY,
int showGrid,
int stateMProf,
87 int stateRel,
bool showToolTips,
bool showTopAxis,
88 bool displayStepFunction,
bool opticalFitter,
89 bool channelLine,
bool singleChannelImage);
static const QString SHOW_GRID
static const QString STEP_FUNCTION
static const QString X_AUTO_SCALE
static const QString TOP_AXIS
static const QString OVERLAY
void syncUserPreferences()
static const QString SINGLE_CHANNEL_IMAGE
QtProfilePrefs(QWidget *parent=0)
static const QString Y_AUTO_SCALE
static const QString CHANNEL_LINE
void initializeConnections()
static const QString RELATIVE
bool singleChannelImageDefault
void opticalStateChanged()
static const QString OPTICAL
void currentPrefs(bool stateAutoX, bool stateAutoY, int showGrid, int stateMProf, int stateRel, bool showToolTips, bool showTopAxis, bool displayStepFunction, bool opticalFitter, bool channelLine, bool singleChannelImage)
static const QString TOOLTIPS