![]() |
VR-Forces 4.0.4 Class Documentation
|
The grid lines page, controls for configuring grid lines. More...

Public Member Functions | |
| DtGridLinesPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor of the page. | |
| virtual | ~DtGridLinesPage () |
| DTOR. | |
| virtual QIcon | icon () |
| Get the icon of the page. | |
| virtual QString | title () |
| Get the title of the page. | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. | |
| virtual void | setAutoSpacing (bool autoSpacing) |
| Set the auto spacing on or off. | |
| virtual void | setFixedSpacingAmount (double amount) |
| Set the fixed spacing for the current unit type. | |
| virtual void | setMaxFixedSpacing (double maxSpacing) |
| Set the maximum allowable fixed spacing. | |
| virtual void | setMinFixedSpacing (double minSpacing) |
| Set the minimum fixed spacing allowed. | |
| virtual void | setGridType (makArchives::DtDisplayUnitsSettingsRecord::CoordSys gridType) |
| Set the current grid type. | |
| virtual void | clearGridTypes () |
| Clears out grid type systems. | |
| virtual void | disableAllGridTypes () |
| Disable all the grid types. | |
| virtual void | addGridType (const DtUnicode &gridName, makArchives::DtDisplayUnitsSettingsRecord::CoordSys gridType) |
| Adds a new coordinate system. | |
| virtual void | setXOffset (double offset) |
| Set the x offset for the current unit type. | |
| virtual void | setYOffset (double offset) |
| Set the y offset for the current unit type. | |
| virtual void | setMinSpacing (int pixels) |
| Set the minimum allowed spacing. | |
| virtual void | setUnitType (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType) |
| Set the unit type (meters, feet, or degrees) | |
| virtual void | setUnitType (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType) |
| virtual void | clearUnitTypes () |
| Clear the units. | |
| virtual void | setUnitTypeEnabled (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType, bool enabled) |
| Enable the specified unit type. | |
| virtual void | setUnitTypeEnabled (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType, bool enabled) |
| virtual void | addUnitType (const DtUnicode &unitName, makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType) |
| Add a unit type. | |
| virtual void | addUnitType (const DtUnicode &unitName, makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType) |
| virtual void | setDecimals (unsigned decimals) |
| Set the decimals to use for mil grid. | |
| virtual void | setFixedSpacingAmountEnabled (bool enabled) |
| Enable or disable the fixed spacing amount spin box. | |
| virtual void | setMinSpacingEnabled (bool enabled) |
| Enable or disable the min spacing spin box. | |
| virtual void | setGridTypeEnabled (makArchives::DtDisplayUnitsSettingsRecord::CoordSys, bool enabled) |
| Enable or disable a specific grid type within the grid type combo box. | |
| virtual void | setDecimalsEnabled (bool enabled) |
| Enable or disable the decimals spin box. | |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
| Get the class name of the page. | |
Public Attributes | |
| DtPersistenceToolbarWidget * | myToolbar |
| QGridLayout * | myGridTypeLayout |
| QLabel * | myGridTypeLabel |
| QComboBox * | myGridTypeComboBox |
| QLabel * | myUnitTypeLabel |
| QComboBox * | myUnitTypeComboBox |
| QLabel * | myDecimalsLabel |
| QSpinBox * | myDecimalsSpinBox |
| QButtonGroup * | mySpacingButtonGroup |
| QRadioButton * | myAutoSpacingRadioButton |
| QRadioButton * | myFixedSpacingRadioButton |
| QLabel * | mySpacingAmountLabel |
| QLabel * | myMinSpacingLabel |
| QDoubleSpinBox * | mySpacingAmountSpinBox |
| QSpinBox * | myMinSpacingSpinBox |
| QHBoxLayout * | myXOffsetLayout |
| QHBoxLayout * | myYOffsetLayout |
| QLabel * | myXOffsetLabel |
| QLabel * | myYOffsetLabel |
| QDoubleSpinBox * | myXOffsetSpinBox |
| QDoubleSpinBox * | myYOffsetSpinBox |
Protected Slots | |
| void | on_gridTypeCombo_currentIndexChanged (int index) |
| Handle Qt signal when grid type selected. | |
| void | on_unitTypeCombo_currentIndexChanged (int index) |
| Handle Qt signal when unit type selected. | |
| void | on_autoSpacingRadioButtonClicked () |
| Handle Qt signal when the auto spacing radio button is clicked. | |
| void | on_fixedSpacingRadioButtonClicked () |
| Handle Qt signal when the fixed spacing radio button is clicked. | |
| void | on_fixedSpacingAmountChanged (double val) |
| Handle Qt signal when the fixed spacing amount changes. | |
| void | on_minSpacingChanged (int val) |
| Handle Qt signal when the min spacing amount changes. | |
| void | on_xOffsetChanged (double val) |
| Handle Qt signal when the xOffset amount changes. | |
| void | on_yOffsetChanged (double val) |
| Handle Qt signal when the yOffset amount changes. | |
| void | on_decimalsChanged (int decimals) |
| Handle Qt signal when the decimals changes. | |
Protected Member Functions | |
| void | setupGui () |
| Sets up the widget's fields. | |
| void | connectToSignals () |
| Connects widget signals to slots. | |
| virtual void | activate () |
| Called when the page is displayed. | |
| virtual void | deactivate () |
| Called when the page is hidden. | |
| QString | notation (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType) |
| Setup units on spacing edit boxes ( (m), (ft), etc.) | |
| QString | notation (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType) |
| void | setupUnitLabels (const QString ¬ation) |
Protected Attributes | |
| DtDe & | myDe |
| DtVirtualBaseClass * | myLogic |
| std::string | myClassName |
| bool | myUsingAngularUnits |
The grid lines page, controls for configuring grid lines.
| makVrv::DtGridLinesPage::DtGridLinesPage | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor of the page.
| virtual makVrv::DtGridLinesPage::~DtGridLinesPage | ( | ) | [virtual] |
DTOR.
| virtual QIcon makVrv::DtGridLinesPage::icon | ( | ) | [virtual] |
Get the icon of the page.
Implements makVrv::DtPage.
| virtual QString makVrv::DtGridLinesPage::title | ( | ) | [virtual] |
Get the title of the page.
Implements makVrv::DtPage.
| virtual const std::string& makVrv::DtGridLinesPage::pageClassName | ( | ) | const [virtual] |
Get the class name of the page.
Implements makVrv::DtPage.
| static const std::string& makVrv::DtGridLinesPage::thePageClassName | ( | ) | [static] |
Get the class name of the page.
| virtual void makVrv::DtGridLinesPage::setAutoSpacing | ( | bool | autoSpacing | ) | [virtual] |
Set the auto spacing on or off.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setFixedSpacingAmount | ( | double | amount | ) | [virtual] |
Set the fixed spacing for the current unit type.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setMaxFixedSpacing | ( | double | maxSpacing | ) | [virtual] |
Set the maximum allowable fixed spacing.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setMinFixedSpacing | ( | double | minSpacing | ) | [virtual] |
Set the minimum fixed spacing allowed.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setGridType | ( | makArchives::DtDisplayUnitsSettingsRecord::CoordSys | gridType | ) | [virtual] |
Set the current grid type.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::clearGridTypes | ( | ) | [virtual] |
Clears out grid type systems.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::disableAllGridTypes | ( | ) | [virtual] |
Disable all the grid types.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::addGridType | ( | const DtUnicode & | gridName, |
| makArchives::DtDisplayUnitsSettingsRecord::CoordSys | gridType | ||
| ) | [virtual] |
Adds a new coordinate system.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setXOffset | ( | double | offset | ) | [virtual] |
Set the x offset for the current unit type.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setYOffset | ( | double | offset | ) | [virtual] |
Set the y offset for the current unit type.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setMinSpacing | ( | int | pixels | ) | [virtual] |
Set the minimum allowed spacing.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setUnitType | ( | makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | unitType | ) | [virtual] |
Set the unit type (meters, feet, or degrees)
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setUnitType | ( | makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | unitType | ) | [virtual] |
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::clearUnitTypes | ( | ) | [virtual] |
Clear the units.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setUnitTypeEnabled | ( | makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | unitType, |
| bool | enabled | ||
| ) | [virtual] |
Enable the specified unit type.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setUnitTypeEnabled | ( | makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | unitType, |
| bool | enabled | ||
| ) | [virtual] |
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::addUnitType | ( | const DtUnicode & | unitName, |
| makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | unitType | ||
| ) | [virtual] |
Add a unit type.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::addUnitType | ( | const DtUnicode & | unitName, |
| makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | unitType | ||
| ) | [virtual] |
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setDecimals | ( | unsigned | decimals | ) | [virtual] |
Set the decimals to use for mil grid.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setFixedSpacingAmountEnabled | ( | bool | enabled | ) | [virtual] |
Enable or disable the fixed spacing amount spin box.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setMinSpacingEnabled | ( | bool | enabled | ) | [virtual] |
Enable or disable the min spacing spin box.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setGridTypeEnabled | ( | makArchives::DtDisplayUnitsSettingsRecord::CoordSys | , |
| bool | enabled | ||
| ) | [virtual] |
Enable or disable a specific grid type within the grid type combo box.
Implements makVrv::DtGridLinesInterface.
| virtual void makVrv::DtGridLinesPage::setDecimalsEnabled | ( | bool | enabled | ) | [virtual] |
Enable or disable the decimals spin box.
Implements makVrv::DtGridLinesInterface.
| void makVrv::DtGridLinesPage::on_gridTypeCombo_currentIndexChanged | ( | int | index | ) | [protected, slot] |
Handle Qt signal when grid type selected.
| void makVrv::DtGridLinesPage::on_unitTypeCombo_currentIndexChanged | ( | int | index | ) | [protected, slot] |
Handle Qt signal when unit type selected.
| void makVrv::DtGridLinesPage::on_autoSpacingRadioButtonClicked | ( | ) | [protected, slot] |
Handle Qt signal when the auto spacing radio button is clicked.
| void makVrv::DtGridLinesPage::on_fixedSpacingRadioButtonClicked | ( | ) | [protected, slot] |
Handle Qt signal when the fixed spacing radio button is clicked.
| void makVrv::DtGridLinesPage::on_fixedSpacingAmountChanged | ( | double | val | ) | [protected, slot] |
Handle Qt signal when the fixed spacing amount changes.
| void makVrv::DtGridLinesPage::on_minSpacingChanged | ( | int | val | ) | [protected, slot] |
Handle Qt signal when the min spacing amount changes.
| void makVrv::DtGridLinesPage::on_xOffsetChanged | ( | double | val | ) | [protected, slot] |
Handle Qt signal when the xOffset amount changes.
| void makVrv::DtGridLinesPage::on_yOffsetChanged | ( | double | val | ) | [protected, slot] |
Handle Qt signal when the yOffset amount changes.
| void makVrv::DtGridLinesPage::on_decimalsChanged | ( | int | decimals | ) | [protected, slot] |
Handle Qt signal when the decimals changes.
| void makVrv::DtGridLinesPage::setupGui | ( | ) | [protected] |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
| void makVrv::DtGridLinesPage::connectToSignals | ( | ) | [protected] |
Connects widget signals to slots.
Non-virtual (Called from CTOR).
| virtual void makVrv::DtGridLinesPage::activate | ( | ) | [protected, virtual] |
Called when the page is displayed.
Implements makVrv::DtPage.
| virtual void makVrv::DtGridLinesPage::deactivate | ( | ) | [protected, virtual] |
Called when the page is hidden.
Implements makVrv::DtPage.
| QString makVrv::DtGridLinesPage::notation | ( | makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | unitType | ) | [protected] |
Setup units on spacing edit boxes ( (m), (ft), etc.)
| QString makVrv::DtGridLinesPage::notation | ( | makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | unitType | ) | [protected] |
| void makVrv::DtGridLinesPage::setupUnitLabels | ( | const QString & | notation | ) | [protected] |
| QGridLayout* makVrv::DtGridLinesPage::myGridTypeLayout |
| QButtonGroup* makVrv::DtGridLinesPage::mySpacingButtonGroup |
| QRadioButton* makVrv::DtGridLinesPage::myAutoSpacingRadioButton |
| QRadioButton* makVrv::DtGridLinesPage::myFixedSpacingRadioButton |
| QDoubleSpinBox* makVrv::DtGridLinesPage::mySpacingAmountSpinBox |
| QHBoxLayout* makVrv::DtGridLinesPage::myXOffsetLayout |
| QHBoxLayout* makVrv::DtGridLinesPage::myYOffsetLayout |
| QDoubleSpinBox* makVrv::DtGridLinesPage::myXOffsetSpinBox |
| QDoubleSpinBox* makVrv::DtGridLinesPage::myYOffsetSpinBox |
DtDe& makVrv::DtGridLinesPage::myDe [protected] |
Reimplemented from makVrv::DtPage.
DtVirtualBaseClass* makVrv::DtGridLinesPage::myLogic [protected] |
std::string makVrv::DtGridLinesPage::myClassName [protected] |
bool makVrv::DtGridLinesPage::myUsingAngularUnits [protected] |