- All Implemented Interfaces:
QtObjectInterface,Cloneable
Used to describe the parameters necessary for drawing a progress bar
Java wrapper for Qt class QStyleOptionProgressBar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QStyleOptionProgressBar arg__1) SeeQStyleOptionProgressBar::operator=(QStyleOptionProgressBar) final booleanWhether the text reads from bottom to top when the progress bar is verticalclone()Creates and returns a copy of this object.final booleanWhether the progress bar's appearance is invertedfinal intmaximum()The maximum value for the progress barfinal intminimum()The minimum value for the progress barfinal Qt.OrientationThe progress bar's orientation (horizontal or vertical); the default orentation is Qt::Horizontalfinal intprogress()The current progress for the progress barfinal voidset(QStyleOptionProgressBar arg__1) Deprecated.final voidsetBottomToTop(boolean bottomToTop) Whether the text reads from bottom to top when the progress bar is verticalfinal voidsetInvertedAppearance(boolean invertedAppearance) Whether the progress bar's appearance is invertedfinal voidsetMaximum(int maximum) The maximum value for the progress barfinal voidsetMinimum(int minimum) The minimum value for the progress barfinal voidsetOrientation(Qt.Orientation orientation) The progress bar's orientation (horizontal or vertical); the default orentation is Qt::Horizontalfinal voidsetProgress(int progress) The current progress for the progress barfinal voidThe text for the progress barfinal voidsetTextAlignment(Qt.Alignment textAlignment) The text alignment for the text in the QProgressBarfinal voidsetTextAlignment(Qt.AlignmentFlag ... textAlignment) Overloaded function forsetTextAlignment(io.qt.core.Qt.Alignment).final voidsetTextVisible(boolean textVisible) Flag indicating whether or not text is visiblefinal Stringtext()The text for the progress barfinal Qt.AlignmentThe text alignment for the text in the QProgressBarfinal booleanFlag indicating whether or not text is visibleMethods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, init, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toStringMethods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStyleOptionProgressBar
public QStyleOptionProgressBar() -
QStyleOptionProgressBar
- Parameters:
other-
-
-
Method Details
-
assign
See
QStyleOptionProgressBar::operator=(QStyleOptionProgressBar) - Parameters:
arg__1-
-
setBottomToTop
Whether the text reads from bottom to top when the progress bar is vertical
- Parameters:
bottomToTop-
-
bottomToTop
Whether the text reads from bottom to top when the progress bar is vertical
- Returns:
-
setInvertedAppearance
Whether the progress bar's appearance is inverted
- Parameters:
invertedAppearance-
-
invertedAppearance
Whether the progress bar's appearance is inverted
- Returns:
-
setMaximum
The maximum value for the progress bar
- Parameters:
maximum-
-
maximum
The maximum value for the progress bar
- Returns:
-
setMinimum
The minimum value for the progress bar
- Parameters:
minimum-
-
minimum
The minimum value for the progress bar
- Returns:
-
setOrientation
The progress bar's orientation (horizontal or vertical); the default orentation is Qt::Horizontal
- Parameters:
orientation-
-
orientation
The progress bar's orientation (horizontal or vertical); the default orentation is Qt::Horizontal
- Returns:
-
setProgress
The current progress for the progress bar
- Parameters:
progress-
-
progress
The current progress for the progress bar
- Returns:
-
setText
The text for the progress bar
- Parameters:
text-
-
text
The text for the progress bar
- Returns:
-
setTextAlignment
The text alignment for the text in the QProgressBar
- Parameters:
textAlignment-
-
textAlignment
The text alignment for the text in the QProgressBar
- Returns:
-
setTextVisible
Flag indicating whether or not text is visible
- Parameters:
textVisible-
-
textVisible
Flag indicating whether or not text is visible
- Returns:
-
clone
Creates and returns a copy of this object.
See
QStyleOptionProgressBar::QStyleOptionProgressBar(QStyleOptionProgressBar) - Overrides:
clonein classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionProgressBar)instead. -
setTextAlignment
Overloaded function for
setTextAlignment(io.qt.core.Qt.Alignment).
-
assign(io.qt.widgets.QStyleOptionProgressBar)instead.