Undo/Redo for add one components. More...
#include <AddCommand.h>
Public Member Functions | |
AddCommand (std::vector< Feature * > items, 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 | ~AddCommand () |
Destructor. More... | |
Private Member Functions | |
void | draw () |
Private Attributes | |
std::vector< Feature * > | m_addItems |
te::qt::widgets::MapDisplay * | m_display |
te::map::AbstractLayerPtr | m_layer |
int | m_nextFeature |
int | m_previousFeature |
Undo/Redo for add one components.
Definition at line 49 of file AddCommand.h.
te::edit::AddCommand::AddCommand | ( | std::vector< Feature * > | items, |
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 AddCommand.h.
|
private |
Definition at line 72 of file AddCommand.h.
|
private |
Definition at line 73 of file AddCommand.h.
|
private |
Definition at line 77 of file AddCommand.h.
|
private |
Definition at line 78 of file AddCommand.h.