Isis 3 Programmer Reference
|
Configure qmos Control Net Tool's movement arrows. More...
#include <MosaicControlNetToolMovementConfigDialog.h>
Public Slots | |
void | applySettings () |
Apply the user's current settings to the tool. More... | |
void | readSettings () |
Read the tool's current settings and set the widget states to match. More... | |
void | refreshWidgetStates () |
Enables or disables widgets depending on the state of the tool. More... | |
Public Member Functions | |
MosaicControlNetToolMovementConfigDialog (MosaicControlNetTool *tool, QWidget *parent) | |
Create a config dialog that configures the given MosaicControlNetTool. More... | |
~MosaicControlNetToolMovementConfigDialog () | |
Clean up allocated memory. More... | |
Private Member Functions | |
Q_DISABLE_COPY (MosaicControlNetToolMovementConfigDialog) | |
Private Attributes | |
QPointer< MosaicControlNetTool > | m_tool |
The MosaicControlNetTool that we're configuring. More... | |
QPointer< QCheckBox > | m_showMovementCheckBox |
Check box for enabling/disabling arrows entirely. More... | |
QPointer< QComboBox > | m_colorSourceComboBox |
Combo box for all coloring possibilities. More... | |
QPointer< QLabel > | m_brightestMeasureCountValueLabel |
Label of max measure count input. More... | |
QPointer< QLineEdit > | m_brightestMeasureCountValueLineEdit |
Max measure count input. More... | |
QPointer< QLabel > | m_brightestResidualMagValueLabel |
Label of max residual magnitude input. More... | |
QPointer< QLineEdit > | m_brightestResidualMagValueLineEdit |
Max residual magnitude input. More... | |
QPointer< QPushButton > | m_okayButton |
OK button at bottom of dialog. More... | |
QPointer< QPushButton > | m_applyButton |
Apply button at bottom of dialog. More... | |
Configure qmos Control Net Tool's movement arrows.
This allows a user to configure the qmos Control Net Tool's movement arrows. These are the arrows that go from the A Priori surface point to the Adjusted surface point.
Definition at line 27 of file MosaicControlNetToolMovementConfigDialog.h.
Isis::MosaicControlNetToolMovementConfigDialog::MosaicControlNetToolMovementConfigDialog | ( | MosaicControlNetTool * | tool, |
QWidget * | parent | ||
) |
Create a config dialog that configures the given MosaicControlNetTool.
tool | The tool to read settings from and write settings to. |
parent | The qt-parent relationship parent. |
Definition at line 35 of file MosaicControlNetToolMovementConfigDialog.cpp.
References applySettings(), m_applyButton, m_brightestMeasureCountValueLabel, m_brightestMeasureCountValueLineEdit, m_brightestResidualMagValueLabel, m_brightestResidualMagValueLineEdit, m_colorSourceComboBox, m_okayButton, m_showMovementCheckBox, m_tool, Isis::MosaicControlNetTool::MeasureCount, Isis::MosaicControlNetTool::NoColor, readSettings(), refreshWidgetStates(), and Isis::MosaicControlNetTool::ResidualMagnitude.
Isis::MosaicControlNetToolMovementConfigDialog::~MosaicControlNetToolMovementConfigDialog | ( | ) |
Clean up allocated memory.
Definition at line 150 of file MosaicControlNetToolMovementConfigDialog.cpp.
|
slot |
Apply the user's current settings to the tool.
Definition at line 157 of file MosaicControlNetToolMovementConfigDialog.cpp.
References m_brightestMeasureCountValueLineEdit, m_brightestResidualMagValueLineEdit, m_colorSourceComboBox, m_showMovementCheckBox, m_tool, Isis::MosaicControlNetTool::NoMovement, Isis::Null, readSettings(), Isis::toDouble(), and Isis::toInt().
Referenced by MosaicControlNetToolMovementConfigDialog().
|
slot |
Read the tool's current settings and set the widget states to match.
Definition at line 182 of file MosaicControlNetToolMovementConfigDialog.cpp.
References m_brightestMeasureCountValueLineEdit, m_brightestResidualMagValueLineEdit, m_colorSourceComboBox, m_showMovementCheckBox, m_tool, Isis::MosaicControlNetTool::NoMovement, Isis::Null, refreshWidgetStates(), and Isis::toString().
Referenced by applySettings(), and MosaicControlNetToolMovementConfigDialog().
|
slot |
Enables or disables widgets depending on the state of the tool.
Definition at line 207 of file MosaicControlNetToolMovementConfigDialog.cpp.
References m_applyButton, m_brightestMeasureCountValueLabel, m_brightestMeasureCountValueLineEdit, m_brightestResidualMagValueLabel, m_brightestResidualMagValueLineEdit, m_colorSourceComboBox, m_okayButton, m_showMovementCheckBox, Isis::MosaicControlNetTool::MeasureCount, Isis::MosaicControlNetTool::NoColor, Isis::MosaicControlNetTool::ResidualMagnitude, and Isis::toInt().
Referenced by MosaicControlNetToolMovementConfigDialog(), and readSettings().
|
private |
Apply button at bottom of dialog.
Definition at line 62 of file MosaicControlNetToolMovementConfigDialog.h.
Referenced by MosaicControlNetToolMovementConfigDialog(), and refreshWidgetStates().
|
private |
Label of max measure count input.
Definition at line 51 of file MosaicControlNetToolMovementConfigDialog.h.
Referenced by MosaicControlNetToolMovementConfigDialog(), and refreshWidgetStates().
|
private |
Max measure count input.
Definition at line 53 of file MosaicControlNetToolMovementConfigDialog.h.
Referenced by applySettings(), MosaicControlNetToolMovementConfigDialog(), readSettings(), and refreshWidgetStates().
|
private |
Label of max residual magnitude input.
Definition at line 55 of file MosaicControlNetToolMovementConfigDialog.h.
Referenced by MosaicControlNetToolMovementConfigDialog(), and refreshWidgetStates().
|
private |
Max residual magnitude input.
Definition at line 57 of file MosaicControlNetToolMovementConfigDialog.h.
Referenced by applySettings(), MosaicControlNetToolMovementConfigDialog(), readSettings(), and refreshWidgetStates().
|
private |
Combo box for all coloring possibilities.
Definition at line 49 of file MosaicControlNetToolMovementConfigDialog.h.
Referenced by applySettings(), MosaicControlNetToolMovementConfigDialog(), readSettings(), and refreshWidgetStates().
|
private |
OK button at bottom of dialog.
Definition at line 60 of file MosaicControlNetToolMovementConfigDialog.h.
Referenced by MosaicControlNetToolMovementConfigDialog(), and refreshWidgetStates().
|
private |
Check box for enabling/disabling arrows entirely.
Definition at line 47 of file MosaicControlNetToolMovementConfigDialog.h.
Referenced by applySettings(), MosaicControlNetToolMovementConfigDialog(), readSettings(), and refreshWidgetStates().
|
private |
The MosaicControlNetTool that we're configuring.
Definition at line 44 of file MosaicControlNetToolMovementConfigDialog.h.
Referenced by applySettings(), MosaicControlNetToolMovementConfigDialog(), and readSettings().