Window (QDialog) map grid setting (MapItem). More...
#include <GridSettingsOutside.h>
Signals | |
void | updateProperty (Property prop) |
Public Member Functions | |
virtual void | blockComponents () |
virtual OutsideController * | getController () |
Returns the "Controller" part of the MVC. More... | |
virtual Observable * | getModel () |
Returns the "Model" part of the MVC. More... | |
virtual te::gm::Coord2D | getPosition () |
Method that returns the position llx, lly Reimplement this function in a ItemObserver subclass to provide the item's getPosition implementation. More... | |
virtual Properties * | getProperties () const |
Reimplemented from Observer. More... | |
GridSettingsOutside (OutsideController *controller, Observable *o) | |
virtual void | load () |
virtual void | refresh () |
Updated model state. More... | |
virtual void | setPosition (const double &x, const double &y) |
Change coordinate llx,lly of the MVC widget. Reimplement this function in a ItemController subclass to provide the controller's create implementation. More... | |
virtual void | unblockComponents () |
virtual void | updateObserver (ContextItem context) |
Reimplemented from Observer. More... | |
virtual | ~GridSettingsOutside () |
Protected Member Functions | |
virtual bool | checkValidDegreeValue (const QString &) |
virtual te::color::RGBAColor | configColor (QWidget *widget) |
virtual void | init () |
virtual void | initBool (QWidget *widget, std::string nameComponent, EnumType *gridType) |
virtual void | initColor (QWidget *widget, std::string nameComponent, EnumType *gridType) |
virtual void | initCombo (QWidget *widget, std::string nameComponent, EnumType *gridType) |
virtual void | initDouble (QWidget *widget, std::string nameComponent, EnumType *gridType) |
virtual void | initInt (QWidget *widget, std::string nameComponent, EnumType *gridType) |
virtual void | initString (QWidget *widget, std::string nameComponent, EnumType *gridType) |
Protected Attributes | |
OutsideController * | m_controller |
"Controller" part of MVC widget. More... | |
GeodesicGridSettingsConfigProperties * | m_geodesicGridSettings |
EnumType * | m_geodesicType |
Observable * | m_model |
"Model" part of MVC widget. More... | |
PlanarGridSettingsConfigProperties * | m_planarGridSettings |
EnumType * | m_planarType |
Private Attributes | |
std::auto_ptr< Ui::GridSettings > | m_ui |
Window (QDialog) map grid setting (MapItem).
Definition at line 60 of file GridSettingsOutside.h.
te::layout::GridSettingsOutside::GridSettingsOutside | ( | OutsideController * | controller, |
Observable * | o | ||
) |
Definition at line 53 of file GridSettingsOutside.cpp.
References te::layout::EnumObjectType::getGridGeodesicItem(), te::layout::EnumObjectType::getGridPlanarItem(), te::common::Singleton< Enums >::getInstance(), init(), m_geodesicGridSettings, m_geodesicType, m_planarGridSettings, m_planarType, and m_ui.
|
virtual |
Definition at line 77 of file GridSettingsOutside.cpp.
|
virtual |
Definition at line 155 of file GridSettingsOutside.cpp.
|
protectedvirtual |
Definition at line 193 of file GridSettingsOutside.cpp.
|
protectedvirtual |
Definition at line 227 of file GridSettingsOutside.cpp.
References te::color::RGBAColor::setColor().
|
virtualinherited |
Returns the "Controller" part of the MVC.
Definition at line 59 of file OutsideObserver.cpp.
|
virtualinherited |
Returns the "Model" part of the MVC.
Definition at line 64 of file OutsideObserver.cpp.
Referenced by te::layout::DialogPropertiesBrowser::onShowGridSettingsDlg().
|
virtual |
Method that returns the position llx, lly Reimplement this function in a ItemObserver subclass to provide the item's getPosition implementation.
Implements te::layout::OutsideObserver.
Definition at line 142 of file GridSettingsOutside.cpp.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
|
virtualinherited |
Reimplemented from Observer.
Definition at line 54 of file OutsideObserver.cpp.
References te::layout::Properties::getProperties().
|
protectedvirtual |
Definition at line 92 of file GridSettingsOutside.cpp.
Referenced by GridSettingsOutside().
|
protectedvirtual |
Definition at line 1468 of file GridSettingsOutside.cpp.
References te::layout::GridSettingsController::getProperty(), te::layout::Property::getValue(), and te::layout::Variant::toBool().
|
protectedvirtual |
Definition at line 1484 of file GridSettingsOutside.cpp.
References te::color::RGBAColor::getBlue(), te::color::RGBAColor::getGreen(), te::layout::GridSettingsController::getProperty(), te::color::RGBAColor::getRed(), te::layout::Property::getValue(), te::color::RGBAColor::setColor(), and te::layout::Variant::toColor().
|
protectedvirtual |
Definition at line 1507 of file GridSettingsOutside.cpp.
References te::layout::EnumDataType::getDataTypeBool(), te::layout::EnumDataType::getDataTypeDouble(), te::layout::EnumDataType::getDataTypeInt(), te::layout::EnumDataType::getDataTypeString(), te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), te::layout::GridSettingsController::getProperty(), te::layout::Property::getType(), te::layout::Property::getValue(), te::layout::Variant::toBool(), te::layout::Variant::toDouble(), te::layout::Variant::toInt(), and te::layout::Variant::toString().
|
protectedvirtual |
Definition at line 1449 of file GridSettingsOutside.cpp.
References te::common::uri::convert(), te::layout::GridSettingsController::getProperty(), te::layout::Property::getValue(), and te::layout::Variant::toDouble().
|
protectedvirtual |
Definition at line 1432 of file GridSettingsOutside.cpp.
References te::common::uri::convert(), te::layout::GridSettingsController::getProperty(), te::layout::Property::getValue(), and te::layout::Variant::toInt().
|
protectedvirtual |
Definition at line 1416 of file GridSettingsOutside.cpp.
References te::layout::GridSettingsController::getProperty(), te::layout::Property::getValue(), and te::layout::Variant::toString().
|
virtual |
Text: Basic Configuration/
Text: Advanced configuration/
Definition at line 252 of file GridSettingsOutside.cpp.
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
Text: Basic Configuration/
Definition at line 630 of file GridSettingsOutside.cpp.
References te::layout::EnumDataType::getDataTypeInt(), te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), te::layout::Variant::setValue(), and te::layout::GridSettingsController::updateProperty().
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
Definition at line 414 of file GridSettingsOutside.cpp.
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
Definition at line 484 of file GridSettingsOutside.cpp.
References te::layout::EnumDataType::getDataTypeDouble(), te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), te::layout::Variant::setValue(), and te::layout::GridSettingsController::updateProperty().
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
Definition at line 409 of file GridSettingsOutside.cpp.
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
Text: Advanced configuration/
Definition at line 736 of file GridSettingsOutside.cpp.
References te::layout::EnumDataType::getDataTypeDouble(), te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), te::layout::Variant::setValue(), and te::layout::GridSettingsController::updateProperty().
|
privatevirtualslot |
|
privatevirtualslot |
|
virtualinherited |
Updated model state.
true | if refresh the current position, false otherwise |
Definition at line 48 of file OutsideObserver.cpp.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
|
virtual |
Change coordinate llx,lly of the MVC widget. Reimplement this function in a ItemController subclass to provide the controller's create implementation.
x | llx |
y | lly |
Implements te::layout::OutsideObserver.
Definition at line 136 of file GridSettingsOutside.cpp.
|
virtual |
Definition at line 174 of file GridSettingsOutside.cpp.
|
virtual |
Reimplemented from Observer.
Implements te::layout::OutsideObserver.
Definition at line 123 of file GridSettingsOutside.cpp.
References te::layout::ContextItem::isShow().
|
signal |
|
protectedinherited |
"Controller" part of MVC widget.
Definition at line 119 of file OutsideObserver.h.
|
protected |
Definition at line 270 of file GridSettingsOutside.h.
Referenced by GridSettingsOutside().
|
protected |
Definition at line 272 of file GridSettingsOutside.h.
Referenced by GridSettingsOutside().
|
protectedinherited |
"Model" part of MVC widget.
Definition at line 120 of file OutsideObserver.h.
Referenced by te::layout::ObjectInspectorOutside::ObjectInspectorOutside(), te::layout::OutsideObserver::OutsideObserver(), and te::layout::PropertiesOutside::PropertiesOutside().
|
protected |
Definition at line 269 of file GridSettingsOutside.h.
Referenced by GridSettingsOutside().
|
protected |
Definition at line 271 of file GridSettingsOutside.h.
Referenced by GridSettingsOutside().
|
private |
Definition at line 276 of file GridSettingsOutside.h.
Referenced by GridSettingsOutside().