java.lang.Object
io.qt.QtObject
io.qt.gui.QStaticText
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Enables optimized drawing of text when the text and its layout is updated rarely
Java wrapper for Qt class QStaticText
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQStaticText::PerformanceHint
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStaticText arg__1) clone()
Creates and returns a copy of this object.boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QStaticText)
.final void
prepare()
Overloaded function forprepare(io.qt.gui.QTransform, io.qt.gui.QFont)
final void
prepare
(QTransform matrix) Overloaded function forprepare(io.qt.gui.QTransform, io.qt.gui.QFont)
withfont = new io.qt.gui.QFont()
.final void
prepare
(QTransform matrix, QFont font) final void
setPerformanceHint
(QStaticText.PerformanceHint performanceHint) final void
final void
setTextFormat
(Qt.TextFormat textFormat) final void
setTextOption
(QTextOption textOption) final void
setTextWidth
(double textWidth) final QSizeF
size()
final void
swap
(QStaticText other) final String
text()
final Qt.TextFormat
final QTextOption
final double
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QStaticText
public QStaticText() -
QStaticText
-
QStaticText
-
-
Method Details
-
assign
-
performanceHint
-
prepare
-
setPerformanceHint
-
setText
-
setTextFormat
-
setTextOption
-
setTextWidth
-
size
-
swap
-
text
-
textFormat
-
textOption
-
textWidth
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QStaticText)
. -
clone
Creates and returns a copy of this object.
-
prepare
Overloaded function for
prepare(io.qt.gui.QTransform, io.qt.gui.QFont)
withfont = new io.qt.gui.QFont()
. -
prepare
Overloaded function for
prepare(io.qt.gui.QTransform, io.qt.gui.QFont)
with:
matrix = new io.qt.gui.QTransform()
font = new io.qt.gui.QFont()
-