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