QtExtraComponents
#include <qimageitem.h>

Public Types | |
| enum | FillMode { Stretch, PreserveAspectFit, PreserveAspectCrop, Tile, TileVertically, TileHorizontally } |
Signals | |
| void | fillModeChanged () |
| void | imageChanged () |
| void | nativeHeightChanged () |
| void | nativeWidthChanged () |
| void | nullChanged () |
Public Member Functions | |
| QImageItem (QDeclarativeItem *parent=0) | |
| ~QImageItem () | |
| FillMode | fillMode () const |
| QImage | image () const |
| bool | isNull () const |
| int | nativeHeight () const |
| int | nativeWidth () const |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
| void | setFillMode (FillMode mode) |
| void | setImage (const QImage &image) |
| void | setSmooth (const bool smooth) |
| bool | smooth () const |
Properties | |
| FillMode | fillMode |
| QImage | image |
| int | nativeHeight |
| int | nativeWidth |
| bool | null |
| bool | smooth |
Detailed Description
Definition at line 26 of file qimageitem.h.
Member Enumeration Documentation
| enum QImageItem::FillMode |
| Enumerator | |
|---|---|
| Stretch | |
| PreserveAspectFit | |
| PreserveAspectCrop | |
| Tile | |
| TileVertically | |
| TileHorizontally | |
Definition at line 39 of file qimageitem.h.
Constructor & Destructor Documentation
| QImageItem::QImageItem | ( | QDeclarativeItem * | parent = 0 | ) |
Definition at line 25 of file qimageitem.cpp.
| QImageItem::~QImageItem | ( | ) |
Definition at line 34 of file qimageitem.cpp.
Member Function Documentation
| FillMode QImageItem::fillMode | ( | ) | const |
|
signal |
| QImage QImageItem::image | ( | ) | const |
|
signal |
| bool QImageItem::isNull | ( | ) | const |
Definition at line 152 of file qimageitem.cpp.
| int QImageItem::nativeHeight | ( | ) | const |
|
signal |
| int QImageItem::nativeWidth | ( | ) | const |
|
signal |
|
signal |
| void QImageItem::paint | ( | QPainter * | painter, |
| const QStyleOptionGraphicsItem * | option, | ||
| QWidget * | widget | ||
| ) |
Definition at line 96 of file qimageitem.cpp.
| void QImageItem::setFillMode | ( | QImageItem::FillMode | mode | ) |
Definition at line 85 of file qimageitem.cpp.
| void QImageItem::setImage | ( | const QImage & | image | ) |
Definition at line 38 of file qimageitem.cpp.
| void QImageItem::setSmooth | ( | const bool | smooth | ) |
Definition at line 56 of file qimageitem.cpp.
| bool QImageItem::smooth | ( | ) | const |
Property Documentation
|
readwrite |
Definition at line 34 of file qimageitem.h.
|
readwrite |
Definition at line 30 of file qimageitem.h.
|
read |
Definition at line 33 of file qimageitem.h.
|
read |
Definition at line 32 of file qimageitem.h.
|
read |
Definition at line 35 of file qimageitem.h.
|
readwrite |
Definition at line 31 of file qimageitem.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference