java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.gui.QTextOption
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Description of general rich text properties
Java wrapper for Qt's class QTextOption
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QTextOption::Flagstatic final class
QFlags type for enumQTextOption.Flag
static class
Java wrapper for Qt's class QTextOption::Tabstatic enum
Java wrapper for Qt enum QTextOption::TabTypestatic enum
Java wrapper for Qt enum QTextOption::WrapModeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQTextOption
(Qt.Alignment alignment) QTextOption
(Qt.AlignmentFlag... alignment) Overloaded constructor forQTextOption(io.qt.core.Qt.Alignment)
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.Alignment
clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QTextOption.Flags
flags()
int
hashCode()
final void
setAlignment
(Qt.Alignment alignment) final void
setAlignment
(Qt.AlignmentFlag... alignment) Overloaded function forsetAlignment(io.qt.core.Qt.Alignment)
.final void
setFlags
(QTextOption.Flag... flags) Overloaded function forsetFlags(io.qt.gui.QTextOption.Flags)
.final void
setFlags
(QTextOption.Flags flags) final void
setTabArray
(Collection<Double> tabStops) final void
setTabs
(Collection<? extends QTextOption.Tab> tabStops) final void
setTabStop
(double tabStop) Deprecated.final void
setTabStopDistance
(double tabStopDistance) final void
setTextDirection
(Qt.LayoutDirection aDirection) final void
setUseDesignMetrics
(boolean b) final void
tabArray()
final QList<QTextOption.Tab>
tabs()
final double
tabStop()
Deprecated.final double
final Qt.LayoutDirection
final boolean
final QTextOption.WrapMode
wrapMode()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTextOption
public QTextOption() -
QTextOption
Overloaded constructor for
QTextOption(io.qt.core.Qt.Alignment)
. -
QTextOption
-
QTextOption
-
QTextOption
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
alignment
-
flags
-
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
. -
setAlignment
-
setFlags
Overloaded function for
setFlags(io.qt.gui.QTextOption.Flags)
. -
setFlags
-
setTabArray
-
setTabStop
Deprecated. -
setTabStopDistance
-
setTabs
-
setTextDirection
-
setUseDesignMetrics
-
setWrapMode
-
tabArray
-
tabStop
Deprecated. -
tabStopDistance
-
tabs
-
textDirection
-
useDesignMetrics
-
wrapMode
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-