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