![]() |
VR-Forces 4.1.1 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. | |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| CTOR for page. | |
| virtual | ~DtPage () |
| DTOR for page. | |
Public Member Functions inherited from makVrv::DtGridLinesInterface | |
| DtGridLinesInterface () | |
| CTOR. | |
| virtual | ~DtGridLinesInterface () |
| DTOR. | |
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 |
Public Attributes inherited from makVrv::DtGridLinesInterface | |
| boost::signal< void(makArchives::DtDisplayUnitsSettingsRecord::CoordSys)> | signal_gridTypeChanged |
| Signal sent by page when the grid type changes. | |
| boost::signal< void(makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits)> | signal_unitTypeChanged |
| Signal sent by page when the grid type changes. | |
| boost::signal< void(makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits)> | signal_angularUnitTypeChanged |
| boost::signal< void(bool)> | signal_autoSpacingChanged |
| Signal sent by page when auto spacing changes. | |
| boost::signal< void(double)> | signal_fixedSpacingAmountChanged |
| Signal sent by page when the fixed spacing amount changes. | |
| boost::signal< void(int)> | signal_minSpacingChanged |
| Signal sent by page when the minimum spacing amount changes. | |
| boost::signal< void(double)> | signal_xOffsetChanged |
| Signal sent by page when the xOffset changes. | |
| boost::signal< void(double)> | signal_yOffsetChanged |
| Signal sent by page when the yOffset changes. | |
| boost::signal< void(unsigned)> | signal_decimalsChanged |
| Signal sent by page when the decimals changes. | |
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 |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
The grid lines page, controls for configuring grid lines.
Constructor of the page.
|
virtual |
DTOR.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
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.
|
virtual |
Set the auto spacing on or off.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Set the fixed spacing for the current unit type.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Set the maximum allowable fixed spacing.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Set the minimum fixed spacing allowed.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Set the current grid type.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Clears out grid type systems.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Disable all the grid types.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Adds a new coordinate system.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Set the x offset for the current unit type.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Set the y offset for the current unit type.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Set the minimum allowed spacing.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Set the unit type (meters, feet, or degrees)
Implements makVrv::DtGridLinesInterface.
|
virtual |
Implements makVrv::DtGridLinesInterface.
|
virtual |
Clear the units.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Enable the specified unit type.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Implements makVrv::DtGridLinesInterface.
|
virtual |
Add a unit type.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Implements makVrv::DtGridLinesInterface.
|
virtual |
Set the decimals to use for mil grid.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Enable or disable the fixed spacing amount spin box.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Enable or disable the min spacing spin box.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Enable or disable a specific grid type within the grid type combo box.
Implements makVrv::DtGridLinesInterface.
|
virtual |
Enable or disable the decimals spin box.
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 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 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.
|
protected |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
|
protected |
Connects widget signals to slots.
Non-virtual (Called from CTOR).
|
protectedvirtual |
Called when the page is displayed.
Implements makVrv::DtPage.
|
protectedvirtual |
Called when the page is hidden.
Implements makVrv::DtPage.
|
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 |
| QButtonGroup* makVrv::DtGridLinesPage::mySpacingButtonGroup |
| QRadioButton* makVrv::DtGridLinesPage::myAutoSpacingRadioButton |
| QRadioButton* makVrv::DtGridLinesPage::myFixedSpacingRadioButton |
| QLabel* makVrv::DtGridLinesPage::mySpacingAmountLabel |
| QLabel* makVrv::DtGridLinesPage::myMinSpacingLabel |
| QDoubleSpinBox* makVrv::DtGridLinesPage::mySpacingAmountSpinBox |
| QSpinBox* makVrv::DtGridLinesPage::myMinSpacingSpinBox |
| QHBoxLayout* makVrv::DtGridLinesPage::myXOffsetLayout |
| QHBoxLayout* makVrv::DtGridLinesPage::myYOffsetLayout |
| QLabel* makVrv::DtGridLinesPage::myXOffsetLabel |
| QLabel* makVrv::DtGridLinesPage::myYOffsetLabel |
| QDoubleSpinBox* makVrv::DtGridLinesPage::myXOffsetSpinBox |
| QDoubleSpinBox* makVrv::DtGridLinesPage::myYOffsetSpinBox |
|
protected |
|
protected |
|
protected |
|
protected |