|
Krita Source Code Documentation
|
Inheritance diagram for KisSelection::ChangeShapeSelectionCommand:Private Attributes | |
| bool | m_firstRedo = true |
| bool | m_isFlatten = false |
| QScopedPointer< KUndo2Command > | m_reincarnationCommand |
| KisSelectionWSP | m_selection |
| KisSelectionComponent * | m_shapeSelection = 0 |
Definition at line 169 of file kis_selection.cc.
|
inline |
Definition at line 171 of file kis_selection.cc.
References m_isFlatten, and KisSelection::shapeSelection.
|
inlineoverride |
Definition at line 178 of file kis_selection.cc.
References KisWeakSharedPtr< T >::data(), m_reincarnationCommand, m_selection, and m_shapeSelection.
|
inlineoverridevirtual |
Applies a change to the document. This function must be implemented in the derived class. Calling KUndo2QStack::push(), KUndo2QStack::undo() or KUndo2QStack::redo() from this function leads to undefined behavior.
The default implementation calls redo() on all child commands.
Reimplemented from KUndo2Command.
Definition at line 207 of file kis_selection.cc.
References KIS_SAFE_ASSERT_RECOVER_RETURN, KisSelection::m_d, m_firstRedo, m_isFlatten, m_reincarnationCommand, m_selection, m_shapeSelection, and KisSelection::requestCompressedProjectionUpdate().
|
inlineoverridevirtual |
Reverts a change to the document. After undo() is called, the state of the document should be the same as before redo() was called. This function must be implemented in the derived class. Calling KUndo2QStack::push(), KUndo2QStack::undo() or KUndo2QStack::redo() from this function leads to undefined behavior.
The default implementation calls undo() on all child commands in reverse order.
Reimplemented from KUndo2Command.
Definition at line 189 of file kis_selection.cc.
References KIS_SAFE_ASSERT_RECOVER_RETURN, KisSelection::m_d, m_isFlatten, m_reincarnationCommand, m_selection, m_shapeSelection, and KisSelection::requestCompressedProjectionUpdate().
|
private |
Definition at line 240 of file kis_selection.cc.
|
private |
Definition at line 241 of file kis_selection.cc.
|
private |
Definition at line 239 of file kis_selection.cc.
|
private |
Definition at line 237 of file kis_selection.cc.
|
private |
Definition at line 238 of file kis_selection.cc.