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
QPointer< QCheckBox > m_alarmOntoPlot
This is the user option for enabling alarming viewport->plot.
ScatterPlotAlarmConfigDialog & operator=(const ScatterPlotAlarmConfigDialog &other)
Assignment of this class is disallowed.
QPointer< QSpinBox > m_alarmOntoViewportHeight
The Y-Pixel Screen Box Size for alarming plot->viewport.
QPointer< QSpinBox > m_alarmOntoPlotSamples
This is the sample box size for 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.
void readSettingsFromScatterPlot()
Update the current widgets&#39; states with the current settings in the scatter plot window.
QPointer< QCheckBox > m_alarmOntoViewport
This is the user option for enabling alarming plot->viewport.
QPointer< ScatterPlotWindow > m_window
The scatter plot window that we&#39;re configuring alarming on.
This is the configuration dialog for alarming scatter plots between the plot window and cube viewport...
void refreshWidgetStates()
Update the enabled/disabled states of the various widgets based on the current user inputs&#39; states...
Scatter Plot Window.
ScatterPlotAlarmConfigDialog(ScatterPlotWindow *window, QWidget *parent=NULL)
Create an alarming configuration dialog.
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 ...
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void applySettingsToScatterPlot()
Take the settings that have been configured and apply them to the scatter plot.
QPointer< QLineEdit > m_alarmOntoViewportYDnSize
The Y-Pixel Cube DN Box Size for alarming plot->viewport.
QPointer< QSpinBox > m_alarmOntoViewportWidth
The X-Pixel Screen Box Size for alarming plot->viewport.
QPointer< QSpinBox > m_alarmOntoPlotLines
This is the line box size for alarming viewport->plot.