42 #ifndef QDECLARATIVEIMAGE_H 43 #define QDECLARATIVEIMAGE_H 45 #include "private/qdeclarativeimagebase_p.h" 47 #include <QtNetwork/qnetworkreply.h> 73 void setPixmap(
const QPixmap &);
75 qreal paintedWidth()
const;
76 qreal paintedHeight()
const;
82 void fillModeChanged();
83 void paintedGeometryChanged();
89 void updatePaintedGeometry();
100 #endif // QDECLARATIVEIMAGE_H The QPainter class performs low-level painting on widgets and other paint devices.
#define QT_END_NAMESPACE
This macro expands to.
QScopedPointer< QGraphicsItemPrivate > d_ptr
#define QML_DECLARE_TYPE(TYPE)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
QRectF boundingRect() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
The QDeclarativeItem class provides the most basic of all visual items in QML.
QVariant data(int key) const
Returns this item's custom data for the key key as a QVariant.
virtual void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry)
This function is called to handle this item's changes in geometry from oldGeometry to newGeometry...
#define Q_DECLARE_PRIVATE_D(Dptr, Class)
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *)
#define Q_AUTOTEST_EXPORT
The QPixmap class is an off-screen image representation that can be used as a paint device...
virtual void pixmapChange()
The QStyleOptionGraphicsItem class is used to describe the parameters needed to draw a QGraphicsItem...