Definition at line 631 of file qtextformat.h.
#include <qtextformat.h>

Public Member Functions |
|
| QTextImageFormat () | |
| bool | isValid () const |
| void | setName (const QString &name) |
| QString | name () const |
| void | setWidth (qreal width) |
| qreal | width () const |
| void | setHeight (qreal height) |
| qreal | height () const |
Protected Member Functions |
|
| QTextImageFormat (const QTextFormat &format) | |
Friends |
|
| class | QTextFormat |
| QTextImageFormat | ( | ) |
| QTextImageFormat | ( | const QTextFormat & | format | ) | [explicit, protected] |
| bool isValid | ( | ) | const [inline] |
Reimplemented from QTextCharFormat.
Definition at line 636 of file qtextformat.h.
{ return isImageFormat(); }
| void setName | ( | const QString & | name | ) | [inline] |
Definition at line 655 of file qtextformat.h.
{ setProperty(ImageName, aname); }
| QString name | ( | ) | const [inline] |
Definition at line 639 of file qtextformat.h.
{ return stringProperty(ImageName); }
| void setWidth | ( | qreal | width | ) | [inline] |
Definition at line 658 of file qtextformat.h.
{ setProperty(ImageWidth, awidth); }
| qreal width | ( | ) | const [inline] |
Definition at line 643 of file qtextformat.h.
{ return doubleProperty(ImageWidth); }
| void setHeight | ( | qreal | height | ) | [inline] |
Definition at line 661 of file qtextformat.h.
{ setProperty(ImageHeight, aheight); }
| qreal height | ( | ) | const [inline] |
Definition at line 647 of file qtextformat.h.
{ return doubleProperty(ImageHeight); }
friend class QTextFormat
[friend] |
Reimplemented from QTextCharFormat.
Definition at line 652 of file qtextformat.h.