SymbolEditor
1.3.0
|
Add new symbols dragged from another instance of the SymbolEditor. More...
#include <Commands.h>
Public Member Functions | |
DragAndDropCommand (SymbolLibrary *library, const QMimeData *mimeData) | |
virtual void | redo () |
virtual void | undo () |
Private Attributes | |
SymbolLibrary * | m_library |
QList< Symbol > | m_symbols |
QList< qint16 > | m_indexes |
Add new symbols dragged from another instance of the SymbolEditor.
Allows copying of symbols from one symbol library to another using drag and drop.
Definition at line 515 of file Commands.h.
DragAndDropCommand::DragAndDropCommand | ( | SymbolLibrary * | library, |
const QMimeData * | mimeData | ||
) |
Constructor.
library | pointer to the symbol library to add the new symbols to |
mimeData | pointer to the QMimeData containing the new symbols |
Definition at line 1003 of file Commands.cpp.
|
virtual |
Redo the addition of symbols dragged to the list.
Definition at line 1021 of file Commands.cpp.
|
virtual |
Undo the addition of the symbols added.
Definition at line 1032 of file Commands.cpp.
|
private |
Definition at line 526 of file Commands.h.
|
private |
Definition at line 524 of file Commands.h.
|
private |
Definition at line 525 of file Commands.h.