- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters necessary for drawing a progress bar
Java wrapper for Qt's class QStyleOptionProgressBar
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionProgressBar arg__1) final boolean
Whether the text reads from bottom to top when the progress bar is verticalclone()
final boolean
Kotlin property getter.final boolean
Kotlin property getter.final int
Kotlin property getter.final int
Kotlin property getter.final int
Kotlin property getter.final String
getText()
Kotlin property getter.final Qt.Alignment
Kotlin property getter.final boolean
Kotlin property getter.final boolean
Whether the progress bar's appearance is invertedfinal int
maximum()
The maximum value for the progress barfinal int
minimum()
The minimum value for the progress barfinal int
progress()
The current progress for the progress barfinal void
set
(QStyleOptionProgressBar arg__1) Deprecated.final void
setBottomToTop
(boolean bottomToTop) Whether the text reads from bottom to top when the progress bar is verticalfinal void
setInvertedAppearance
(boolean invertedAppearance) Whether the progress bar's appearance is invertedfinal void
setMaximum
(int maximum) The maximum value for the progress barfinal void
setMinimum
(int minimum) The minimum value for the progress barfinal void
setProgress
(int progress) The current progress for the progress barfinal void
The text for the progress barfinal void
setTextAlignment
(Qt.Alignment textAlignment) The text alignment for the text in the QProgressBarfinal void
setTextAlignment
(Qt.AlignmentFlag ... textAlignment) Overloaded function forsetTextAlignment(io.qt.core.Qt.Alignment)
.final void
setTextVisible
(boolean textVisible) Flag indicating whether or not text is visiblefinal String
text()
The text for the progress barfinal Qt.Alignment
The text alignment for the text in the QProgressBarfinal boolean
Flag indicating whether or not text is visibleMethods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, getDirection, getFontMetrics, getPalette, getRect, getState, getStyleObject, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStyleOptionProgressBar
public QStyleOptionProgressBar() -
QStyleOptionProgressBar
-
QStyleOptionProgressBar
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionProgressBar)
instead. -
assign
-
setBottomToTop
Whether the text reads from bottom to top when the progress bar is vertical
-
getBottomToTop
Kotlin property getter. In Java use
bottomToTop()
instead. -
bottomToTop
Whether the text reads from bottom to top when the progress bar is vertical
-
setInvertedAppearance
Whether the progress bar's appearance is inverted
-
getInvertedAppearance
Kotlin property getter. In Java use
invertedAppearance()
instead. -
invertedAppearance
Whether the progress bar's appearance is inverted
-
setMaximum
The maximum value for the progress bar
-
getMaximum
Kotlin property getter. In Java use
maximum()
instead. -
maximum
The maximum value for the progress bar
-
setMinimum
The minimum value for the progress bar
-
getMinimum
Kotlin property getter. In Java use
minimum()
instead. -
minimum
The minimum value for the progress bar
-
setProgress
The current progress for the progress bar
-
getProgress
Kotlin property getter. In Java use
progress()
instead. -
progress
The current progress for the progress bar
-
setText
The text for the progress bar
-
getText
Kotlin property getter. In Java use
text()
instead. -
text
The text for the progress bar
-
setTextAlignment
Overloaded function for
setTextAlignment(io.qt.core.Qt.Alignment)
. -
setTextAlignment
The text alignment for the text in the QProgressBar
-
getTextAlignment
Kotlin property getter. In Java use
textAlignment()
instead. -
textAlignment
The text alignment for the text in the QProgressBar
-
setTextVisible
Flag indicating whether or not text is visible
-
getTextVisible
Kotlin property getter. In Java use
textVisible()
instead. -
textVisible
Flag indicating whether or not text is visible
-
clone
- Overrides:
clone
in classQStyleOption
-
assign(io.qt.widgets.QStyleOptionProgressBar)
instead.