The main toolbar of TerraLib Edit Qt plugin. More...
#include <ToolBar.h>
Public Member Functions | |
QToolBar * | get () const |
ToolBar () | |
~ToolBar () | |
Protected Slots | |
void | onCreateLineToolActivated (bool checked) |
void | onCreatePolygonToolActivated (bool checked) |
void | onEditActivated (bool checked) |
void | onMoveGeometryToolActivated (bool checked) |
void | onSaveActivated () |
void | onSnapOptionsActivated () |
void | onVertexToolActivated (bool checked) |
Protected Member Functions | |
void | createAction (QAction *&action, const QString &tooltip, const QString &icon, bool checkable, bool enabled, const char *member) |
te::map::AbstractLayerPtr | getLayer (const std::string &id) |
te::map::AbstractLayerPtr | getSelectedLayer () |
void | initialize () |
void | initializeActions () |
Protected Attributes | |
QAction * | m_createLineToolAction |
QAction * | m_createPolygonToolAction |
QAction * | m_editAction |
QAction * | m_moveGeometryToolAction |
QAction * | m_saveAction |
QAction * | m_snapOptionsAction |
QToolBar * | m_toolBar |
QList< QAction * > | m_tools |
QAction * | m_vertexToolAction |
te::qt::plugins::edit::ToolBar::ToolBar | ( | ) |
Definition at line 60 of file ToolBar.cpp.
References initialize().
te::qt::plugins::edit::ToolBar::~ToolBar | ( | ) |
Definition at line 73 of file ToolBar.cpp.
|
protected |
Definition at line 159 of file ToolBar.cpp.
QToolBar * te::qt::plugins::edit::ToolBar::get | ( | ) | const |
Definition at line 78 of file ToolBar.cpp.
|
protected |
Definition at line 93 of file ToolBar.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), and TE_TR.
|
protected |
Definition at line 83 of file ToolBar.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), and te::qt::af::evt::GetLayerSelected::m_layer.
|
protected |
Definition at line 107 of file ToolBar.cpp.
Referenced by ToolBar().
|
protected |
Definition at line 115 of file ToolBar.cpp.
References te::common::Singleton< ApplicationController >::getInstance().
|
protectedslot |
Definition at line 305 of file ToolBar.cpp.
References te::qt::af::MapDisplay::getDisplay(), te::common::Singleton< ApplicationController >::getInstance(), te::qt::af::evt::GetMapDisplay::m_display, and te::qt::af::MapDisplay::setCurrentTool().
|
protectedslot |
Definition at line 287 of file ToolBar.cpp.
References te::qt::af::MapDisplay::getDisplay(), te::common::Singleton< ApplicationController >::getInstance(), te::qt::af::evt::GetMapDisplay::m_display, and te::qt::af::MapDisplay::setCurrentTool().
|
protectedslot |
Definition at line 169 of file ToolBar.cpp.
|
protectedslot |
Definition at line 323 of file ToolBar.cpp.
References te::qt::af::MapDisplay::getDisplay(), te::common::Singleton< ApplicationController >::getInstance(), te::qt::af::evt::GetMapDisplay::m_display, and te::qt::af::MapDisplay::setCurrentTool().
|
protectedslot |
Definition at line 179 of file ToolBar.cpp.
References te::edit::Repository::clear(), te::edit::Repository::getAllFeatures(), te::map::DataSetLayer::getDataSetName(), te::da::GetDataSource(), te::map::DataSetLayer::getDataSourceId(), te::da::GetFirstSpatialPropertyPos(), te::common::Singleton< RepositoryManager >::getInstance(), te::da::GetOIDPropertyNames(), te::da::GetPropertyPos(), te::mem::DataSetItem::setGeometry(), te::mem::DataSetItem::setValue(), and te::common::Exception::what().
|
protectedslot |
Definition at line 341 of file ToolBar.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), and te::edit::SnapOptionsDialog::setLayers().
|
protectedslot |
Definition at line 269 of file ToolBar.cpp.
References te::qt::af::MapDisplay::getDisplay(), te::common::Singleton< ApplicationController >::getInstance(), te::qt::af::evt::GetMapDisplay::m_display, and te::qt::af::MapDisplay::setCurrentTool().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |