Isis Developer Reference
NomenclatureToolConfigDialog.h
Go to the documentation of this file.
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 
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
Isis::FeatureNomenclatureTool::fontColor
QColor fontColor() const
What is the font color to use?
Definition: FeatureNomenclatureTool.cpp:161
Isis::FeatureNomenclatureTool::VectorType
VectorType
Enumeration of extent vector typess.
Definition: FeatureNomenclatureTool.h:62
QWidget
Isis::FeatureNomenclatureTool::Arrows4
@ Arrows4
When using this vector (extent) type, 4 arrows will be drawn out from the text of the feature.
Definition: FeatureNomenclatureTool.h:83
Isis::NomenclatureToolConfigDialog::~NomenclatureToolConfigDialog
~NomenclatureToolConfigDialog()
Clean up allocated memory.
Definition: NomenclatureToolConfigDialog.cpp:119
Isis::FeatureNomenclatureTool::setFontColor
void setFontColor(QColor color)
Set the color to use for drawing on the viewport.
Definition: FeatureNomenclatureTool.cpp:215
Isis::FeatureNomenclatureTool::showApprovedOnly
bool showApprovedOnly() const
Show approved features only?
Definition: FeatureNomenclatureTool.cpp:181
Isis::FeatureNomenclatureTool::defaultEnabled
bool defaultEnabled() const
Is this tool enabled by default? (i.e.
Definition: FeatureNomenclatureTool.cpp:151
Isis::NomenclatureToolConfigDialog::NomenclatureToolConfigDialog
NomenclatureToolConfigDialog(FeatureNomenclatureTool *tool, QWidget *parent)
Create a config dialog that configures the given FeatureNomenclatureTool.
Definition: NomenclatureToolConfigDialog.cpp:21
Isis::FeatureNomenclatureTool::None
@ None
When using this vector (extent) type, no extents will be drawn.
Definition: FeatureNomenclatureTool.h:66
Isis::FeatureNomenclatureTool::setDefaultEnabled
void setDefaultEnabled(bool defaultEnabled)
Set whether this tool is enabled by default.
Definition: FeatureNomenclatureTool.cpp:201
Isis::FeatureNomenclatureTool::Arrows8
@ Arrows8
When using this vector (extent) type, 8 arrows will be drawn out from the text of the feature.
Definition: FeatureNomenclatureTool.h:101
QComboBox
Isis::FeatureNomenclatureTool::setFontSize
void setFontSize(int newFontSize)
Set the font point size to use for drawing text on the viewport.
Definition: FeatureNomenclatureTool.cpp:232
NomenclatureToolConfigDialog.h
Isis::FeatureNomenclatureTool::setShowApprovedOnly
void setShowApprovedOnly(bool approvedOnly)
Set whether to show approved features and exclude unapproved features.
Definition: FeatureNomenclatureTool.cpp:250
Isis::FeatureNomenclatureTool::Box
@ Box
When using this vector (extent) type, 4 arrows will be drawn out from the text of the feature.
Definition: FeatureNomenclatureTool.h:110
FeatureNomenclatureTool.h
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::FeatureNomenclatureTool::fontSize
int fontSize() const
Retrieve the font size of the features in this tool.
Definition: FeatureNomenclatureTool.cpp:171
Isis::FeatureNomenclatureTool::vectorType
VectorType vectorType() const
Draw vectors to the extents of features?
Definition: FeatureNomenclatureTool.cpp:191
Isis::NomenclatureToolConfigDialog::readSettings
void readSettings()
Read the tool's current settings and set the widget states to match.
Definition: NomenclatureToolConfigDialog.cpp:148
QDialog
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::FeatureNomenclatureTool::setVectorType
void setVectorType(VectorType show)
Set whether to draw vectors from the feature center to the feature extents on the viewport.
Definition: FeatureNomenclatureTool.cpp:269