33 class DtVirtualBaseClass;
34 class DtPersistenceToolbarWidget;
35 class DtColorPushButton;
51 virtual QIcon icon()
override;
58 virtual QString title()
override;
61 virtual const std::string& pageClassName()
const;
64 static const std::string& thePageClassName();
67 virtual void setNorthSouthGridLineColor(
float r,
float g,
float b,
float a)
override;
70 virtual void setEastWestGridLineColor(
float r,
float g,
float b,
float a)
override;
73 virtual void setUseMinimalGridlineLabels(
bool enabled)
override;
76 virtual void setAutoSpacing(
bool autoSpacing )
override;
79 virtual void setFixedSpacingAmount(
double amount )
override;
82 virtual void setMaxFixedSpacing(
double maxSpacing )
override;
85 virtual void setMinFixedSpacing(
double minSpacing )
override;
91 virtual void clearGridTypes()
override;
94 virtual void disableAllGridTypes()
override;
100 virtual void setXOffset(
double offset )
override;
103 virtual void setYOffset(
double offset )
override;
106 virtual void setMinSpacing(
int pixels )
override;
114 virtual void clearUnitTypes()
override;
126 virtual void setDecimals(
unsigned decimals )
override;
129 virtual void setFixedSpacingAmountEnabled(
bool enabled )
override;
132 virtual void setMinSpacingEnabled(
bool enabled )
override;
139 virtual void setDecimalsEnabled(
bool enabled )
override;
141 virtual void setMinimalGridlineLabelsEnabled(
bool onOff)
override;
145 virtual void setGridOnToolbar(
bool onOrOff)
override;
148 virtual void setLatLonLabelsCenteringCutoff(
int altitude)
override;
151 virtual void setLatLonLabelsCenteringCutoffUnits(
const DtUnicode& units)
override;
154 virtual void setLatLonLabelsCenteringCutoffMaximum(
int maxAltitude)
override;
157 virtual void setPolarLatitudeCutoff(
double lat)
override;
163 void on_gridTypeCombo_currentIndexChanged(
int index );
166 void on_unitTypeCombo_currentIndexChanged(
int index );
169 void on_northSouthColorChanged(
const QColor&);
172 void on_eastWestColorChanged(
const QColor&);
175 void on_minimalGridlineLabelsCheckBoxToggled(
int state );
178 void on_autoSpacingRadioButtonClicked();
181 void on_fixedSpacingRadioButtonClicked();
184 void on_fixedSpacingCombo_currentIndexChanged(
int index);
187 void on_fixedSpacingAmountChanged(
double val );
190 void on_minSpacingChanged(
int val );
193 void on_xOffsetChanged(
double val );
196 void on_yOffsetChanged(
double val );
199 void on_decimalsChanged(
int decimals );
202 void on_latLonLabelsCenteringCutoffChanged(
int val);
205 void on_PolarLatitudeCutoffChanged(
double val);
208 void on_GridOnToolbarChanged(
int checked);
218 void connectToSignals();
221 virtual void activate()
override;
224 virtual void deactivate()
override;
232 void setupUnitLabels(
const QString& notation );
std::string myClassName
Definition: DtGridLinesPage.h:304
QHBoxLayout * myFixedSpacingLayout
Definition: DtGridLinesPage.h:255
QLabel * mySpacingAmountLabel
Definition: DtGridLinesPage.h:257
QVBoxLayout * myOptionsLayout
Definition: DtGridLinesPage.h:284
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
QRadioButton * myAutoSpacingRadioButton
Definition: DtGridLinesPage.h:253
QDoubleSpinBox * myYOffsetSpinBox
Definition: DtGridLinesPage.h:282
Contains makVrv::DtPage class.
QLabel * myGarsSpacingAmountLabel
Definition: DtGridLinesPage.h:258
QHBoxLayout * myGarsMinSpacingLayout
Definition: DtGridLinesPage.h:269
QComboBox * myUnitTypeComboBox
Definition: DtGridLinesPage.h:243
DtPageCreatorTemplate< DtGridLinesPage > DtGridLinesPageCreator
Creator type for creating new DtGridLinesPages.
Definition: DtGridLinesPage.h:312
QHBoxLayout * myGarsFixedSpacingLayout
Definition: DtGridLinesPage.h:256
QWidget * myOptionsWidget
Definition: DtGridLinesPage.h:283
QSpinBox * myMinSpacingSpinBox
Definition: DtGridLinesPage.h:266
QLabel * myUnitTypeLabel
Definition: DtGridLinesPage.h:242
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
QRadioButton * myFixedSpacingRadioButton
Definition: DtGridLinesPage.h:254
Contains DLL export macros.
CoordSys
Enumeration of the different coordinate system types.
Definition: DtDisplayUnitsSettingsRecord.h:30
QHBoxLayout * myPolarLatitudeCutoffLayout
Definition: DtGridLinesPage.h:295
DistanceUnits
Enumeration of the different distance units.
Definition: DtDisplayUnitsSettingsRecord.h:57
QLabel * myYOffsetLabel
Definition: DtGridLinesPage.h:280
QHBoxLayout * myXOffsetLayout
Definition: DtGridLinesPage.h:277
DtColorPushButton * myEastWestColorButton
Definition: DtGridLinesPage.h:249
QHBoxLayout * myEastWestColorLayout
Definition: DtGridLinesPage.h:289
QHBoxLayout * myUnitTypeLayout
Definition: DtGridLinesPage.h:286
QLabel * myXOffsetLabel
Definition: DtGridLinesPage.h:279
QCheckBox * myMinimalGridlineLabelsCheckbox
Definition: DtGridLinesPage.h:252
Contains the DtGridLinesInterface.
QHBoxLayout * myMinSpacingLayout
Definition: DtGridLinesPage.h:264
QComboBox * myGarsFixedSpacingAmountComboBox
Definition: DtGridLinesPage.h:275
QSpinBox * myGarsMinSpacingSpinBox
Definition: DtGridLinesPage.h:271
bool myUsingAngularUnits
Definition: DtGridLinesPage.h:305
DtVirtualBaseClass * myLogic
Definition: DtGridLinesPage.h:303
QHBoxLayout * myDecimalPlacesLayout
Definition: DtGridLinesPage.h:287
QSpinBox * myLatLonLabelsCenteringCutoffSpinBox
Definition: DtGridLinesPage.h:293
QDoubleSpinBox * mySpacingAmountSpinBox
Definition: DtGridLinesPage.h:274
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:30
QLabel * myPolarLatitudeCutoffLabel
Definition: DtGridLinesPage.h:296
The interface used by the DtGridLinesPage and the DtGridLinesLogic.
Definition: DtGridLinesInterface.h:24
OrientationUnits
Enumeration of the different orientation units.
Definition: DtDisplayUnitsSettingsRecord.h:102
DtColorPushButton * myNorthSouthColorButton
Definition: DtGridLinesPage.h:248
QDoubleSpinBox * myPolarLatitudeCutoffSpinBox
Definition: DtGridLinesPage.h:297
QHBoxLayout * myLatLonLabelsCenteringCutoffLayout
Definition: DtGridLinesPage.h:291
QCheckBox * myGridOnToolbarCheckbox
Definition: DtGridLinesPage.h:299
QComboBox * myGridTypeComboBox
Definition: DtGridLinesPage.h:240
QSpinBox * myDecimalsSpinBox
Definition: DtGridLinesPage.h:246
DtPersistenceToolbarWidget * myToolbar
Definition: DtGridLinesPage.h:236
QDoubleSpinBox * myXOffsetSpinBox
Definition: DtGridLinesPage.h:281
QHBoxLayout * myYOffsetLayout
Definition: DtGridLinesPage.h:278
QLabel * myGridTypeLabel
Definition: DtGridLinesPage.h:239
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
QGridLayout * myGridTypeLayout
Definition: DtGridLinesPage.h:238
QLabel * myLatLonLabelsCenteringCutoffLabel
Definition: DtGridLinesPage.h:292
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:131
voidpf uLong offset
Definition: ioapi.h:42
QButtonGroup * mySpacingButtonGroup
Definition: DtGridLinesPage.h:251
QHBoxLayout * myNorthSouthColorLayout
Definition: DtGridLinesPage.h:288
QLabel * myGarsMinSpacingLabel
Definition: DtGridLinesPage.h:270
QLabel * myDecimalsLabel
Definition: DtGridLinesPage.h:245
QLabel * myMinSpacingLabel
Definition: DtGridLinesPage.h:265
The grid lines page, controls for configuring grid lines.
Definition: DtGridLinesPage.h:39