12#include <QQuickPaintedItem>
19 Q_PROPERTY(
QPixmap pixmap READ pixmap WRITE setPixmap NOTIFY pixmapChanged RESET resetPixmap)
20 Q_PROPERTY(
int nativeWidth READ nativeWidth NOTIFY nativeWidthChanged)
21 Q_PROPERTY(
int nativeHeight READ nativeHeight NOTIFY nativeHeightChanged)
22 Q_PROPERTY(
int paintedWidth READ paintedWidth NOTIFY paintedWidthChanged)
23 Q_PROPERTY(
int paintedHeight READ paintedHeight NOTIFY paintedHeightChanged)
24 Q_PROPERTY(FillMode fillMode READ fillMode WRITE setFillMode NOTIFY fillModeChanged)
25 Q_PROPERTY(
bool null READ isNull NOTIFY nullChanged)
39 ~QPixmapItem()
override;
41 void setPixmap(
const QPixmap &pixmap);
45 int nativeWidth()
const;
46 int nativeHeight()
const;
48 int paintedWidth()
const;
49 int paintedHeight()
const;
51 FillMode fillMode()
const;
52 void setFillMode(FillMode mode);
54 void paint(
QPainter *painter)
override;
59 void nativeWidthChanged();
60 void nativeHeightChanged();
61 void fillModeChanged();
64 void paintedWidthChanged();
65 void paintedHeightChanged();
68 void geometryChange(
const QRectF &newGeometry,
const QRectF &oldGeometry)
override;
76 void updatePaintedRect();
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:54 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.