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
8class QCheckBox;
9class QComboBox;
10class QPushButton;
11
12namespace Isis {
13 class FeatureNomenclatureTool;
14
29 Q_OBJECT
30
31 public:
33 QWidget *parent);
35
36 public slots:
37 void applySettings();
38 void readSettings();
39
40 private slots:
41 void askUserForColor();
42
43 private:
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
Display nomenclature on MDI Cube Viewports.
Configure user's settings for the nomenclature tool.
QPointer< QComboBox > m_fontSizeCombo
Font size of the labels.
QPointer< QComboBox > m_showVectorsCombo
Show feature extents.
QPointer< QCheckBox > m_defaultOnCheckBox
Turn on the nomenclature tool when the application starts.
~NomenclatureToolConfigDialog()
Clean up allocated memory.
NomenclatureToolConfigDialog(FeatureNomenclatureTool *tool, QWidget *parent)
Create a config dialog that configures the given FeatureNomenclatureTool.
QPointer< QProgressDialog > m_updatingNomenclatureProgressDialog
Visible when tool is updating the valid features.
QPointer< QPushButton > m_fontColorButton
Color to use when rendering the nomenclature.
FeatureNomenclatureTool * m_tool
The tool we're configuring.
void askUserForColor()
Prompt the user for a new font color.
void readSettings()
Read the tool's current settings and set the widget states to match.
QPointer< QCheckBox > m_showApprovedCheckBox
Filter out unapproved features.
void applySettings()
Apply the user's current settings to the tool.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16