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