QElectroTech 0.100.0-dev
|
The AddTextToGroupCommand class. More...
#include <addelementtextcommand.h>
Inherits QUndoCommand.
Public Member Functions | |
AddTextToGroupCommand (DynamicElementTextItem *text, ElementTextItemGroup *group, QUndoCommand *parent=nullptr) | |
AddTextToGroupCommand::AddTextToGroupCommand. | |
~AddTextToGroupCommand () override | |
AddTextToGroupCommand::~AddTextToGroupCommand Destructor. | |
void | undo () override |
AddTextToGroupCommand::undo. | |
void | redo () override |
AddTextToGroupCommand::redo. | |
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 |