|
CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
|
Pure interface for operation models. More...
#include <i_operation_model.h>
Inheritance diagram for CaptureMoment::UI::IOperationModel:Public Member Functions | |
| virtual | ~IOperationModel ()=default |
| virtual QString | name () const =0 |
| Get operation name. | |
| virtual bool | isActive () const =0 |
| Check if operation is active (non-default) | |
| virtual Core::Operations::OperationType | getType () const =0 |
| Gets the type of this operation. | |
| virtual Core::Operations::OperationDescriptor | getDescriptor () const =0 |
| Creates and returns an OperationDescriptor representing the current state of this model. This descriptor contains the operation type, name, parameters (like the brightness value), and other metadata required by the core processing engine (PipelineEngine). | |
| virtual void | reset ()=0 |
| Reset to default state. | |
Pure interface for operation models.
This is the CONTRACT - defines what all operations must implement Independent of Qt, independent of signals/slots
Definition at line 24 of file i_operation_model.h.
|
virtualdefault |
|
nodiscardpure virtual |
Get operation name.
Implemented in CaptureMoment::UI::Models::Operations::BlacksModel, CaptureMoment::UI::Models::Operations::BrightnessModel, CaptureMoment::UI::Models::Operations::ContrastModel, CaptureMoment::UI::Models::Operations::HighlightsModel, CaptureMoment::UI::Models::Operations::ShadowsModel, and CaptureMoment::UI::Models::Operations::WhitesModel.
|
nodiscardpure virtual |
Check if operation is active (non-default)
Implemented in CaptureMoment::UI::Models::Operations::BaseAdjustmentModel.
|
nodiscardpure virtual |
Gets the type of this operation.
Implemented in CaptureMoment::UI::Models::Operations::BlacksModel, CaptureMoment::UI::Models::Operations::BrightnessModel, CaptureMoment::UI::Models::Operations::ContrastModel, CaptureMoment::UI::Models::Operations::HighlightsModel, CaptureMoment::UI::Models::Operations::ShadowsModel, and CaptureMoment::UI::Models::Operations::WhitesModel.
|
nodiscardpure virtual |
Creates and returns an OperationDescriptor representing the current state of this model. This descriptor contains the operation type, name, parameters (like the brightness value), and other metadata required by the core processing engine (PipelineEngine).
Implemented in CaptureMoment::UI::Models::Operations::BlacksModel, CaptureMoment::UI::Models::Operations::BrightnessModel, CaptureMoment::UI::Models::Operations::ContrastModel, CaptureMoment::UI::Models::Operations::HighlightsModel, CaptureMoment::UI::Models::Operations::ShadowsModel, and CaptureMoment::UI::Models::Operations::WhitesModel.
|
pure virtual |
Reset to default state.
Implemented in CaptureMoment::UI::Models::Operations::BlacksModel, CaptureMoment::UI::Models::Operations::BrightnessModel, CaptureMoment::UI::Models::Operations::ContrastModel, CaptureMoment::UI::Models::Operations::HighlightsModel, CaptureMoment::UI::Models::Operations::ShadowsModel, and CaptureMoment::UI::Models::Operations::WhitesModel.