krita/image
KisLayerPropsCommand Class Reference
The command for layer property changes. More...
#include <kis_layer_props_command.h>
Inheritance diagram for KisLayerPropsCommand:

Public Member Functions | |
| KisLayerPropsCommand (KisLayerSP layer, qint32 oldOpacity, qint32 newOpactiy, const QString &oldCompositeOp, const QString &newCompositeOp, const QString &oldName, const QString &newName, const QBitArray oldChannelFlags, const QBitArray newChannelFlags) | |
| virtual | ~KisLayerPropsCommand () |
| virtual void | redo () |
| virtual void | undo () |
Detailed Description
The command for layer property changes.
Definition at line 36 of file kis_layer_props_command.h.
Constructor & Destructor Documentation
| KisLayerPropsCommand::KisLayerPropsCommand | ( | KisLayerSP | layer, | |
| qint32 | oldOpacity, | |||
| qint32 | newOpactiy, | |||
| const QString & | oldCompositeOp, | |||
| const QString & | newCompositeOp, | |||
| const QString & | oldName, | |||
| const QString & | newName, | |||
| const QBitArray | oldChannelFlags, | |||
| const QBitArray | newChannelFlags | |||
| ) |
Command for layer property changes.
This command stores the current layer properties and set the new properties
- Parameters:
-
image the image layer the layer whose propertys will be changed opacity the new layer opacity compositeOp the new layer composite op name the new layer name
Definition at line 37 of file kis_layer_props_command.cpp.
| KisLayerPropsCommand::~KisLayerPropsCommand | ( | ) | [virtual] |
Definition at line 54 of file kis_layer_props_command.cpp.
Member Function Documentation
| void KisLayerPropsCommand::redo | ( | ) | [virtual] |
Reimplemented from QUndoCommand.
Definition at line 58 of file kis_layer_props_command.cpp.
| void KisLayerPropsCommand::undo | ( | ) | [virtual] |
Reimplemented from QUndoCommand.
Definition at line 67 of file kis_layer_props_command.cpp.
The documentation for this class was generated from the following files:
