java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextFormat
io.qt.gui.QTextBlockFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Formatting information for blocks of text in a QTextDocument
Java wrapper for Qt's class QTextBlockFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QTextBlockFormat::LineHeightTypesstatic enum
Java wrapper for Qt enum QTextBlockFormat::MarkerTypeNested classes/interfaces inherited from class io.qt.gui.QTextFormat
QTextFormat.FormatType, QTextFormat.ObjectTypes, QTextFormat.PageBreakFlag, QTextFormat.PageBreakFlags, QTextFormat.Property
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.gui.QTextFormat
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.Alignment
final double
clone()
final int
final int
indent()
final boolean
isValid()
final double
final double
final double
lineHeight
(double scriptLineHeight, double scaling) final int
marker()
final boolean
final double
final void
setAlignment
(Qt.Alignment alignment) final void
setAlignment
(Qt.AlignmentFlag... alignment) Overloaded function forsetAlignment(io.qt.core.Qt.Alignment)
.final void
setBottomMargin
(double margin) final void
setHeadingLevel
(int alevel) final void
setIndent
(int indent) final void
setLeftMargin
(double margin) final void
setLineHeight
(double height, int heightType) final void
setMarker
(QTextBlockFormat.MarkerType marker) final void
setNonBreakableLines
(boolean b) final void
setPageBreakPolicy
(QTextFormat.PageBreakFlag... flags) Overloaded function forsetPageBreakPolicy(io.qt.gui.QTextFormat.PageBreakFlags)
.final void
final void
setRightMargin
(double margin) final void
setTabPositions
(Collection<? extends QTextOption.Tab> tabs) final void
setTextIndent
(double aindent) final void
setTopMargin
(double margin) final QList<QTextOption.Tab>
final double
final double
Methods inherited from class io.qt.gui.QTextFormat
background, boolProperty, brushProperty, clearBackground, clearForeground, clearProperty, colorProperty, doubleProperty, equals, foreground, hashCode, hasProperty, intProperty, isBlockFormat, isCharFormat, isEmpty, isFrameFormat, isImageFormat, isListFormat, isTableCellFormat, isTableFormat, layoutDirection, lengthProperty, lengthVectorProperty, merge, objectIndex, objectType, penProperty, properties, property, propertyCount, setBackground, 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
-
QTextBlockFormat
public QTextBlockFormat() -
QTextBlockFormat
-
QTextBlockFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
alignment
-
bottomMargin
-
headingLevel
-
indent
-
isValid
- Overrides:
isValid
in classQTextFormat
-
leftMargin
-
lineHeight
-
lineHeight
-
lineHeightType
-
marker
-
nonBreakableLines
-
pageBreakPolicy
-
rightMargin
-
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
. -
setAlignment
-
setBottomMargin
-
setHeadingLevel
-
setIndent
-
setLeftMargin
-
setLineHeight
-
setMarker
-
setNonBreakableLines
-
setPageBreakPolicy
Overloaded function for
setPageBreakPolicy(io.qt.gui.QTextFormat.PageBreakFlags)
. -
setPageBreakPolicy
-
setRightMargin
-
setTabPositions
-
setTextIndent
-
setTopMargin
-
tabPositions
-
textIndent
-
topMargin
-
clone
- Overrides:
clone
in classQTextFormat
-