#include <MapLayerChoiceOutside.h>
Public Member Functions | |
| virtual OutsideController * | getController () |
| Returns the "Controller" part of the MVC. More... | |
| te::da::DataSourcePtr | getDataSource () |
| te::map::AbstractLayerPtr | getLayer () |
| 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... | |
| MapLayerChoiceOutside (OutsideController *controller, Observable *o) | |
| virtual void | refresh () |
| Updated model state. More... | |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| Set the layer that can be used. 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 | updateObserver (ContextItem context) |
| Reimplemented from Observer. More... | |
| ~MapLayerChoiceOutside () | |
Protected Slots | |
| void | onCancelPushButtonClicked () |
| void | onOkPushButtonClicked () |
Protected Attributes | |
| OutsideController * | m_controller |
| "Controller" part of MVC widget. More... | |
| Observable * | m_model |
| "Model" part of MVC widget. More... | |
Private Attributes | |
| te::da::DataSourcePtr | m_dataSource |
| std::list< te::map::AbstractLayerPtr > | m_layers |
| List of layers. More... | |
| te::map::AbstractLayerPtr | m_selectedLayer |
| Layer used for address geocoding. More... | |
| std::vector< std::string > | m_selectedProps |
| Selected properties related to the selected Layer. More... | |
| std::auto_ptr< Ui::MapLayerChoice > | m_ui |
| std::auto_ptr< te::qt::widgets::DoubleListWidget > | m_widget |
Definition at line 55 of file MapLayerChoiceOutside.h.
| te::layout::MapLayerChoiceOutside::MapLayerChoiceOutside | ( | OutsideController * | controller, |
| Observable * | o | ||
| ) |
Definition at line 67 of file MapLayerChoiceOutside.cpp.
References m_ui, m_widget, onCancelPushButtonClicked(), and onOkPushButtonClicked().
| te::layout::MapLayerChoiceOutside::~MapLayerChoiceOutside | ( | ) |
Definition at line 89 of file MapLayerChoiceOutside.cpp.
|
virtualinherited |
Returns the "Controller" part of the MVC.
Definition at line 59 of file OutsideObserver.cpp.
| te::da::DataSourcePtr te::layout::MapLayerChoiceOutside::getDataSource | ( | ) |
Definition at line 103 of file MapLayerChoiceOutside.cpp.
| te::map::AbstractLayerPtr te::layout::MapLayerChoiceOutside::getLayer | ( | ) |
Definition at line 98 of file MapLayerChoiceOutside.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 203 of file MapLayerChoiceOutside.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().
|
protectedslot |
Definition at line 183 of file MapLayerChoiceOutside.cpp.
Referenced by MapLayerChoiceOutside().
|
protectedslot |
Definition at line 108 of file MapLayerChoiceOutside.cpp.
References te::da::GetDataSource(), and te::map::DataSetLayer::getDataSourceId().
Referenced by MapLayerChoiceOutside().
|
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.
| void te::layout::MapLayerChoiceOutside::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 93 of file MapLayerChoiceOutside.cpp.
|
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 197 of file MapLayerChoiceOutside.cpp.
|
virtual |
Reimplemented from Observer.
Implements te::layout::OutsideObserver.
Definition at line 188 of file MapLayerChoiceOutside.cpp.
References te::layout::ContextItem::isShow().
|
protectedinherited |
"Controller" part of MVC widget.
Definition at line 119 of file OutsideObserver.h.
|
private |
Definition at line 93 of file MapLayerChoiceOutside.h.
|
private |
List of layers.
Definition at line 92 of file MapLayerChoiceOutside.h.
|
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().
|
private |
Layer used for address geocoding.
Definition at line 94 of file MapLayerChoiceOutside.h.
|
private |
Selected properties related to the selected Layer.
Definition at line 95 of file MapLayerChoiceOutside.h.
|
private |
Definition at line 90 of file MapLayerChoiceOutside.h.
Referenced by MapLayerChoiceOutside().
|
private |
Definition at line 91 of file MapLayerChoiceOutside.h.
Referenced by MapLayerChoiceOutside().