java.lang.Object
io.qt.QtObject
io.qt.gui.QTextFormat
io.qt.gui.QTextFrameFormat
io.qt.gui.QTextTableFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Formatting information for tables in a QTextDocument
Java wrapper for Qt class QTextTableFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.gui.QTextFrameFormat
QTextFrameFormat.BorderStyle, QTextFrameFormat.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 Qt.Alignment
final boolean
final double
final double
final void
clone()
Creates and returns a copy of this object.final int
columns()
final QVector<QTextLength>
final int
final boolean
isValid()
final void
setAlignment
(Qt.Alignment alignment) final void
setAlignment
(Qt.AlignmentFlag ... alignment) Overloaded function forsetAlignment(io.qt.core.Qt.Alignment)
.final void
setBorderCollapse
(boolean borderCollapse) final void
setCellPadding
(double padding) final void
setCellSpacing
(double spacing) final void
setColumns
(int columns) SeeQTextTableFormat::
setColumns(int) final void
setColumnWidthConstraints
(Collection<? extends QTextLength> constraints) final void
setHeaderRowCount
(int count) final void
swap
(QTextTableFormat value2) Seeswap(QTextTableFormat&,
QTextTableFormat&) Methods inherited from class io.qt.gui.QTextFrameFormat
border, borderBrush, borderStyle, bottomMargin, height, leftMargin, margin, padding, pageBreakPolicy, position, rightMargin, setBorder, setBorderBrush, setBorderBrush, setBorderBrush, setBorderBrush, setBorderBrush, setBorderBrush, setBorderBrush, setBorderStyle, setBottomMargin, setHeight, setHeight, setLeftMargin, setMargin, setPadding, setPageBreakPolicy, setPageBreakPolicy, setPosition, setRightMargin, setTopMargin, setWidth, setWidth, swap, topMargin, width
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, readFrom, 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, writeTo
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTextTableFormat
public QTextTableFormat() -
QTextTableFormat
- Parameters:
fmt
-
-
QTextTableFormat
- Parameters:
other
-
-
-
Method Details
-
alignment
- Returns:
-
borderCollapse
- Returns:
- Since:
- This function was introduced in Qt 5.14.
-
cellPadding
- Returns:
-
cellSpacing
- Returns:
-
clearColumnWidthConstraints
-
columnWidthConstraints
- Returns:
-
columns
- Returns:
-
headerRowCount
- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
isValid
- Overrides:
isValid
in classQTextFrameFormat
- Returns:
-
setAlignment
- Parameters:
alignment
-
-
setBorderCollapse
- Parameters:
borderCollapse
-- Since:
- This function was introduced in Qt 5.14.
-
setCellPadding
- Parameters:
padding
-
-
setCellSpacing
- Parameters:
spacing
-
-
setColumnWidthConstraints
@QtUninvokable public final void setColumnWidthConstraints(Collection<? extends QTextLength> constraints) - Parameters:
constraints
-
-
setColumns
See
QTextTableFormat::
setColumns(int) - Parameters:
columns
-
-
setHeaderRowCount
- Parameters:
count
-- Since:
- This function was introduced in Qt 4.2.
-
swap
See
swap(QTextTableFormat&,
QTextTableFormat&) - Parameters:
value2
-
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQTextFrameFormat
-
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
.
-