Isis 3 Programmer Reference
NomenclatureToolConfigDialog.h
1
#ifndef NomenclatureToolConfigDialog_h
2
#define NomenclatureToolConfigDialog_h
3
4
#include <QDialog>
5
#include <QPointer>
6
#include <QProgressDialog>
7
8
class
QCheckBox;
9
class
QComboBox
;
10
class
QPushButton;
11
12
namespace
Isis
{
13
class
FeatureNomenclatureTool;
14
28
class
NomenclatureToolConfigDialog
:
public
QDialog
{
29
Q_OBJECT
30
31
public
:
32
NomenclatureToolConfigDialog
(
FeatureNomenclatureTool
*tool,
33
QWidget
*parent);
34
~NomenclatureToolConfigDialog
();
35
36
public
slots:
37
void
applySettings
();
38
void
readSettings
();
39
40
private
slots:
41
void
askUserForColor
();
42
43
private
:
45
FeatureNomenclatureTool
*
m_tool
;
46
48
QPointer<QCheckBox>
m_defaultOnCheckBox
;
50
QPointer<QComboBox>
m_showVectorsCombo
;
52
QPointer<QCheckBox>
m_showApprovedCheckBox
;
54
QPointer<QComboBox>
m_fontSizeCombo
;
56
QPointer<QPushButton>
m_fontColorButton
;
58
QPointer<QProgressDialog>
m_updatingNomenclatureProgressDialog
;
59
};
60
};
61
62
#endif
Isis::NomenclatureToolConfigDialog::m_tool
FeatureNomenclatureTool * m_tool
The tool we're configuring.
Definition:
NomenclatureToolConfigDialog.h:45
QWidget
Isis::NomenclatureToolConfigDialog::~NomenclatureToolConfigDialog
~NomenclatureToolConfigDialog()
Clean up allocated memory.
Definition:
NomenclatureToolConfigDialog.cpp:119
Isis::NomenclatureToolConfigDialog::m_showApprovedCheckBox
QPointer< QCheckBox > m_showApprovedCheckBox
Filter out unapproved features.
Definition:
NomenclatureToolConfigDialog.h:52
Isis::NomenclatureToolConfigDialog::m_showVectorsCombo
QPointer< QComboBox > m_showVectorsCombo
Show feature extents.
Definition:
NomenclatureToolConfigDialog.h:50
Isis::NomenclatureToolConfigDialog::NomenclatureToolConfigDialog
NomenclatureToolConfigDialog(FeatureNomenclatureTool *tool, QWidget *parent)
Create a config dialog that configures the given FeatureNomenclatureTool.
Definition:
NomenclatureToolConfigDialog.cpp:21
QComboBox
Isis::NomenclatureToolConfigDialog::askUserForColor
void askUserForColor()
Prompt the user for a new font color.
Definition:
NomenclatureToolConfigDialog.cpp:168
Isis::NomenclatureToolConfigDialog::m_fontColorButton
QPointer< QPushButton > m_fontColorButton
Color to use when rendering the nomenclature.
Definition:
NomenclatureToolConfigDialog.h:56
Isis::NomenclatureToolConfigDialog
Configure user's settings for the nomenclature tool.
Definition:
NomenclatureToolConfigDialog.h:28
Isis::FeatureNomenclatureTool
Display nomenclature on MDI Cube Viewports.
Definition:
FeatureNomenclatureTool.h:56
Isis::NomenclatureToolConfigDialog::applySettings
void applySettings()
Apply the user's current settings to the tool.
Definition:
NomenclatureToolConfigDialog.cpp:127
Isis::NomenclatureToolConfigDialog::readSettings
void readSettings()
Read the tool's current settings and set the widget states to match.
Definition:
NomenclatureToolConfigDialog.cpp:148
Isis::NomenclatureToolConfigDialog::m_fontSizeCombo
QPointer< QComboBox > m_fontSizeCombo
Font size of the labels.
Definition:
NomenclatureToolConfigDialog.h:54
Isis::NomenclatureToolConfigDialog::m_defaultOnCheckBox
QPointer< QCheckBox > m_defaultOnCheckBox
Turn on the nomenclature tool when the application starts.
Definition:
NomenclatureToolConfigDialog.h:48
QDialog
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
Isis::NomenclatureToolConfigDialog::m_updatingNomenclatureProgressDialog
QPointer< QProgressDialog > m_updatingNomenclatureProgressDialog
Visible when tool is updating the valid features.
Definition:
NomenclatureToolConfigDialog.h:58
src
qisis
objs
FeatureNomenclatureTool
NomenclatureToolConfigDialog.h