![]() |
VR-Forces Developer's Guide
|
The grid lines page, controls for configuring grid lines.

Public Member Functions | |
| DtGridLinesPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~DtGridLinesPage () |
| virtual QIcon | icon () override |
| virtual DtQIconConfigurations | qIconConfigurations () const override |
| virtual QString | title () override |
| virtual const std::string & | pageClassName () const |
| virtual void | setNorthSouthGridLineColor (float r, float g, float b, float a) override |
| virtual void | setEastWestGridLineColor (float r, float g, float b, float a) override |
| virtual void | setUseMinimalGridlineLabels (bool enabled) override |
| virtual void | setAutoSpacing (bool autoSpacing) override |
| virtual void | setFixedSpacingAmount (double amount) override |
| virtual void | setMaxFixedSpacing (double maxSpacing) override |
| virtual void | setMinFixedSpacing (double minSpacing) override |
| virtual void | setGridType (makArchives::DtDisplayUnitsSettingsRecord::CoordSys gridType) override |
| virtual void | clearGridTypes () override |
| virtual void | disableAllGridTypes () override |
| virtual void | addGridType (const DtUnicode &gridName, makArchives::DtDisplayUnitsSettingsRecord::CoordSys gridType) override |
| virtual void | setXOffset (double offset) override |
| virtual void | setYOffset (double offset) override |
| virtual void | setMinSpacing (int pixels) override |
| virtual void | setUnitType (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType) override |
| virtual void | setUnitType (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType) override |
| virtual void | clearUnitTypes () override |
| virtual void | setUnitTypeEnabled (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType, bool enabled) override |
| virtual void | setUnitTypeEnabled (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType, bool enabled) override |
| virtual void | addUnitType (const DtUnicode &unitName, makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType) override |
| virtual void | addUnitType (const DtUnicode &unitName, makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType) override |
| virtual void | setDecimals (unsigned decimals) override |
| virtual void | setFixedSpacingAmountEnabled (bool enabled) override |
| virtual void | setMinSpacingEnabled (bool enabled) override |
| virtual void | setGridTypeEnabled (makArchives::DtDisplayUnitsSettingsRecord::CoordSys, bool enabled) override |
| virtual void | setDecimalsEnabled (bool enabled) override |
| virtual void | setMinimalGridlineLabelsEnabled (bool onOff) override |
| virtual void | setGridOnToolbar (bool onOrOff) override |
| virtual void | setLatLonLabelsCenteringCutoff (int altitude) override |
| virtual void | setLatLonLabelsCenteringCutoffUnits (const DtUnicode &units) override |
| virtual void | setLatLonLabelsCenteringCutoffMaximum (int maxAltitude) override |
| virtual void | setPolarLatitudeCutoff (double lat) override |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~DtPage () |
| virtual PageAction | pageAction () |
| virtual void | setPageAction (PageAction action) |
| virtual void | setActionFlag (int flag) |
| virtual int | actionFlag () |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| virtual QWidget * | parentDialog () |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| virtual void | askBeforeAction () |
| virtual void | executeAfterAsk (bool revert) |
| virtual void | resumeLastAction () |
| virtual void | onCloseEvent () |
| virtual void | onSwitchEvent () |
Public Member Functions inherited from makVrv::DtGridLinesInterface | |
| DtGridLinesInterface () | |
| virtual | ~DtGridLinesInterface () |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
Protected Slots | |
| void | on_gridTypeCombo_currentIndexChanged (int index) |
| void | on_unitTypeCombo_currentIndexChanged (int index) |
| void | on_northSouthColorChanged (const QColor &) |
| void | on_eastWestColorChanged (const QColor &) |
| void | on_minimalGridlineLabelsCheckBoxToggled (int state) |
| void | on_autoSpacingRadioButtonClicked () |
| void | on_fixedSpacingRadioButtonClicked () |
| void | on_fixedSpacingCombo_currentIndexChanged (int index) |
| void | on_fixedSpacingAmountChanged (double val) |
| void | on_minSpacingChanged (int val) |
| void | on_xOffsetChanged (double val) |
| void | on_yOffsetChanged (double val) |
| void | on_decimalsChanged (int decimals) |
| void | on_latLonLabelsCenteringCutoffChanged (int val) |
| void | on_PolarLatitudeCutoffChanged (double val) |
| void | on_GridOnToolbarChanged (int checked) |
Protected Member Functions | |
| void | setupGui () |
| void | connectToSignals () |
| virtual void | activate () override |
| virtual void | deactivate () override |
| virtual void | configureOptions (makArchives::DtDisplayUnitsSettingsRecord::CoordSys gridType) |
| QString | notation (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType) |
| QString | notation (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType) |
| void | setupUnitLabels (const QString ¬ation) |
Protected Attributes | |
| DtVirtualBaseClass * | myLogic |
| std::string | myClassName |
| bool | myUsingAngularUnits |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
| makVrv::DtGridLinesPage::DtGridLinesPage | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor of the page.
|
virtual |
DTOR.
|
overridevirtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
overridevirtual |
Get the icon configurations for the page. This is used to style the page's icon based on application settings.
Implements makVrv::DtPage.
|
overridevirtual |
Get the title of the page.
Implements makVrv::DtPage.
|
virtual |
Get the class name of the page.
Implements makVrv::DtPage.
|
static |
Get the class name of the page.
|
overridevirtual |
Set the color of the north-south gridlines.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the color of the east-west gridlines.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set whether or not minimal grid line labels are used.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the auto spacing on or off.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the fixed spacing for the current unit type.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the maximum allowable fixed spacing.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the minimum fixed spacing allowed.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the current grid type.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Clears out grid type systems.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Disable all the grid types.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Adds a new coordinate system.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the x offset for the current unit type.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the y offset for the current unit type.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the minimum allowed spacing.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the unit type (meters, feet, or degrees)
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Clear the units.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Enable the specified unit type.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Add a unit type.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the decimals to use for mil grid.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Enable or disable the fixed spacing amount spin box.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Enable or disable the min spacing spin box.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Enable or disable a specific grid type within the grid type combo box.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Enable or disable the decimals spin box.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set whether the grid lines associated with the parameter cs should be on the grid lines selection toolbar.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the altitude at which we stop moving latitude and longitude labels to the center of the screen.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set a label with the appropriate unit type for altitude.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set a the maximum value for the centering cutoff spin box with the appropriate unit type for altitude.
Implements makVrv::DtGridLinesInterface.
|
overridevirtual |
Set the latitude above which GARS grid lines are not drawn.
Implements makVrv::DtGridLinesInterface.
|
protectedslot |
Handle Qt signal when grid type selected.
|
protectedslot |
Handle Qt signal when unit type selected.
|
protectedslot |
Handle Qt signal when the color of north/south gridlines has been set.
|
protectedslot |
Handle Qt signal when the color of east/west gridlines has been set.
|
protectedslot |
Handle Qt signal when the minimal grid line labels check box state has changed.
|
protectedslot |
Handle Qt signal when the auto spacing radio button is clicked.
|
protectedslot |
Handle Qt signal when the fixed spacing radio button is clicked.
|
protectedslot |
Handle Qt signal when the fixed spacing combo box is changed.
|
protectedslot |
Handle Qt signal when the fixed spacing amount changes.
|
protectedslot |
Handle Qt signal when the min spacing amount changes.
|
protectedslot |
Handle Qt signal when the xOffset amount changes.
|
protectedslot |
Handle Qt signal when the yOffset amount changes.
|
protectedslot |
Handle Qt signal when the decimals changes.
|
protectedslot |
Handle Qt signal when alt/lon label centering cutoff changes.
|
protectedslot |
Handle Qt signal when polar latitude cutoff changes.
|
protectedslot |
Handle Qt signal when show on toolbar checkbox changes.
|
protected |
Sets up the widget's fields. Non-virtual (Called from CTOR).
|
protected |
Connects widget signals to slots. Non-virtual (Called from CTOR).
|
overrideprotectedvirtual |
Called when the page is displayed.
Implements makVrv::DtPage.
|
overrideprotectedvirtual |
Called when the page is hidden.
Implements makVrv::DtPage.
|
protectedvirtual |
Show or hide the relevant options layouts depending on the grid type.
|
protected |
Setup units on spacing edit boxes ( (m), (ft), etc.)
|
protected |
|
protected |
| DtPersistenceToolbarWidget* makVrv::DtGridLinesPage::myToolbar |
| QGridLayout* makVrv::DtGridLinesPage::myGridTypeLayout |
| QLabel* makVrv::DtGridLinesPage::myGridTypeLabel |
| QComboBox* makVrv::DtGridLinesPage::myGridTypeComboBox |
| QLabel* makVrv::DtGridLinesPage::myUnitTypeLabel |
| QComboBox* makVrv::DtGridLinesPage::myUnitTypeComboBox |
| QLabel* makVrv::DtGridLinesPage::myDecimalsLabel |
| QSpinBox* makVrv::DtGridLinesPage::myDecimalsSpinBox |
| DtColorPushButton* makVrv::DtGridLinesPage::myNorthSouthColorButton |
| DtColorPushButton* makVrv::DtGridLinesPage::myEastWestColorButton |
| QButtonGroup* makVrv::DtGridLinesPage::mySpacingButtonGroup |
| QCheckBox* makVrv::DtGridLinesPage::myMinimalGridlineLabelsCheckbox |
| QRadioButton* makVrv::DtGridLinesPage::myAutoSpacingRadioButton |
| QRadioButton* makVrv::DtGridLinesPage::myFixedSpacingRadioButton |
| QHBoxLayout* makVrv::DtGridLinesPage::myFixedSpacingLayout |
| QHBoxLayout* makVrv::DtGridLinesPage::myGarsFixedSpacingLayout |
| QLabel* makVrv::DtGridLinesPage::mySpacingAmountLabel |
| QLabel* makVrv::DtGridLinesPage::myGarsSpacingAmountLabel |
| QHBoxLayout* makVrv::DtGridLinesPage::myMinSpacingLayout |
| QLabel* makVrv::DtGridLinesPage::myMinSpacingLabel |
| QSpinBox* makVrv::DtGridLinesPage::myMinSpacingSpinBox |
| QHBoxLayout* makVrv::DtGridLinesPage::myGarsMinSpacingLayout |
| QLabel* makVrv::DtGridLinesPage::myGarsMinSpacingLabel |
| QSpinBox* makVrv::DtGridLinesPage::myGarsMinSpacingSpinBox |
| QDoubleSpinBox* makVrv::DtGridLinesPage::mySpacingAmountSpinBox |
| QComboBox* makVrv::DtGridLinesPage::myGarsFixedSpacingAmountComboBox |
| QHBoxLayout* makVrv::DtGridLinesPage::myXOffsetLayout |
| QHBoxLayout* makVrv::DtGridLinesPage::myYOffsetLayout |
| QLabel* makVrv::DtGridLinesPage::myXOffsetLabel |
| QLabel* makVrv::DtGridLinesPage::myYOffsetLabel |
| QDoubleSpinBox* makVrv::DtGridLinesPage::myXOffsetSpinBox |
| QDoubleSpinBox* makVrv::DtGridLinesPage::myYOffsetSpinBox |
| QWidget* makVrv::DtGridLinesPage::myOptionsWidget |
| QVBoxLayout* makVrv::DtGridLinesPage::myOptionsLayout |
| QHBoxLayout* makVrv::DtGridLinesPage::myUnitTypeLayout |
| QHBoxLayout* makVrv::DtGridLinesPage::myDecimalPlacesLayout |
| QHBoxLayout* makVrv::DtGridLinesPage::myNorthSouthColorLayout |
| QHBoxLayout* makVrv::DtGridLinesPage::myEastWestColorLayout |
| QHBoxLayout* makVrv::DtGridLinesPage::myLatLonLabelsCenteringCutoffLayout |
| QLabel* makVrv::DtGridLinesPage::myLatLonLabelsCenteringCutoffLabel |
| QSpinBox* makVrv::DtGridLinesPage::myLatLonLabelsCenteringCutoffSpinBox |
| QHBoxLayout* makVrv::DtGridLinesPage::myPolarLatitudeCutoffLayout |
| QLabel* makVrv::DtGridLinesPage::myPolarLatitudeCutoffLabel |
| QDoubleSpinBox* makVrv::DtGridLinesPage::myPolarLatitudeCutoffSpinBox |
| QCheckBox* makVrv::DtGridLinesPage::myGridOnToolbarCheckbox |
|
protected |
|
protected |
|
protected |