QTextFrameFormat Class Reference |
Constant | Value |
---|---|
QTextFrameFormat::BorderStyle_None | 0 |
QTextFrameFormat::BorderStyle_Dotted | 1 |
QTextFrameFormat::BorderStyle_Dashed | 2 |
QTextFrameFormat::BorderStyle_Solid | 3 |
QTextFrameFormat::BorderStyle_Double | 4 |
QTextFrameFormat::BorderStyle_DotDash | 5 |
QTextFrameFormat::BorderStyle_DotDotDash | 6 |
QTextFrameFormat::BorderStyle_Groove | 7 |
QTextFrameFormat::BorderStyle_Ridge | 8 |
QTextFrameFormat::BorderStyle_Inset | 9 |
QTextFrameFormat::BorderStyle_Outset | 10 |
This enum was introduced in Qt 4.3.
Constant | Value |
---|---|
QTextFrameFormat::InFlow | 0 |
QTextFrameFormat::FloatLeft | 1 |
QTextFrameFormat::FloatRight | 2 |
Constructs a text frame format object with the default properties.
Returns the width of the border in pixels.
See also setBorder().
Returns the brush used for the frame's border.
This function was introduced in Qt 4.3.
See also setBorderBrush().
Returns the style of the frame's border.
This function was introduced in Qt 4.3.
See also setBorderStyle().
Returns the width of the frame's bottom margin in pixels.
This function was introduced in Qt 4.3.
See also setBottomMargin().
Returns the height of the frame's border rectangle.
See also setHeight().
Returns true if the format description is valid; otherwise returns false.
Returns the width of the frame's left margin in pixels.
This function was introduced in Qt 4.3.
See also setLeftMargin().
Returns the width of the frame's external margin in pixels.
See also setMargin().
Returns the width of the frame's internal padding in pixels.
See also setPadding().
Returns the currently set page break policy for the frame/table. The default is QTextFormat::PageBreak_Auto.
This function was introduced in Qt 4.2.
See also setPageBreakPolicy().
Returns the positioning policy for frames with this frame format.
See also setPosition().
Returns the width of the frame's right margin in pixels.
This function was introduced in Qt 4.3.
See also setRightMargin().
Sets the width (in pixels) of the frame's border.
See also border().
Sets the brush used for the frame's border.
This function was introduced in Qt 4.3.
See also borderBrush().
Sets the style of the frame's border.
This function was introduced in Qt 4.3.
See also borderStyle().
Sets the frame's bottom margin in pixels.
This function was introduced in Qt 4.3.
See also bottomMargin().
Sets the frame's height.
See also height().
This is an overloaded member function, provided for convenience.
Sets the frame's height.
Sets the frame's left margin in pixels.
This function was introduced in Qt 4.3.
See also leftMargin().
Sets the frame's margin in pixels. This method also sets the left, right, top and bottom margins of the frame to the same value. The individual margins override the general margin.
See also margin().
Sets the width of the frame's internal padding in pixels.
See also padding().
Sets the page break policy for the frame/table to policy.
This function was introduced in Qt 4.2.
See also pageBreakPolicy().
Sets the policy for positioning frames with this frame format.
See also position().
Sets the frame's right margin in pixels.
This function was introduced in Qt 4.3.
See also rightMargin().
Sets the frame's top margin in pixels.
This function was introduced in Qt 4.3.
See also topMargin().
Sets the frame's border rectangle's width.
See also width() and QTextLength.
This is an overloaded member function, provided for convenience.
Convenience method that sets the width of the frame's border rectangle's width to the specified fixed width.
Returns the width of the frame's top margin in pixels.
This function was introduced in Qt 4.3.
See also setTopMargin().
Returns the width of the frame's border rectangle.
See also setWidth() and QTextLength.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com