|
QElectroTech
0.70
|
The RemoveTextsGroupCommand class Manage the removinf of a texts group. More...
#include <addelementtextcommand.h>
Public Member Functions | |
| RemoveTextsGroupCommand (Element *element, ElementTextItemGroup *group, QUndoCommand *parent=nullptr) | |
| RemoveTextsGroupCommand::RemoveTextsGroupCommand. More... | |
| ~RemoveTextsGroupCommand () override | |
| void | undo () override |
| void | redo () override |
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.
Definition at line 75 of file addelementtextcommand.h.
| 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 |
Definition at line 172 of file addelementtextcommand.cpp.
References m_text_list, ElementTextItemGroup::texts(), and QET::Icons::tr.
|
override |
Definition at line 183 of file addelementtextcommand.cpp.
|
override |
Definition at line 198 of file addelementtextcommand.cpp.
References m_element, m_group, and m_text_list.
|
override |
Definition at line 186 of file addelementtextcommand.cpp.
References m_element, m_group, and m_text_list.
|
private |
Definition at line 85 of file addelementtextcommand.h.
|
private |
Definition at line 86 of file addelementtextcommand.h.
|
private |
Definition at line 87 of file addelementtextcommand.h.
Referenced by redo(), RemoveTextsGroupCommand(), and undo().
1.8.15