QElectroTech
0.8-dev
|
The AddTextToGroupCommand class. More...
#include <addelementtextcommand.h>
Inherits QUndoCommand.
Public Member Functions | |
AddTextToGroupCommand (DynamicElementTextItem *text, ElementTextItemGroup *group, QUndoCommand *parent=nullptr) | |
AddTextToGroupCommand::AddTextToGroupCommand. More... | |
~AddTextToGroupCommand () override | |
AddTextToGroupCommand::~AddTextToGroupCommand Destructor. More... | |
void | undo () override |
AddTextToGroupCommand::undo. More... | |
void | redo () override |
AddTextToGroupCommand::redo. More... | |
Private Attributes | |
QPointer< DynamicElementTextItem > | m_text |
QPointer< ElementTextItemGroup > | m_group |
QPointer< Element > | m_element |
The AddTextToGroupCommand class.
AddTextToGroupCommand::AddTextToGroupCommand | ( | DynamicElementTextItem * | text, |
ElementTextItemGroup * | group, | ||
QUndoCommand * | parent = nullptr |
||
) |
AddTextToGroupCommand::AddTextToGroupCommand.
text | |
group | |
parent |
|
override |
AddTextToGroupCommand::~AddTextToGroupCommand Destructor.
|
override |
|
override |
|
private |
|
private |
|
private |