Undo/Redo for add one components. More...
#include <AddContinuosCommand.h>
Public Member Functions | |
| AddContinuosCommand (std::vector< Feature * > &items, std::vector< te::gm::Coord2D > &coords, int &correntIndex, te::qt::widgets::MapDisplay *display, const te::map::AbstractLayerPtr &layer, QUndoCommand *parent=0) | |
| virtual void | redo () |
| Reimplemented from QUndoCommand. More... | |
| virtual void | undo () |
| Reimplemented from QUndoCommand. More... | |
| virtual | ~AddContinuosCommand () |
| Destructor. More... | |
Private Member Functions | |
| void | draw () |
Private Attributes | |
| std::vector< Feature * > & | m_addItems |
| std::vector< te::gm::Coord2D > & | m_coords |
| int & | m_correntIndex |
| te::qt::widgets::MapDisplay * | m_display |
| te::map::AbstractLayerPtr | m_layer |
Undo/Redo for add one components.
Definition at line 49 of file AddContinuosCommand.h.
| te::edit::AddContinuosCommand::AddContinuosCommand | ( | std::vector< Feature * > & | items, |
| std::vector< te::gm::Coord2D > & | coords, | ||
| int & | correntIndex, | ||
| te::qt::widgets::MapDisplay * | display, | ||
| const te::map::AbstractLayerPtr & | layer, | ||
| QUndoCommand * | parent = 0 |
||
| ) |
|
virtual |
Destructor.
|
private |
|
virtual |
Reimplemented from QUndoCommand.
|
virtual |
Reimplemented from QUndoCommand.
|
private |
Definition at line 74 of file AddContinuosCommand.h.
|
private |
Definition at line 75 of file AddContinuosCommand.h.
|
private |
Definition at line 77 of file AddContinuosCommand.h.
|
private |
Definition at line 72 of file AddContinuosCommand.h.
|
private |
Definition at line 73 of file AddContinuosCommand.h.