|
Krita Source Code Documentation
|
API docs go here. More...
#include <KoShapeRunAroundCommand.h>
Inheritance diagram for KoShapeRunAroundCommand:Public Member Functions | |
| KoShapeRunAroundCommand (KoShape *shape, KoShape::TextRunAroundSide side, int runThrough, qreal distanceLeft, qreal distanceTop, qreal distanceRight, qreal distanceBottom, qreal threshold, KoShape::TextRunAroundContour contour, KUndo2Command *parent=0) | |
| Private (KoShape *s, KoShape::TextRunAroundSide side, int runThrough, qreal distanceLeft, qreal distanceTop, qreal distanceRight, qreal distanceBottom, qreal threshold, KoShape::TextRunAroundContour contour) | |
| void | redo () override |
| redo the command | |
| void | undo () override |
| revert the actions done in redo | |
| ~KoShapeRunAroundCommand () override | |
Public Member Functions inherited from KUndo2Command | |
| QString | actionText () const |
| virtual bool | canAnnihilateWith (const KUndo2Command *other) const |
| const KUndo2Command * | child (int index) const |
| int | childCount () const |
| virtual QTime | endTime () const |
| KUndo2CommandExtraData * | extraData () const |
| bool | hasParent () const |
| virtual int | id () const |
| virtual bool | isMerged () const |
| KUndo2Command (const KUndo2MagicString &text, KUndo2Command *parent=0) | |
| KUndo2Command (KUndo2Command *parent=0) | |
| virtual QVector< KUndo2Command * > | mergeCommandsVector () const |
| virtual bool | mergeWith (const KUndo2Command *other) |
| virtual void | redoMergedCommands () |
| void | setEndTime () |
| virtual void | setEndTime (const QTime &time) |
| void | setExtraData (KUndo2CommandExtraData *data) |
| void | setText (const KUndo2MagicString &text) |
| void | setTime () |
| virtual void | setTime (const QTime &time) |
| virtual void | setTimedID (int timedID) |
| KUndo2MagicString | text () const |
| virtual QTime | time () const |
| virtual int | timedId () const |
| virtual bool | timedMergeWith (KUndo2Command *other) |
| virtual void | undoMergedCommands () |
| virtual | ~KUndo2Command () |
Public Attributes | |
| KoShape::TextRunAroundContour | newContour |
| qreal | newDistanceBottom |
| qreal | newDistanceLeft |
| qreal | newDistanceRight |
| qreal | newDistanceTop |
| int | newRunThrough |
| KoShape::TextRunAroundSide | newSide |
| qreal | newThreshold |
| KoShape::TextRunAroundContour | oldContour |
| qreal | oldDistanceBottom |
| qreal | oldDistanceLeft |
| qreal | oldDistanceRight |
| qreal | oldDistanceTop |
| int | oldRunThrough |
| KoShape::TextRunAroundSide | oldSide |
| qreal | oldThreshold |
| KoShape * | shape |
Private Attributes | |
| Private *const | d |
Private Attributes inherited from Private | |
| KisCanvas2 * | canvas |
| int | displayedFrame |
| int | intendedFrame |
Additional Inherited Members | |
Private Member Functions inherited from Private | |
| Private (KisCanvas2 *c) | |
API docs go here.
Definition at line 12 of file KoShapeRunAroundCommand.cpp.
| KoShapeRunAroundCommand::KoShapeRunAroundCommand | ( | KoShape * | shape, |
| KoShape::TextRunAroundSide | side, | ||
| int | runThrough, | ||
| qreal | distanceLeft, | ||
| qreal | distanceTop, | ||
| qreal | distanceRight, | ||
| qreal | distanceBottom, | ||
| qreal | threshold, | ||
| KoShape::TextRunAroundContour | contour, | ||
| KUndo2Command * | parent = 0 ) |
Definition at line 54 of file KoShapeRunAroundCommand.cpp.
References kundo2_i18n(), and KUndo2Command::setText().
|
override |
|
inline |
Definition at line 15 of file KoShapeRunAroundCommand.cpp.
|
overridevirtual |
redo the command
Reimplemented from KUndo2Command.
Definition at line 66 of file KoShapeRunAroundCommand.cpp.
References KoShape::Background, d, and KUndo2Command::redo().
|
overridevirtual |
revert the actions done in redo
Reimplemented from KUndo2Command.
Definition at line 80 of file KoShapeRunAroundCommand.cpp.
References KoShape::Background, d, and KUndo2Command::undo().
|
private |
Definition at line 29 of file KoShapeRunAroundCommand.h.
| KoShape::TextRunAroundContour KoShapeRunAroundCommand::newContour |
Definition at line 43 of file KoShapeRunAroundCommand.cpp.
| qreal KoShapeRunAroundCommand::newDistanceBottom |
Definition at line 41 of file KoShapeRunAroundCommand.cpp.
| qreal KoShapeRunAroundCommand::newDistanceLeft |
Definition at line 38 of file KoShapeRunAroundCommand.cpp.
| qreal KoShapeRunAroundCommand::newDistanceRight |
Definition at line 40 of file KoShapeRunAroundCommand.cpp.
| qreal KoShapeRunAroundCommand::newDistanceTop |
Definition at line 39 of file KoShapeRunAroundCommand.cpp.
| int KoShapeRunAroundCommand::newRunThrough |
Definition at line 37 of file KoShapeRunAroundCommand.cpp.
| KoShape::TextRunAroundSide KoShapeRunAroundCommand::newSide |
Definition at line 36 of file KoShapeRunAroundCommand.cpp.
| qreal KoShapeRunAroundCommand::newThreshold |
Definition at line 42 of file KoShapeRunAroundCommand.cpp.
| KoShape::TextRunAroundContour KoShapeRunAroundCommand::oldContour |
Definition at line 51 of file KoShapeRunAroundCommand.cpp.
| qreal KoShapeRunAroundCommand::oldDistanceBottom |
Definition at line 49 of file KoShapeRunAroundCommand.cpp.
| qreal KoShapeRunAroundCommand::oldDistanceLeft |
Definition at line 46 of file KoShapeRunAroundCommand.cpp.
| qreal KoShapeRunAroundCommand::oldDistanceRight |
Definition at line 48 of file KoShapeRunAroundCommand.cpp.
| qreal KoShapeRunAroundCommand::oldDistanceTop |
Definition at line 47 of file KoShapeRunAroundCommand.cpp.
| int KoShapeRunAroundCommand::oldRunThrough |
Definition at line 45 of file KoShapeRunAroundCommand.cpp.
| KoShape::TextRunAroundSide KoShapeRunAroundCommand::oldSide |
Definition at line 44 of file KoShapeRunAroundCommand.cpp.
| qreal KoShapeRunAroundCommand::oldThreshold |
Definition at line 50 of file KoShapeRunAroundCommand.cpp.
| KoShape* KoShapeRunAroundCommand::shape |
Definition at line 35 of file KoShapeRunAroundCommand.cpp.