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

| enum Position |
Definition at line 671 of file qtextformat.h.
{
InFlow,
FloatLeft,
FloatRight
// ######
// Absolute
};
| enum BorderStyle |
Definition at line 679 of file qtextformat.h.
| QTextFrameFormat | ( | ) |
| QTextFrameFormat | ( | const QTextFormat & | fmt | ) | [explicit, protected] |
| bool isValid | ( | ) | const [inline] |
Reimplemented from QTextFormat.
Reimplemented in QTextTableFormat.
Definition at line 669 of file qtextformat.h.
{ return isFrameFormat(); }
| void setPosition | ( | Position | f | ) | [inline] |
Definition at line 693 of file qtextformat.h.
{ setProperty(CssFloat, f); }
| Position position | ( | ) | const [inline] |
Definition at line 695 of file qtextformat.h.
{ return static_cast<Position>(intProperty(CssFloat)); }
| void setBorder | ( | qreal | border | ) | [inline] |
Definition at line 753 of file qtextformat.h.
{ setProperty(FrameBorder, aborder); }
| qreal border | ( | ) | const [inline] |
Definition at line 699 of file qtextformat.h.
{ return doubleProperty(FrameBorder); }
| void setBorderBrush | ( | const QBrush & | brush | ) | [inline] |
Definition at line 702 of file qtextformat.h.
{ setProperty(FrameBorderBrush, brush); }
| QBrush borderBrush | ( | ) | const [inline] |
Definition at line 704 of file qtextformat.h.
{ return brushProperty(FrameBorderBrush); }
| void setBorderStyle | ( | BorderStyle | style | ) | [inline] |
Definition at line 707 of file qtextformat.h.
{ setProperty(FrameBorderStyle, style); }
| BorderStyle borderStyle | ( | ) | const [inline] |
Definition at line 709 of file qtextformat.h.
{ return static_cast<BorderStyle>(intProperty(FrameBorderStyle)); }
| void setMargin | ( | qreal | margin | ) |
| qreal margin | ( | ) | const [inline] |
Definition at line 713 of file qtextformat.h.
{ return doubleProperty(FrameMargin); }
| void setTopMargin | ( | qreal | margin | ) | [inline] |
Definition at line 767 of file qtextformat.h.
{ setProperty(FrameTopMargin, amargin); }
| qreal topMargin | ( | ) | const |
| void setBottomMargin | ( | qreal | margin | ) | [inline] |
Definition at line 770 of file qtextformat.h.
{ setProperty(FrameBottomMargin, amargin); }
| qreal bottomMargin | ( | ) | const |
| void setLeftMargin | ( | qreal | margin | ) | [inline] |
Definition at line 773 of file qtextformat.h.
{ setProperty(FrameLeftMargin, amargin); }
| qreal leftMargin | ( | ) | const |
| void setRightMargin | ( | qreal | margin | ) | [inline] |
Definition at line 776 of file qtextformat.h.
{ setProperty(FrameRightMargin, amargin); }
| qreal rightMargin | ( | ) | const |
| void setPadding | ( | qreal | padding | ) | [inline] |
Definition at line 756 of file qtextformat.h.
{ setProperty(FramePadding, apadding); }
| qreal padding | ( | ) | const [inline] |
Definition at line 729 of file qtextformat.h.
{ return doubleProperty(FramePadding); }
| void setWidth | ( | qreal | width | ) | [inline] |
Definition at line 759 of file qtextformat.h.
{ setProperty(FrameWidth, QTextLength(QTextLength::FixedLength, awidth)); }
| void setWidth | ( | const QTextLength & | length | ) | [inline] |
Definition at line 733 of file qtextformat.h.
{ setProperty(FrameWidth, length); }
| QTextLength width | ( | ) | const [inline] |
Definition at line 735 of file qtextformat.h.
{ return lengthProperty(FrameWidth); }
| void setHeight | ( | qreal | height | ) | [inline] |
Definition at line 762 of file qtextformat.h.
{ setProperty(FrameHeight, QTextLength(QTextLength::FixedLength, aheight)); }
| void setHeight | ( | const QTextLength & | height | ) | [inline] |
Definition at line 764 of file qtextformat.h.
{ setProperty(FrameHeight, aheight); }
| QTextLength height | ( | ) | const [inline] |
Definition at line 740 of file qtextformat.h.
{ return lengthProperty(FrameHeight); }
| void setPageBreakPolicy | ( | PageBreakFlags | flags | ) | [inline] |
Definition at line 743 of file qtextformat.h.
{ setProperty(PageBreakPolicy, int(flags)); }
| PageBreakFlags pageBreakPolicy | ( | ) | const [inline] |
Definition at line 745 of file qtextformat.h.
{ return PageBreakFlags(intProperty(PageBreakPolicy)); }
friend class QTextFormat
[friend] |
Reimplemented in QTextTableFormat.
Definition at line 750 of file qtextformat.h.