#include <qpicture.h>
Definition at line 58 of file qpicture.h.
Public Types | |
typedef QExplicitlySharedDataPointer< QPicturePrivate > | DataPtr |
Public Types inherited from QPaintDevice | |
enum | PaintDeviceMetric { PdmWidth = 1, PdmHeight, PdmWidthMM, PdmHeightMM, PdmNumColors, PdmDepth, PdmDpiX, PdmDpiY, PdmPhysicalDpiX, PdmPhysicalDpiY } |
Public Member Functions | |
QPicture (int formatVersion=-1) | |
QPicture (const QPicture &) | |
~QPicture () | |
bool | isNull () const |
int | devType () const |
uint | size () const |
const char * | data () const |
virtual void | setData (const char *data, uint size) |
bool | play (QPainter *p) |
bool | load (QIODevice *dev, const char *format=0) |
bool | load (const QString &fileName, const char *format=0) |
bool | save (QIODevice *dev, const char *format=0) |
bool | save (const QString &fileName, const char *format=0) |
QRect | boundingRect () const |
void | setBoundingRect (const QRect &r) |
QPicture & | operator= (const QPicture &p) |
void | swap (QPicture &other) |
void | detach () |
bool | isDetached () const |
QPaintEngine * | paintEngine () const |
DataPtr & | data_ptr () |
Public Member Functions inherited from QPaintDevice | |
virtual | ~QPaintDevice () |
bool | paintingActive () const |
int | width () const |
int | height () const |
int | widthMM () const |
int | heightMM () const |
int | logicalDpiX () const |
int | logicalDpiY () const |
int | physicalDpiX () const |
int | physicalDpiY () const |
int | colorCount () const |
int | depth () const |
Static Public Member Functions | |
static const char * | pictureFormat (const QString &fileName) |
static QList< QByteArray > | inputFormats () |
static QList< QByteArray > | outputFormats () |
static QStringList | inputFormatList () |
static QStringList | outputFormatList () |
Protected Member Functions | |
QPicture (QPicturePrivate &data) | |
int | metric (PaintDeviceMetric m) const |
Protected Member Functions inherited from QPaintDevice | |
QPaintDevice () | |
Friends | |
class | QPicturePaintEngine |
class | Q3Picture |
class | QAlphaPaintEngine |
class | QPreviewPaintEngine |
Q_GUI_EXPORT QDataStream & | operator<< (QDataStream &in, const QPicture &p) |
Q_GUI_EXPORT QDataStream & | operator>> (QDataStream &in, QPicture &p) |
Additional Inherited Members | |
Protected Attributes inherited from QPaintDevice | |
ushort | painters |
typedef QExplicitlySharedDataPointer<QPicturePrivate> DataPtr |
Definition at line 122 of file qpicture.h.
~QPicture | ( | ) |
|
protected |
bool isNull | ( | ) | const |
|
virtual |
Reimplemented from QPaintDevice.
uint size | ( | ) | const |
const char* data | ( | ) | const |
|
virtual |
bool play | ( | QPainter * | p | ) |
bool load | ( | QIODevice * | dev, |
const char * | format = 0 |
||
) |
bool load | ( | const QString & | fileName, |
const char * | format = 0 |
||
) |
bool save | ( | QIODevice * | dev, |
const char * | format = 0 |
||
) |
bool save | ( | const QString & | fileName, |
const char * | format = 0 |
||
) |
QRect boundingRect | ( | ) | const |
Definition at line 88 of file qpicture.h.
void detach | ( | ) |
bool isDetached | ( | ) | const |
|
static |
|
static |
|
static |
|
static |
|
static |
|
virtual |
Implements QPaintDevice.
|
protectedvirtual |
Reimplemented from QPaintDevice.
|
inline |
Definition at line 123 of file qpicture.h.
|
friend |
Definition at line 116 of file qpicture.h.
|
friend |
Definition at line 117 of file qpicture.h.
|
friend |
Definition at line 118 of file qpicture.h.
|
friend |
Definition at line 119 of file qpicture.h.
|
friend |
|
friend |