Undo/Redo for add one components. More...
#include <AddCommand.h>
 
 | Signals | |
| void | commandFeedback () | 
| Public Member Functions | |
| AddCommand (te::qt::widgets::MapDisplay *display, const te::map::AbstractLayerPtr &layer, te::da::ObjectId *id, QUndoCommand *parent=0) | |
| virtual void | redo () | 
| Reimplemented from QUndoCommand. | |
| virtual void | undo () | 
| Reimplemented from QUndoCommand. | |
| virtual | ~AddCommand () | 
| Destructor. | |
| Private Member Functions | |
| std::size_t | countFeaturesById (te::da::ObjectId *id, std::size_t &lastPos) | 
| void | draw () | 
| Private Attributes | |
| te::qt::widgets::MapDisplay * | m_display | 
| te::da::ObjectId * | m_id | 
| te::map::AbstractLayerPtr | m_layer | 
| UndoStackManager & | m_stack | 
Undo/Redo for add one components.
Definition at line 54 of file AddCommand.h.
| te::edit::AddCommand::AddCommand | ( | te::qt::widgets::MapDisplay * | display, | 
| const te::map::AbstractLayerPtr & | layer, | ||
| te::da::ObjectId * | id, | ||
| QUndoCommand * | parent = 0 | ||
| ) | 
| 
 | virtual | 
Destructor.
| 
 | signal | 
| 
 | private | 
| 
 | private | 
| 
 | virtual | 
Reimplemented from QUndoCommand.
| 
 | virtual | 
Reimplemented from QUndoCommand.
| 
 | private | 
Definition at line 83 of file AddCommand.h.
| 
 | private | 
Definition at line 85 of file AddCommand.h.
| 
 | private | 
Definition at line 84 of file AddCommand.h.
| 
 | private | 
Definition at line 86 of file AddCommand.h.