CaptureMoment
0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
qml_sgs_image_item.cpp
Go to the documentation of this file.
1
8
#include "
rendering/qml_sgs_image_item.h
"
// Include the corresponding header
9
#include <spdlog/spdlog.h>
10
11
namespace
CaptureMoment::UI
{
12
13
// Constructor: Initializes the item.
14
QMLSGSImageItem::QMLSGSImageItem
(QQuickItem* parent)
15
: Rendering::SGSImageItem(parent)
// Call the base SGSImageItem constructor
16
{
17
spdlog::debug(
"QMLSGSImageItem: Created (inherits SGSImageItem logic)"
);
18
}
19
20
// Destructor: Cleans up resources.
21
QMLSGSImageItem::~QMLSGSImageItem
() {
22
spdlog::debug(
"QMLSGSImageItem: Destroyed"
);
23
// The SGSImageItem destructor is called automatically.
24
}
25
26
}
// namespace CaptureMoment::UI
CaptureMoment::UI::QMLSGSImageItem::~QMLSGSImageItem
~QMLSGSImageItem()
Destroys the QMLSGSImageItem.
Definition
qml_sgs_image_item.cpp:21
CaptureMoment::UI::QMLSGSImageItem::QMLSGSImageItem
QMLSGSImageItem(QQuickItem *parent=nullptr)
Constructs a QMLSGSImageItem.
Definition
qml_sgs_image_item.cpp:14
CaptureMoment::UI
Definition
image_controller_base.cpp:21
qml_sgs_image_item.h
QML object wrapper for SGSImageItem using modern C++20/23 features.
CaptureMoment — footer