Isis 3 Programmer Reference
ScatterPlotAlarmConfigDialog.h
1#ifndef ScatterPlotAlarmConfigDialog_h
2#define ScatterPlotAlarmConfigDialog_h
3
4#include <QDialog>
5
6#include <QPointer>
7
8class QCheckBox;
9class QComboBox;
10class QLineEdit;
11class QPushButton;
12class QSpinBox;
13class QWidget;
14
15namespace Isis {
16 class ScatterPlotWindow;
17
28 Q_OBJECT
29
30 public:
32 QWidget *parent = NULL);
34
35 public slots:
38
39 private:
51 const ScatterPlotAlarmConfigDialog &other);
52
53 private slots:
55
56 private:
58 QPointer<QCheckBox> m_alarmOntoPlot;
60 QPointer<QSpinBox> m_alarmOntoPlotSamples;
62 QPointer<QSpinBox> m_alarmOntoPlotLines;
63
65 QPointer<QCheckBox> m_alarmOntoViewport;
70 QPointer<QComboBox> m_alarmOntoViewportUnits;
72 QPointer<QLineEdit> m_alarmOntoViewportXDnSize;
74 QPointer<QLineEdit> m_alarmOntoViewportYDnSize;
76 QPointer<QSpinBox> m_alarmOntoViewportWidth;
78 QPointer<QSpinBox> m_alarmOntoViewportHeight;
79
84 QPointer<QPushButton> m_okayButton;
85
90 QPointer<QPushButton> m_applyButton;
91
93 QPointer<ScatterPlotWindow> m_window;
94 };
95}
96
97#endif
This is the configuration dialog for alarming scatter plots between the plot window and cube viewport...
QPointer< QCheckBox > m_alarmOntoPlot
This is the user option for enabling alarming viewport->plot.
QPointer< QPushButton > m_applyButton
Button for accepting the current settings.
QPointer< QLineEdit > m_alarmOntoViewportXDnSize
The X-Pixel Cube DN Box Size for alarming plot->viewport.
QPointer< QSpinBox > m_alarmOntoViewportHeight
The Y-Pixel Screen Box Size for alarming plot->viewport.
QPointer< ScatterPlotWindow > m_window
The scatter plot window that we're configuring alarming on.
void applySettingsToScatterPlot()
Take the settings that have been configured and apply them to the scatter plot.
void refreshWidgetStates()
Update the enabled/disabled states of the various widgets based on the current user inputs' states.
ScatterPlotAlarmConfigDialog(const ScatterPlotAlarmConfigDialog &other)
Copying this class is disallowed.
ScatterPlotAlarmConfigDialog & operator=(const ScatterPlotAlarmConfigDialog &other)
Assignment of this class is disallowed.
QPointer< QPushButton > m_okayButton
Button for accepting the current settings and closing the window.
QPointer< QComboBox > m_alarmOntoViewportUnits
This is whether alarming plot->viewport should be screen pixels or a set box size regardless of zoom ...
QPointer< QSpinBox > m_alarmOntoPlotSamples
This is the sample box size for alarming viewport->plot.
QPointer< QSpinBox > m_alarmOntoPlotLines
This is the line box size for alarming viewport->plot.
QPointer< QCheckBox > m_alarmOntoViewport
This is the user option for enabling alarming plot->viewport.
QPointer< QLineEdit > m_alarmOntoViewportYDnSize
The Y-Pixel Cube DN Box Size for alarming plot->viewport.
ScatterPlotAlarmConfigDialog(ScatterPlotWindow *window, QWidget *parent=NULL)
Create an alarming configuration dialog.
void readSettingsFromScatterPlot()
Update the current widgets' states with the current settings in the scatter plot window.
QPointer< QSpinBox > m_alarmOntoViewportWidth
The X-Pixel Screen Box Size for alarming plot->viewport.
Scatter Plot Window.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16