java.lang.Object
io.qt.internal.QtJambiObject
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 enum QStaticText::PerformanceHintNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQStaticText
(QStaticText other) protected
Constructor for internal use only.QStaticText
(String text) -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
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
-
QStaticText
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
performanceHint
-
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()
-
prepare
-
setPerformanceHint
-
setText
-
setTextFormat
-
setTextOption
-
setTextWidth
-
size
-
swap
-
text
-
textFormat
-
textOption
-
textWidth
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-