CropCommand
CropCommand Class Reference
#include <cropcommand.h>
Inheritance diagram for CropCommand:

Public Member Functions | |
| CropCommand (const QRect &cropRect) | |
| QImage | redo (QImage image) override | 
| QImage | undo (QImage image) override | 
  Public Member Functions inherited from Command | |
| void | addProperty (const QString &key, const QVariant &value) | 
| QVariant | getPropertyValue (const QString &key) | 
| bool | hasProperty (const QString &key) | 
Detailed Description
CropCommand that crop the current image.
Definition at line 17 of file cropcommand.h.
Constructor & Destructor Documentation
◆ CropCommand()
| CropCommand::CropCommand | ( | const QRect & | cropRect | ) | 
Contructor.
Definition at line 9 of file cropcommand.cpp.
Member Function Documentation
◆ redo()
Applies the change to the document.
Implements Command.
Definition at line 20 of file cropcommand.cpp.
◆ undo()
The documentation for this class was generated from the following files:
  This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:56:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
          Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:56:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 Public Member Functions inherited from