java.lang.Object
io.qt.QtObject
io.qt.gui.QTextFormat
io.qt.gui.QTextFrameFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QTextTableFormat
Formatting information for frames in a QTextDocument
Java wrapper for Qt class QTextFrameFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTextFrameFormat::BorderStyle
static enum
Java wrapper for Qt enumQTextFrameFormat::Position
Nested classes/interfaces inherited from class io.qt.gui.QTextFormat
QTextFormat.FormatType, QTextFormat.ObjectTypes, QTextFormat.PageBreakFlag, QTextFormat.PageBreakFlags, QTextFormat.Property
-
Field Summary
Fields inherited from class io.qt.gui.QTextFormat
staticMetaObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal double
border()
final QBrush
final double
clone()
Creates and returns a copy of this object.final QTextLength
height()
boolean
isValid()
final double
final double
margin()
final double
padding()
position()
void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QTextFrameFormat&) final double
final void
setBorder
(double border) final void
setBorderBrush
(Qt.BrushStyle brush) Overloaded function forsetBorderBrush(io.qt.gui.QBrush)
.final void
setBorderBrush
(Qt.GlobalColor brush) Overloaded function forsetBorderBrush(io.qt.gui.QBrush)
.final void
setBorderBrush
(QBrush brush) final void
setBorderBrush
(QColor brush) Overloaded function forsetBorderBrush(io.qt.gui.QBrush)
.final void
setBorderBrush
(QGradient brush) Overloaded function forsetBorderBrush(io.qt.gui.QBrush)
.final void
setBorderBrush
(QImage brush) Overloaded function forsetBorderBrush(io.qt.gui.QBrush)
.final void
setBorderBrush
(QPixmap brush) Overloaded function forsetBorderBrush(io.qt.gui.QBrush)
.final void
final void
setBottomMargin
(double margin) final void
setHeight
(double height) final void
setHeight
(QTextLength height) final void
setLeftMargin
(double margin) final void
setMargin
(double margin) final void
setPadding
(double padding) final void
setPageBreakPolicy
(QTextFormat.PageBreakFlag ... flags) Overloaded function forsetPageBreakPolicy(io.qt.gui.QTextFormat.PageBreakFlags)
.final void
final void
final void
setRightMargin
(double margin) final void
setTopMargin
(double margin) final void
setWidth
(double width) final void
setWidth
(QTextLength length) final void
swap
(QTextFrameFormat value2) Seeswap(QTextFrameFormat&,
QTextFrameFormat&) final double
final QTextLength
width()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.gui.QTextFormat
assign, background, boolProperty, brushProperty, clearBackground, clearForeground, clearProperty, colorProperty, doubleProperty, equals, equals, foreground, hashCode, hasProperty, intProperty, isBlockFormat, isCharFormat, isEmpty, isFrameFormat, isImageFormat, isListFormat, isTableCellFormat, isTableFormat, layoutDirection, lengthProperty, lengthVectorProperty, merge, objectIndex, objectType, penProperty, properties, property, propertyCount, setBackground, setBackground, setBackground, setBackground, setBackground, setBackground, setBackground, setForeground, setForeground, setForeground, setForeground, setForeground, setForeground, setForeground, setLayoutDirection, setObjectIndex, setObjectType, setProperty, setProperty, stringProperty, swap, toBlockFormat, toCharFormat, toFrameFormat, toImageFormat, toListFormat, toString, toTableCellFormat, toTableFormat, type
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTextFrameFormat
public QTextFrameFormat() -
QTextFrameFormat
- Parameters:
fmt
-
-
QTextFrameFormat
- Parameters:
other
-
-
-
Method Details
-
border
- Returns:
-
borderBrush
- Returns:
-
borderStyle
- Returns:
-
bottomMargin
- Returns:
-
height
- Returns:
-
isValid
- Overrides:
isValid
in classQTextFormat
- Returns:
-
leftMargin
- Returns:
-
margin
- Returns:
-
writeTo
- Overrides:
writeTo
in classQTextFormat
- Parameters:
arg__1
-
-
readFrom
See
operator>>(QDataStream&,
QTextFrameFormat&) - Overrides:
readFrom
in classQTextFormat
- Parameters:
arg__1
-
-
padding
- Returns:
-
pageBreakPolicy
- Returns:
-
position
- Returns:
-
rightMargin
- Returns:
-
setBorder
- Parameters:
border
-
-
setBorderBrush
- Parameters:
brush
-
-
setBorderStyle
- Parameters:
style
-
-
setBottomMargin
- Parameters:
margin
-
-
setHeight
- Parameters:
height
-
-
setHeight
- Parameters:
height
-
-
setLeftMargin
- Parameters:
margin
-
-
setMargin
- Parameters:
margin
-
-
setPadding
- Parameters:
padding
-
-
setPageBreakPolicy
- Parameters:
flags
-
-
setPosition
- Parameters:
f
-
-
setRightMargin
- Parameters:
margin
-
-
setTopMargin
- Parameters:
margin
-
-
setWidth
- Parameters:
length
-
-
setWidth
- Parameters:
width
-
-
swap
See
swap(QTextFrameFormat&,
QTextFrameFormat&) - Parameters:
value2
-
-
topMargin
- Returns:
-
width
- Returns:
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQTextFormat
-
setBorderBrush
Overloaded function for
setBorderBrush(io.qt.gui.QBrush)
. -
setBorderBrush
Overloaded function for
setBorderBrush(io.qt.gui.QBrush)
. -
setBorderBrush
Overloaded function for
setBorderBrush(io.qt.gui.QBrush)
. -
setBorderBrush
Overloaded function for
setBorderBrush(io.qt.gui.QBrush)
. -
setBorderBrush
Overloaded function for
setBorderBrush(io.qt.gui.QBrush)
. -
setBorderBrush
Overloaded function for
setBorderBrush(io.qt.gui.QBrush)
. -
setPageBreakPolicy
Overloaded function for
setPageBreakPolicy(io.qt.gui.QTextFormat.PageBreakFlags)
.
-