CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
image_controller_sgs.h
Go to the documentation of this file.
1
8#pragma once
9
12
13namespace CaptureMoment::UI {
14
15namespace Rendering {
16 class SGSImageItem;
17}
18
19namespace Controller {
26 Q_OBJECT
27
45
46public:
51 explicit ImageControllerSGS(QObject* parent = nullptr);
52
57
63
72 CaptureMoment::UI::Rendering::SGSImageItem* getSGSImageItem() const { return m_sgs_image_item; }
73
84
85private:
89 CaptureMoment::UI::Rendering::SGSImageItem* m_sgs_image_item {nullptr};
90
91signals:
100};
101
102} // namespace Controller
103
104} // namespace CaptureMoment::Qt
Orchestrates Core processing and Qt UI updates with SGSmethod.
CaptureMoment::UI::Rendering::SGSImageItem * sgsImageItem
QML property exposing the SGSImageItem pointer.
ImageControllerSGS(QObject *parent=nullptr)
Constructs ImageController.
Q_INVOKABLE void setSGSImageItemFromQml(CaptureMoment::UI::Rendering::SGSImageItem *item)
QML-accessible method to set the SGS image item.
CaptureMoment::UI::Rendering::SGSImageItem * getSGSImageItem() const
Getter for the SGS image item property exposed to QML.
void setSGSImageItem(CaptureMoment::UI::Rendering::SGSImageItem *item)
Set the SGS display item for rendering.
void sgsImageItemChanged()
Signal emitted when the SGS image item property changes.
~ImageControllerSGS()
Destructor - cleans up worker thread.
QQuickItem that renders an image via QSGSimpleTextureNode.
Qt bridge between Core (PhotoEngine) and Qt UI.
Simple texture-based image display (Qt6 - QSGSimpleTextureNode) using BaseImageItem for common state.
CaptureMoment — footer