QElectroTech
0.8-dev
|
The RemoveTextsGroupCommand class Manage the removinf of a texts group. More...
#include <addelementtextcommand.h>
Inherits QUndoCommand.
Public Member Functions | |
RemoveTextsGroupCommand (Element *element, ElementTextItemGroup *group, QUndoCommand *parent=nullptr) | |
RemoveTextsGroupCommand::RemoveTextsGroupCommand. More... | |
~RemoveTextsGroupCommand () override | |
RemoveTextsGroupCommand::~RemoveTextsGroupCommand. More... | |
void | undo () override |
RemoveTextsGroupCommand::undo. More... | |
void | redo () override |
RemoveTextsGroupCommand::redo. More... | |
Private Attributes | |
QPointer< Element > | m_element |
QPointer< ElementTextItemGroup > | m_group |
QList< QPointer< DynamicElementTextItem > > | m_text_list |
The RemoveTextsGroupCommand class Manage the removinf of a texts group.
RemoveTextsGroupCommand::RemoveTextsGroupCommand | ( | Element * | element, |
ElementTextItemGroup * | group, | ||
QUndoCommand * | parent = nullptr |
||
) |
RemoveTextsGroupCommand::RemoveTextsGroupCommand.
element | : The element where we remove a group |
group | : the group to remove |
parent | : the parent undo command |
|
override |
|
override |
|
override |
|
private |
|
private |
|
private |