QtExtraComponents
#include <qpixmapitem.h>
Public Types | |
enum | FillMode { Stretch, PreserveAspectFit, PreserveAspectCrop, Tile, TileVertically, TileHorizontally } |
Signals | |
void | fillModeChanged () |
void | nativeHeightChanged () |
void | nativeWidthChanged () |
void | nullChanged () |
void | pixmapChanged () |
Public Member Functions | |
QPixmapItem (QDeclarativeItem *parent=0) | |
~QPixmapItem () | |
FillMode | fillMode () const |
bool | isNull () const |
int | nativeHeight () const |
int | nativeWidth () const |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
QPixmap | pixmap () const |
void | setFillMode (FillMode mode) |
void | setPixmap (const QPixmap &pixmap) |
void | setSmooth (const bool smooth) |
bool | smooth () const |
Properties | |
FillMode | fillMode |
int | nativeHeight |
int | nativeWidth |
bool | null |
QPixmap | pixmap |
bool | smooth |
Detailed Description
Definition at line 26 of file qpixmapitem.h.
Member Enumeration Documentation
Enumerator | |
---|---|
Stretch | |
PreserveAspectFit | |
PreserveAspectCrop | |
Tile | |
TileVertically | |
TileHorizontally |
Definition at line 39 of file qpixmapitem.h.
Constructor & Destructor Documentation
QPixmapItem::QPixmapItem | ( | QDeclarativeItem * | parent = 0 | ) |
Definition at line 25 of file qpixmapitem.cpp.
QPixmapItem::~QPixmapItem | ( | ) |
Definition at line 34 of file qpixmapitem.cpp.
Member Function Documentation
FillMode QPixmapItem::fillMode | ( | ) | const |
|
signal |
bool QPixmapItem::isNull | ( | ) | const |
Definition at line 152 of file qpixmapitem.cpp.
int QPixmapItem::nativeHeight | ( | ) | const |
|
signal |
int QPixmapItem::nativeWidth | ( | ) | const |
|
signal |
|
signal |
void QPixmapItem::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget | ||
) |
Definition at line 96 of file qpixmapitem.cpp.
QPixmap QPixmapItem::pixmap | ( | ) | const |
|
signal |
void QPixmapItem::setFillMode | ( | QPixmapItem::FillMode | mode | ) |
Definition at line 85 of file qpixmapitem.cpp.
void QPixmapItem::setPixmap | ( | const QPixmap & | pixmap | ) |
Definition at line 38 of file qpixmapitem.cpp.
void QPixmapItem::setSmooth | ( | const bool | smooth | ) |
Definition at line 56 of file qpixmapitem.cpp.
bool QPixmapItem::smooth | ( | ) | const |
Property Documentation
|
readwrite |
Definition at line 34 of file qpixmapitem.h.
|
read |
Definition at line 33 of file qpixmapitem.h.
|
read |
Definition at line 32 of file qpixmapitem.h.
|
read |
Definition at line 35 of file qpixmapitem.h.
|
readwrite |
Definition at line 30 of file qpixmapitem.h.
|
readwrite |
Definition at line 31 of file qpixmapitem.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.