Isis 3 Programmer Reference
Isis::ScatterPlotAlarmConfigDialog Class Reference

This is the configuration dialog for alarming scatter plots between the plot window and cube viewports. More...

#include <ScatterPlotAlarmConfigDialog.h>

Inheritance diagram for Isis::ScatterPlotAlarmConfigDialog:
Inheritance graph
Collaboration diagram for Isis::ScatterPlotAlarmConfigDialog:
Collaboration graph

Public Slots

void applySettingsToScatterPlot ()
 Take the settings that have been configured and apply them to the scatter plot. More...
 
void readSettingsFromScatterPlot ()
 Update the current widgets' states with the current settings in the scatter plot window. More...
 

Public Member Functions

 ScatterPlotAlarmConfigDialog (ScatterPlotWindow *window, QWidget *parent=NULL)
 Create an alarming configuration dialog. More...
 

Private Slots

void refreshWidgetStates ()
 Update the enabled/disabled states of the various widgets based on the current user inputs' states. More...
 

Private Member Functions

 ScatterPlotAlarmConfigDialog (const ScatterPlotAlarmConfigDialog &other)
 Copying this class is disallowed. More...
 
ScatterPlotAlarmConfigDialogoperator= (const ScatterPlotAlarmConfigDialog &other)
 Assignment of this class is disallowed. More...
 

Private Attributes

QPointer< QCheckBox > m_alarmOntoPlot
 This is the user option for enabling alarming viewport->plot. More...
 
QPointer< QSpinBoxm_alarmOntoPlotSamples
 This is the sample box size for alarming viewport->plot. More...
 
QPointer< QSpinBoxm_alarmOntoPlotLines
 This is the line box size for alarming viewport->plot. More...
 
QPointer< QCheckBox > m_alarmOntoViewport
 This is the user option for enabling alarming plot->viewport. More...
 
QPointer< QComboBoxm_alarmOntoViewportUnits
 This is whether alarming plot->viewport should be screen pixels or a set box size regardless of zoom level/axis units. More...
 
QPointer< QLineEdit > m_alarmOntoViewportXDnSize
 The X-Pixel Cube DN Box Size for alarming plot->viewport. More...
 
QPointer< QLineEdit > m_alarmOntoViewportYDnSize
 The Y-Pixel Cube DN Box Size for alarming plot->viewport. More...
 
QPointer< QSpinBoxm_alarmOntoViewportWidth
 The X-Pixel Screen Box Size for alarming plot->viewport. More...
 
QPointer< QSpinBoxm_alarmOntoViewportHeight
 The Y-Pixel Screen Box Size for alarming plot->viewport. More...
 
QPointer< QPushButton > m_okayButton
 Button for accepting the current settings and closing the window. More...
 
QPointer< QPushButton > m_applyButton
 Button for accepting the current settings. More...
 
QPointer< ScatterPlotWindowm_window
 The scatter plot window that we're configuring alarming on. More...
 

Detailed Description

This is the configuration dialog for alarming scatter plots between the plot window and cube viewports.

Author
2012-01-18 Steven Lambright and Jai Rideout

Definition at line 27 of file ScatterPlotAlarmConfigDialog.h.

Constructor & Destructor Documentation

◆ ScatterPlotAlarmConfigDialog() [1/2]

Isis::ScatterPlotAlarmConfigDialog::ScatterPlotAlarmConfigDialog ( ScatterPlotWindow window,
QWidget parent = NULL 
)

Create an alarming configuration dialog.

This fully initializes the state, but a valid scatter plot window must be specified.

Parameters
windowThe scatter plot window to be configured, this must not be NULL.
parentThe Qt-parent for this dialog.

The layout is shown below:

|-----------------------------------------------------------—| | Text rowspan=1, colspan=3 | |-----------------------------------------------------------—| | Alarm onto plot | [] Checkbox | |-----------------------------------------------------------—| | Text rowspan=1, colspan=3 | |-----------------------------------------------------------—| | | Samples | Input Spin | |-----------------------------------------------------------—| | | Lines | Input Spin | |-----------------------------------------------------------—| | Alarm onto viewport | [] Checkbox | |-----------------------------------------------------------—| | Text rowspan=1, colspan=3 | |-----------------------------------------------------------—| | | Range (units) | Input Combo (screen v. cube) | |-----------------------------------------------------------—| | | Samples | Input Spin | |-----------------------------------------------------------—| | | Lines | Input Spin | |-----------------------------------------------------------—| | | Width | Input Spin | |-----------------------------------------------------------—| | | Height | Input Spin | |-----------------------------------------------------------—| | Ok Apply Cancel | |-----------------------------------------------------------—|

Definition at line 29 of file ScatterPlotAlarmConfigDialog.cpp.

References applySettingsToScatterPlot(), Isis::ScatterPlotWindow::CubeUnits, m_alarmOntoPlot, m_alarmOntoPlotLines, m_alarmOntoPlotSamples, m_alarmOntoViewport, m_alarmOntoViewportHeight, m_alarmOntoViewportUnits, m_alarmOntoViewportWidth, m_alarmOntoViewportXDnSize, m_alarmOntoViewportYDnSize, m_applyButton, m_okayButton, m_window, readSettingsFromScatterPlot(), refreshWidgetStates(), and Isis::ScatterPlotWindow::ScreenUnits.

◆ ScatterPlotAlarmConfigDialog() [2/2]

Isis::ScatterPlotAlarmConfigDialog::ScatterPlotAlarmConfigDialog ( const ScatterPlotAlarmConfigDialog other)
private

Copying this class is disallowed.

Parameters
otherNothing.

Member Function Documentation

◆ applySettingsToScatterPlot

void Isis::ScatterPlotAlarmConfigDialog::applySettingsToScatterPlot ( )
slot

◆ operator=()

ScatterPlotAlarmConfigDialog& Isis::ScatterPlotAlarmConfigDialog::operator= ( const ScatterPlotAlarmConfigDialog other)
private

Assignment of this class is disallowed.

Parameters
otherNothing.
Returns
Nothing.

◆ readSettingsFromScatterPlot

void Isis::ScatterPlotAlarmConfigDialog::readSettingsFromScatterPlot ( )
slot

◆ refreshWidgetStates

void Isis::ScatterPlotAlarmConfigDialog::refreshWidgetStates ( )
privateslot

Member Data Documentation

◆ m_alarmOntoPlot

QPointer<QCheckBox> Isis::ScatterPlotAlarmConfigDialog::m_alarmOntoPlot
private

This is the user option for enabling alarming viewport->plot.

Definition at line 58 of file ScatterPlotAlarmConfigDialog.h.

Referenced by applySettingsToScatterPlot(), readSettingsFromScatterPlot(), refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_alarmOntoPlotLines

QPointer<QSpinBox> Isis::ScatterPlotAlarmConfigDialog::m_alarmOntoPlotLines
private

This is the line box size for alarming viewport->plot.

Definition at line 62 of file ScatterPlotAlarmConfigDialog.h.

Referenced by applySettingsToScatterPlot(), readSettingsFromScatterPlot(), refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_alarmOntoPlotSamples

QPointer<QSpinBox> Isis::ScatterPlotAlarmConfigDialog::m_alarmOntoPlotSamples
private

This is the sample box size for alarming viewport->plot.

Definition at line 60 of file ScatterPlotAlarmConfigDialog.h.

Referenced by applySettingsToScatterPlot(), readSettingsFromScatterPlot(), refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_alarmOntoViewport

QPointer<QCheckBox> Isis::ScatterPlotAlarmConfigDialog::m_alarmOntoViewport
private

This is the user option for enabling alarming plot->viewport.

Definition at line 65 of file ScatterPlotAlarmConfigDialog.h.

Referenced by applySettingsToScatterPlot(), readSettingsFromScatterPlot(), refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_alarmOntoViewportHeight

QPointer<QSpinBox> Isis::ScatterPlotAlarmConfigDialog::m_alarmOntoViewportHeight
private

The Y-Pixel Screen Box Size for alarming plot->viewport.

Definition at line 78 of file ScatterPlotAlarmConfigDialog.h.

Referenced by applySettingsToScatterPlot(), readSettingsFromScatterPlot(), refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_alarmOntoViewportUnits

QPointer<QComboBox> Isis::ScatterPlotAlarmConfigDialog::m_alarmOntoViewportUnits
private

This is whether alarming plot->viewport should be screen pixels or a set box size regardless of zoom level/axis units.

Definition at line 70 of file ScatterPlotAlarmConfigDialog.h.

Referenced by applySettingsToScatterPlot(), readSettingsFromScatterPlot(), refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_alarmOntoViewportWidth

QPointer<QSpinBox> Isis::ScatterPlotAlarmConfigDialog::m_alarmOntoViewportWidth
private

The X-Pixel Screen Box Size for alarming plot->viewport.

Definition at line 76 of file ScatterPlotAlarmConfigDialog.h.

Referenced by applySettingsToScatterPlot(), readSettingsFromScatterPlot(), refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_alarmOntoViewportXDnSize

QPointer<QLineEdit> Isis::ScatterPlotAlarmConfigDialog::m_alarmOntoViewportXDnSize
private

The X-Pixel Cube DN Box Size for alarming plot->viewport.

Definition at line 72 of file ScatterPlotAlarmConfigDialog.h.

Referenced by applySettingsToScatterPlot(), readSettingsFromScatterPlot(), refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_alarmOntoViewportYDnSize

QPointer<QLineEdit> Isis::ScatterPlotAlarmConfigDialog::m_alarmOntoViewportYDnSize
private

The Y-Pixel Cube DN Box Size for alarming plot->viewport.

Definition at line 74 of file ScatterPlotAlarmConfigDialog.h.

Referenced by applySettingsToScatterPlot(), readSettingsFromScatterPlot(), refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_applyButton

QPointer<QPushButton> Isis::ScatterPlotAlarmConfigDialog::m_applyButton
private

Button for accepting the current settings.

This may be disabled if the user inputs don't make sense.

Definition at line 90 of file ScatterPlotAlarmConfigDialog.h.

Referenced by refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_okayButton

QPointer<QPushButton> Isis::ScatterPlotAlarmConfigDialog::m_okayButton
private

Button for accepting the current settings and closing the window.

This may be disabled if the user inputs don't make sense.

Definition at line 84 of file ScatterPlotAlarmConfigDialog.h.

Referenced by refreshWidgetStates(), and ScatterPlotAlarmConfigDialog().

◆ m_window

QPointer<ScatterPlotWindow> Isis::ScatterPlotAlarmConfigDialog::m_window
private

The scatter plot window that we're configuring alarming on.

Definition at line 93 of file ScatterPlotAlarmConfigDialog.h.

Referenced by applySettingsToScatterPlot(), readSettingsFromScatterPlot(), and ScatterPlotAlarmConfigDialog().


The documentation for this class was generated from the following files: