java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextOption
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QTextOption extends QtObject implements Cloneable
Description of general rich text properties
Java wrapper for Qt class QTextOption
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTextOption.Flag
Java wrapper for Qt enum QTextOption::Flagstatic class
QTextOption.Flags
QFlags type for enumQTextOption.Flag
static class
QTextOption.Tab
Java wrapper for Qt class QTextOption::Tabstatic class
QTextOption.TabType
Java wrapper for Qt enum QTextOption::TabTypestatic class
QTextOption.WrapMode
Java wrapper for Qt enum QTextOption::WrapMode -
Constructor Summary
Constructors Modifier Constructor Description QTextOption()
QTextOption(Qt.Alignment alignment)
QTextOption(Qt.AlignmentFlag... alignment)
Overloaded constructor forQTextOption(io.qt.core.Qt.Alignment)
.QTextOption(QTextOption o)
protected
QTextOption(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description Qt.Alignment
alignment()
QTextOption
clone()
QTextOption.Flags
flags()
int
hashCode()
void
setAlignment(Qt.Alignment alignment)
void
setAlignment(Qt.AlignmentFlag... alignment)
Overloaded function forsetAlignment(io.qt.core.Qt.Alignment)
.void
setFlags(QTextOption.Flag... flags)
Overloaded function forsetFlags(io.qt.gui.QTextOption.Flags)
.void
setFlags(QTextOption.Flags flags)
void
setTabArray(Collection<Double> tabStops)
void
setTabs(Collection<QTextOption.Tab> tabStops)
void
setTabStop(double tabStop)
Deprecated.void
setTabStopDistance(double tabStopDistance)
void
setTextDirection(Qt.LayoutDirection aDirection)
void
setUseDesignMetrics(boolean b)
void
setWrapMode(QTextOption.WrapMode wrap)
List<Double>
tabArray()
List<QTextOption.Tab>
tabs()
double
tabStop()
Deprecated.double
tabStopDistance()
Qt.LayoutDirection
textDirection()
boolean
useDesignMetrics()
QTextOption.WrapMode
wrapMode()
-
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
-
hashCode
public int hashCode() -
clone
-