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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStaticText arg__1) clone()
Creates and returns a copy of this object.final boolean
equals
(QStaticText arg__1) 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
prepare
(QTransform matrix, String font) Overloaded function forprepare(io.qt.gui.QTransform, io.qt.gui.QFont)
.final void
setPerformanceHint
(QStaticText.PerformanceHint performanceHint) final void
final void
setTextFormat
(Qt.TextFormat textFormat) final void
setTextOption
(Qt.Alignment textOption) Overloaded function forsetTextOption(io.qt.gui.QTextOption)
.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
- Parameters:
other
-
-
QStaticText
- Parameters:
text
-
-
-
Method Details
-
assign
- Parameters:
arg__1
-
-
equals
- Parameters:
arg__1
-- Returns:
-
performanceHint
- Returns:
-
prepare
- Parameters:
matrix
-font
-
-
setPerformanceHint
- Parameters:
performanceHint
-
-
setText
- Parameters:
text
-
-
setTextFormat
- Parameters:
textFormat
-
-
setTextOption
- Parameters:
textOption
-
-
setTextWidth
- Parameters:
textWidth
-
-
size
- Returns:
-
swap
- Parameters:
other
-
-
text
- Returns:
-
textFormat
- Returns:
-
textOption
- Returns:
-
textWidth
- Returns:
-
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()
-
prepare
Overloaded function for
prepare(io.qt.gui.QTransform, io.qt.gui.QFont)
. -
setTextOption
Overloaded function for
setTextOption(io.qt.gui.QTextOption)
.
-