Isis Developer Reference
MosaicGridToolConfigDialog.h
Go to the documentation of this file.
1#ifndef MosaicGridToolConfigDialog_h
2#define MosaicGridToolConfigDialog_h
3
4#include <QDialog>
5#include <QPointer>
6
7class QCheckBox;
8class QComboBox;
9class QLabel;
10class QLineEdit;
11class QPushButton;
12class QSlider;
13
14namespace Isis {
15 class MosaicGridTool;
16
38 Q_OBJECT
39
40 public:
42 QWidget *parent);
44
45 public slots:
46 void applySettings();
47 void applySettings(bool shouldReadSettings);
48 void readSettings();
50
60
61 private:
62 Q_DISABLE_COPY(MosaicGridToolConfigDialog);
63 void refreshWidgetStates(bool canAutoApply);
64
65 MosaicGridTool *m_tool;
66
67 QPointer<QCheckBox> m_showGridCheckBox;
68 QPointer<QCheckBox> m_autoGridCheckBox;
69
70 QPointer<QLabel> m_baseLatLabel;
71 QPointer<QLineEdit> m_baseLatLineEdit;
72 QPointer<QSlider> m_baseLatSlider;
73 QPointer<QLabel> m_baseLatTypeLabel;
74
75 QPointer<QLabel> m_baseLonLabel;
76 QPointer<QLineEdit> m_baseLonLineEdit;
77 QPointer<QSlider> m_baseLonSlider;
78 QPointer<QLabel> m_baseLonTypeLabel;
79
80 QPointer<QLabel> m_latIncLabel;
81 QPointer<QLineEdit> m_latIncLineEdit;
82 QPointer<QSlider> m_latIncSlider;
83 QPointer<QLabel> m_latIncTypeLabel;
84
85 QPointer<QLabel> m_lonIncLabel;
86 QPointer<QLineEdit> m_lonIncLineEdit;
87 QPointer<QSlider> m_lonIncSlider;
88 QPointer<QLabel> m_lonIncTypeLabel;
89
90 QPointer<QLabel> m_latExtentLabel;
92 QPointer<QComboBox> m_latExtentCombo;
93 QPointer<QLabel> m_latExtentTypeLabel;
94
95 QPointer<QLabel> m_minLatExtentLabel;
96 QPointer<QLineEdit> m_minLatExtentLineEdit;
97 QPointer<QSlider> m_minLatExtentSlider;
98 QPointer<QLabel> m_minLatExtentTypeLabel;
99
100 QPointer<QLabel> m_maxLatExtentLabel;
101 QPointer<QLineEdit> m_maxLatExtentLineEdit;
102 QPointer<QSlider> m_maxLatExtentSlider;
103 QPointer<QLabel> m_maxLatExtentTypeLabel;
104
105 QPointer<QLabel> m_lonExtentLabel;
107 QPointer<QComboBox> m_lonExtentCombo;
108 QPointer<QLabel> m_lonDomainLabel;
109
110 QPointer<QLabel> m_minLonExtentLabel;
111 QPointer<QLineEdit> m_minLonExtentLineEdit;
112 QPointer<QSlider> m_minLonExtentSlider;
113 QPointer<QLabel> m_minLonExtentTypeLabel;
114
115 QPointer<QLabel> m_maxLonExtentLabel;
116 QPointer<QLineEdit> m_maxLonExtentLineEdit;
117 QPointer<QSlider> m_maxLonExtentSlider;
118 QPointer<QLabel> m_maxLonExtentTypeLabel;
119
120 QPointer<QLabel> m_densityLabel;
121 QPointer<QLineEdit> m_densityEdit;
122
123 QPointer<QCheckBox> m_autoApplyCheckBox;
124 };
125}
126
127#endif
Configure user's settings for the grid tool.
Definition MosaicGridToolConfigDialog.h:37
void onLonIncSliderChanged()
Updates the corresponding line edit when the lonIncSlider changes.
Definition MosaicGridToolConfigDialog.cpp:754
void onMinLonExtentSliderChanged()
Updates the corresponding line edit when the minLonSlider changes.
Definition MosaicGridToolConfigDialog.cpp:804
void applySettings()
Slot that calls applySettings with true to call readSettings also.
Definition MosaicGridToolConfigDialog.cpp:536
void onMinLatExtentSliderChanged()
Updates the corresponding line edit when the minLatSlider changes.
Definition MosaicGridToolConfigDialog.cpp:762
void onMaxLonExtentSliderChanged()
Updates the corresponding line edit when the maxLonSlider changes.
Definition MosaicGridToolConfigDialog.cpp:817
void onMaxLatExtentSliderChanged()
Updates the corresponding line edit when the maxLatSlider changes.
Definition MosaicGridToolConfigDialog.cpp:775
void refreshWidgetStates()
Calls the private method refreshWidgetStates with true as the argument in order to have refreshWidget...
Definition MosaicGridToolConfigDialog.cpp:598
MosaicGridToolConfigDialog(MosaicGridTool *tool, QWidget *parent)
Create a config dialog that configures the given MosaicGridTool.
Definition MosaicGridToolConfigDialog.cpp:34
void onBaseLonSliderChanged()
Updates the corresponding line edit when the baseLonSlider changes.
Definition MosaicGridToolConfigDialog.cpp:737
void onLatIncSliderChanged()
Updates the corresponding line edit when the latIncSlider changes.
Definition MosaicGridToolConfigDialog.cpp:746
void onExtentTypeChanged()
Updates the dialog when the lat or lon extent source is changed.
Definition MosaicGridToolConfigDialog.cpp:790
void onBaseLatSliderChanged()
Updates the corresponding line edit when the baseLatSlider changes.
Definition MosaicGridToolConfigDialog.cpp:728
void readSettings()
Read the tool's current settings and set the widget states to match.
Definition MosaicGridToolConfigDialog.cpp:544
~MosaicGridToolConfigDialog()
Clean up allocated memory.
Definition MosaicGridToolConfigDialog.cpp:394
This controls the 'Grid' abilities in the MosaicSceneWidget.
Definition MosaicGridTool.h:53
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16