KQuickImageEditor
9#include "resizehandle.h"
11#include <QQmlComponent>
20 Q_PROPERTY(qreal insideX READ insideX WRITE setInsideX NOTIFY insideXChanged)
21 Q_PROPERTY(qreal insideY READ insideY WRITE setInsideY NOTIFY insideYChanged)
22 Q_PROPERTY(qreal insideWidth READ insideWidth WRITE setInsideWidth NOTIFY insideWidthChanged)
23 Q_PROPERTY(qreal insideHeight READ insideHeight WRITE setInsideHeight NOTIFY insideHeightChanged)
27 ~ResizeRectangle() =
default;
29 qreal insideX()
const;
30 void setInsideX(qreal
x);
31 qreal insideY()
const;
32 void setInsideY(qreal
y);
33 qreal insideWidth()
const;
34 void setInsideWidth(qreal
width);
35 qreal insideHeight()
const;
36 void setInsideHeight(qreal
height);
38 QSGNode *updatePaintNode(
QSGNode *, UpdatePaintNodeData *)
override;
45 void componentComplete()
override;
50 void insideXChanged();
51 void insideYChanged();
52 void insideWidthChanged();
53 void insideHeightChanged();
54 void handleComponentChanged();
65 bool m_mouseClickedOnRectangle =
false;
67 ResizeHandle *m_handleBottomLeft =
nullptr;
68 ResizeHandle *m_handleBottomRight =
nullptr;
69 ResizeHandle *m_handleTopLeft =
nullptr;
70 ResizeHandle *m_handleTopRight =
nullptr;
void acceptSize()
Double click event signal.
QQuickItem(QQuickItem *parent)
virtual bool event(QEvent *ev) override
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:25 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.