USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::CnetEditorSortConfigDialog Class Reference

Configure user's sorting settings for the cneteditor widget. More...

#include <CnetEditorSortConfigDialog.h>

Inheritance diagram for Isis::CnetEditorSortConfigDialog:
Inheritance graph
Collaboration diagram for Isis::CnetEditorSortConfigDialog:
Collaboration graph

Public Slots

void applySettings ()
 Apply the user's current settings to the cneteditor widget.
 
void readSettings ()
 Read the cneteditor widget's current settings and set the widget states to match.
 

Public Member Functions

 CnetEditorSortConfigDialog (CnetEditorWidget *cnetWidget)
 Create a config dialog that configures the given FeatureCnetEditorSort.
 
 ~CnetEditorSortConfigDialog ()
 Clean up allocated memory.
 

Private Slots

void refreshWidgetStates ()
 Enable or disable inputs based on what the user has selected for options so far.
 

Private Attributes

QPointer< CnetEditorWidgetm_cnetWidget
 The cneteditor widget we're configuring.
 
QPointer< QCheckBox > m_pointSortingCheckBox
 Enable sorting on the point table.
 
QPointer< QSpinBoxm_pointTableLimitSpinBox
 When less than this number, sorting is enabled on the point table.
 
QPointer< QLabel > m_pointTableWarningsLabel
 Say (very clearly) if sorting is disabled and why.
 
QPointer< QCheckBox > m_measureSortingCheckBox
 Enable sorting on the measure table.
 
QPointer< QSpinBoxm_measureTableLimitSpinBox
 When less than this number, sorting is enabled on the measure table.
 
QPointer< QLabel > m_measureTableWarningsLabel
 Say (very clearly) if sorting is disabled and why.
 

Detailed Description

Configure user's sorting settings for the cneteditor widget.

This dialog enables the user to configure the sorting options in the cneteditor widget.

Author
2012-04-02 Steven Lambright and Jai Rideout
History:
2012-09-28 Kimberly Oyama - Changed member variables to be prefixed with "m_".

Definition at line 27 of file CnetEditorSortConfigDialog.h.

Constructor & Destructor Documentation

Isis::CnetEditorSortConfigDialog::CnetEditorSortConfigDialog ( CnetEditorWidget cnetWidget)

Create a config dialog that configures the given FeatureCnetEditorSort.

Parameters
toolThe tool to read settings from and write settings to.
parentThe qt-parent relationship parent.

Definition at line 19 of file CnetEditorSortConfigDialog.cpp.

References applySettings(), m_cnetWidget, m_measureSortingCheckBox, m_measureTableLimitSpinBox, m_measureTableWarningsLabel, m_pointSortingCheckBox, m_pointTableLimitSpinBox, m_pointTableWarningsLabel, readSettings(), and refreshWidgetStates().

Isis::CnetEditorSortConfigDialog::~CnetEditorSortConfigDialog ( )

Clean up allocated memory.

Definition at line 119 of file CnetEditorSortConfigDialog.cpp.

Member Function Documentation

void Isis::CnetEditorSortConfigDialog::applySettings ( )
slot

Apply the user's current settings to the cneteditor widget.

Definition at line 126 of file CnetEditorSortConfigDialog.cpp.

References m_cnetWidget, m_measureSortingCheckBox, m_measureTableLimitSpinBox, m_pointSortingCheckBox, m_pointTableLimitSpinBox, and readSettings().

Referenced by CnetEditorSortConfigDialog().

void Isis::CnetEditorSortConfigDialog::readSettings ( )
slot

Read the cneteditor widget's current settings and set the widget states to match.

Definition at line 145 of file CnetEditorSortConfigDialog.cpp.

References m_cnetWidget, m_measureSortingCheckBox, m_measureTableLimitSpinBox, m_measureTableWarningsLabel, m_pointSortingCheckBox, m_pointTableLimitSpinBox, and m_pointTableWarningsLabel.

Referenced by applySettings(), and CnetEditorSortConfigDialog().

void Isis::CnetEditorSortConfigDialog::refreshWidgetStates ( )
privateslot

Enable or disable inputs based on what the user has selected for options so far.

Definition at line 194 of file CnetEditorSortConfigDialog.cpp.

References m_measureSortingCheckBox, m_measureTableLimitSpinBox, m_pointSortingCheckBox, and m_pointTableLimitSpinBox.

Referenced by CnetEditorSortConfigDialog().

Member Data Documentation

QPointer<CnetEditorWidget> Isis::CnetEditorSortConfigDialog::m_cnetWidget
private

The cneteditor widget we're configuring.

Definition at line 43 of file CnetEditorSortConfigDialog.h.

Referenced by applySettings(), CnetEditorSortConfigDialog(), and readSettings().

QPointer<QCheckBox> Isis::CnetEditorSortConfigDialog::m_measureSortingCheckBox
private

Enable sorting on the measure table.

Definition at line 55 of file CnetEditorSortConfigDialog.h.

Referenced by applySettings(), CnetEditorSortConfigDialog(), readSettings(), and refreshWidgetStates().

QPointer<QSpinBox> Isis::CnetEditorSortConfigDialog::m_measureTableLimitSpinBox
private

When less than this number, sorting is enabled on the measure table.

Definition at line 58 of file CnetEditorSortConfigDialog.h.

Referenced by applySettings(), CnetEditorSortConfigDialog(), readSettings(), and refreshWidgetStates().

QPointer<QLabel> Isis::CnetEditorSortConfigDialog::m_measureTableWarningsLabel
private

Say (very clearly) if sorting is disabled and why.

Definition at line 61 of file CnetEditorSortConfigDialog.h.

Referenced by CnetEditorSortConfigDialog(), and readSettings().

QPointer<QCheckBox> Isis::CnetEditorSortConfigDialog::m_pointSortingCheckBox
private

Enable sorting on the point table.

Definition at line 46 of file CnetEditorSortConfigDialog.h.

Referenced by applySettings(), CnetEditorSortConfigDialog(), readSettings(), and refreshWidgetStates().

QPointer<QSpinBox> Isis::CnetEditorSortConfigDialog::m_pointTableLimitSpinBox
private

When less than this number, sorting is enabled on the point table.

Definition at line 49 of file CnetEditorSortConfigDialog.h.

Referenced by applySettings(), CnetEditorSortConfigDialog(), readSettings(), and refreshWidgetStates().

QPointer<QLabel> Isis::CnetEditorSortConfigDialog::m_pointTableWarningsLabel
private

Say (very clearly) if sorting is disabled and why.

Definition at line 52 of file CnetEditorSortConfigDialog.h.

Referenced by CnetEditorSortConfigDialog(), and readSettings().


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