This class implements a concrete tool to move geometries.
More...
#include <MoveGeometryTool.h>
This class implements a concrete tool to move geometries.
This class implements a concrete tool to rotate geometries.
Definition at line 66 of file MoveGeometryTool.h.
◆ MoveGeometryTool()
It constructs a move geometry tool associated with the given map display.
- Parameters
-
display | The map display associated with the tool. |
parent | The tool's parent. |
- Note
- The tool will NOT take the ownership of the given pointers.
◆ ~MoveGeometryTool()
te::edit::MoveGeometryTool::~MoveGeometryTool |
( |
| ) |
|
◆ buildEnvelope()
te::gm::Envelope te::edit::MoveGeometryTool::buildEnvelope |
( |
const QPointF & |
pos | ) |
|
|
private |
◆ disableMouseEvent()
void te::edit::GeometriesUpdateTool::disableMouseEvent |
( |
QMouseEvent::Type |
mEvent | ) |
|
|
inherited |
◆ draw()
void te::edit::MoveGeometryTool::draw |
( |
| ) |
|
|
private |
◆ geometriesEdited
void te::edit::GeometriesUpdateTool::geometriesEdited |
( |
| ) |
|
|
signalinherited |
◆ geometriesStarted
void te::edit::GeometriesUpdateTool::geometriesStarted |
( |
| ) |
|
|
signalinherited |
◆ getLayerId()
std::string te::edit::GeometriesUpdateTool::getLayerId |
( |
| ) |
|
|
inherited |
◆ isInUse()
bool te::edit::GeometriesUpdateTool::isInUse |
( |
| ) |
const |
|
inherited |
◆ keyPressEvent()
virtual bool te::qt::widgets::AbstractTool::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
virtualinherited |
This event handler can be reimplemented in a concrete tool class to receive key press events for the watched object.
- Parameters
-
- Returns
- If you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Reimplemented in te::qt::widgets::Measure.
◆ mouseDoubleClickEvent()
virtual bool te::qt::widgets::AbstractTool::mouseDoubleClickEvent |
( |
QMouseEvent * |
e | ) |
|
|
virtualinherited |
This event handler can be reimplemented in a concrete tool class to receive mouse double click events for the watched object.
- Parameters
-
- Returns
- If you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
- Note
- The AbstractTool will also receive mouse press and mouse release events in addition to the double click event. It is up to the developer to ensure that the application interprets these events correctly.
Reimplemented in te::edit::VertexTool, te::qt::widgets::Measure, te::edit::SplitPolygonTool, te::edit::CreatePolygonTool, te::edit::CreateLineTool, te::edit::CreatePointTool, te::qt::widgets::PolygonAcquire, te::edit::AggregateAreaTool, te::edit::SubtractAreaTool, and te::mnt::ProfileTools.
◆ mouseMoveEvent()
bool te::edit::MoveGeometryTool::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
virtual |
This event handler can be reimplemented in a concrete tool class to receive mouse move events for the watched object.
- Parameters
-
- Returns
- If you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Reimplemented from te::qt::widgets::AbstractTool.
◆ mousePressEvent()
bool te::edit::MoveGeometryTool::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
virtual |
This event handler can be reimplemented in a concrete tool class to receive mouse press events for the watched object.
- Parameters
-
- Returns
- If you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Reimplemented from te::qt::widgets::AbstractTool.
◆ mouseReleaseEvent()
bool te::edit::MoveGeometryTool::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
virtual |
This event handler can be reimplemented in a concrete tool class to receive mouse release events for the watched object.
- Parameters
-
- Returns
- If you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Reimplemented from te::qt::widgets::AbstractTool.
◆ pickFeature()
void te::edit::MoveGeometryTool::pickFeature |
( |
const QPointF & |
pos | ) |
|
|
private |
◆ reset()
void te::edit::MoveGeometryTool::reset |
( |
| ) |
|
|
private |
◆ resetVisualizationTool()
void te::edit::MoveGeometryTool::resetVisualizationTool |
( |
| ) |
|
|
virtual |
◆ setCursor()
void te::edit::GeometriesUpdateTool::setCursor |
( |
const QCursor & |
cursor | ) |
|
|
protectedvirtualinherited |
It sets the tool cursor.
- Parameters
-
cursor | The cursor that will be used during the tool operation. |
Reimplemented from te::qt::widgets::AbstractTool.
◆ setInUse()
void te::edit::GeometriesUpdateTool::setInUse |
( |
const bool & |
status | ) |
|
|
inherited |
◆ setLayer()
◆ storeFeature()
void te::edit::MoveGeometryTool::storeFeature |
( |
| ) |
|
|
private |
◆ storeUndoCommand()
void te::edit::MoveGeometryTool::storeUndoCommand |
( |
| ) |
|
|
private |
◆ toolDeleted
void te::edit::GeometriesUpdateTool::toolDeleted |
( |
| ) |
|
|
signalinherited |
◆ updateCursor()
void te::edit::MoveGeometryTool::updateCursor |
( |
| ) |
|
|
private |
◆ m_curCursor
QCursor te::qt::widgets::AbstractTool::m_curCursor |
|
protectedinherited |
◆ m_cursor
QCursor te::qt::widgets::AbstractTool::m_cursor |
|
protectedinherited |
◆ m_delta
QPointF te::edit::MoveGeometryTool::m_delta |
|
protected |
Difference between pressed point and destination point on mouse move.
Definition at line 126 of file MoveGeometryTool.h.
◆ m_display
MapDisplay* te::qt::widgets::AbstractTool::m_display |
|
protectedinherited |
The map display associated with the tool.
Definition at line 171 of file AbstractTool.h.
◆ m_feature
Feature* te::edit::GeometriesUpdateTool::m_feature |
|
protectedinherited |
◆ m_isInUse
bool te::edit::GeometriesUpdateTool::m_isInUse |
|
protectedinherited |
◆ m_layer
◆ m_mEvent
QMouseEvent::Type te::edit::GeometriesUpdateTool::m_mEvent |
|
protectedinherited |
◆ m_moveStarted
bool te::edit::MoveGeometryTool::m_moveStarted |
|
protected |
◆ m_origin
QPointF te::edit::MoveGeometryTool::m_origin |
|
protected |
◆ m_stack
◆ m_vecFeatures
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/edit/qt/tools/MoveGeometryTool.h