java.lang.Object
io.qt.QtObject
io.qt.gui.QTextOption
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Description of general rich text properties
Java wrapper for Qt class QTextOption
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTextOption::Flag
static final class
QFlags
type for enumQTextOption.Flag
static class
Java wrapper for Qt classQTextOption::Tab
static enum
Java wrapper for Qt enumQTextOption::TabType
static enum
Java wrapper for Qt enumQTextOption::WrapMode
-
Constructor Summary
ConstructorDescriptionQTextOption
(Qt.Alignment alignment) QTextOption
(Qt.AlignmentFlag ... alignment) Overloaded constructor forQTextOption(io.qt.core.Qt.Alignment)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.Alignment
final void
Overloaded function forassign(io.qt.gui.QTextOption)
.final void
clone()
Creates and returns a copy of this object.boolean
Checks for equality by checking object's hash code.final QTextOption.Flags
flags()
int
hashCode()
Returns the objects's hash code computed byqHash(QTextOption)
.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<@QtPrimitiveType Double> tabStops) final void
setTabs
(Collection<? extends QTextOption.Tab> tabStops) final void
setTabStopDistance
(double tabStopDistance) final void
setTextDirection
(Qt.LayoutDirection aDirection) final void
setUseDesignMetrics
(boolean b) final void
final QList<@QtPrimitiveType Double>
tabArray()
final QList<QTextOption.Tab>
tabs()
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
- Parameters:
o
-
-
QTextOption
- Parameters:
alignment
-
-
QTextOption
Overloaded constructor for
QTextOption(io.qt.core.Qt.Alignment)
.
-
-
Method Details
-
alignment
- Returns:
-
flags
- Returns:
-
assign
- Parameters:
o
-
-
setAlignment
- Parameters:
alignment
-
-
setFlags
- Parameters:
flags
-
-
setTabArray
- Parameters:
tabStops
-
-
setTabStopDistance
- Parameters:
tabStopDistance
-
-
setTabs
- Parameters:
tabStops
-
-
setTextDirection
- Parameters:
aDirection
-
-
setUseDesignMetrics
- Parameters:
b
-
-
setWrapMode
- Parameters:
wrap
-
-
tabArray
- Returns:
-
tabStopDistance
- Returns:
-
tabs
- Returns:
-
textDirection
- Returns:
-
useDesignMetrics
- Returns:
-
wrapMode
- Returns:
-
equals
Checks for equality by checking object's hash code. -
hashCode
Returns the objects's hash code computed byqHash(QTextOption)
. -
clone
Creates and returns a copy of this object.
-
assign
Overloaded function for
assign(io.qt.gui.QTextOption)
. -
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
. -
setFlags
Overloaded function for
setFlags(io.qt.gui.QTextOption.Flags)
.
-