Isis 3 Programmer Reference
Isis::NomenclatureToolConfigDialog Class Reference

Configure user's settings for the nomenclature tool. More...

#include <NomenclatureToolConfigDialog.h>

Inheritance diagram for Isis::NomenclatureToolConfigDialog:
Inheritance graph
Collaboration diagram for Isis::NomenclatureToolConfigDialog:
Collaboration graph

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...
 

Public Member Functions

 NomenclatureToolConfigDialog (FeatureNomenclatureTool *tool, QWidget *parent)
 Create a config dialog that configures the given FeatureNomenclatureTool. More...
 
 ~NomenclatureToolConfigDialog ()
 Clean up allocated memory. More...
 

Private Slots

void askUserForColor ()
 Prompt the user for a new font color. More...
 

Private Attributes

FeatureNomenclatureToolm_tool
 The tool we're configuring. More...
 
QPointer< QCheckBox > m_defaultOnCheckBox
 Turn on the nomenclature tool when the application starts. More...
 
QPointer< QComboBoxm_showVectorsCombo
 Show feature extents. More...
 
QPointer< QCheckBox > m_showApprovedCheckBox
 Filter out unapproved features. More...
 
QPointer< QComboBoxm_fontSizeCombo
 Font size of the labels. More...
 
QPointer< QPushButton > m_fontColorButton
 Color to use when rendering the nomenclature. More...
 
QPointer< QProgressDialog > m_updatingNomenclatureProgressDialog
 Visible when tool is updating the valid features. More...
 

Detailed Description

Configure user's settings for the nomenclature tool.

This dialog enables the user to configure the given nomenclature tool.

Author
2012-03-22 Steven Lambright and Jai Rideout
History:
2012-06-06 Seven Lambright and Kimberly Oyama - Added a QComboBox, showVectorsCombo, to choose the extent type from and a QCheckBox, showApprovedOnly, to determine whether or not unapproved or dropped features are displayed. Fixes #852. Fixes #892.

Definition at line 28 of file NomenclatureToolConfigDialog.h.

Constructor & Destructor Documentation

◆ NomenclatureToolConfigDialog()

Isis::NomenclatureToolConfigDialog::NomenclatureToolConfigDialog ( FeatureNomenclatureTool tool,
QWidget parent 
)

Create a config dialog that configures the given FeatureNomenclatureTool.

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

Definition at line 21 of file NomenclatureToolConfigDialog.cpp.

References applySettings(), Isis::FeatureNomenclatureTool::Arrows4, Isis::FeatureNomenclatureTool::Arrows8, askUserForColor(), Isis::FeatureNomenclatureTool::Box, m_defaultOnCheckBox, m_fontColorButton, m_fontSizeCombo, m_showApprovedCheckBox, m_showVectorsCombo, m_tool, Isis::FeatureNomenclatureTool::None, and readSettings().

◆ ~NomenclatureToolConfigDialog()

Isis::NomenclatureToolConfigDialog::~NomenclatureToolConfigDialog ( )

Clean up allocated memory.

Definition at line 119 of file NomenclatureToolConfigDialog.cpp.

Member Function Documentation

◆ applySettings

◆ askUserForColor

void Isis::NomenclatureToolConfigDialog::askUserForColor ( )
privateslot

Prompt the user for a new font color.

Definition at line 168 of file NomenclatureToolConfigDialog.cpp.

References m_fontColorButton.

Referenced by NomenclatureToolConfigDialog().

◆ readSettings

Member Data Documentation

◆ m_defaultOnCheckBox

QPointer<QCheckBox> Isis::NomenclatureToolConfigDialog::m_defaultOnCheckBox
private

Turn on the nomenclature tool when the application starts.

Definition at line 48 of file NomenclatureToolConfigDialog.h.

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

◆ m_fontColorButton

QPointer<QPushButton> Isis::NomenclatureToolConfigDialog::m_fontColorButton
private

Color to use when rendering the nomenclature.

Definition at line 56 of file NomenclatureToolConfigDialog.h.

Referenced by applySettings(), askUserForColor(), NomenclatureToolConfigDialog(), and readSettings().

◆ m_fontSizeCombo

QPointer<QComboBox> Isis::NomenclatureToolConfigDialog::m_fontSizeCombo
private

Font size of the labels.

Definition at line 54 of file NomenclatureToolConfigDialog.h.

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

◆ m_showApprovedCheckBox

QPointer<QCheckBox> Isis::NomenclatureToolConfigDialog::m_showApprovedCheckBox
private

Filter out unapproved features.

Definition at line 52 of file NomenclatureToolConfigDialog.h.

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

◆ m_showVectorsCombo

QPointer<QComboBox> Isis::NomenclatureToolConfigDialog::m_showVectorsCombo
private

Show feature extents.

Definition at line 50 of file NomenclatureToolConfigDialog.h.

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

◆ m_tool

FeatureNomenclatureTool* Isis::NomenclatureToolConfigDialog::m_tool
private

The tool we're configuring.

Definition at line 45 of file NomenclatureToolConfigDialog.h.

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

◆ m_updatingNomenclatureProgressDialog

QPointer<QProgressDialog> Isis::NomenclatureToolConfigDialog::m_updatingNomenclatureProgressDialog
private

Visible when tool is updating the valid features.

Definition at line 58 of file NomenclatureToolConfigDialog.h.


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