java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionComplex
io.qt.widgets.QStyleOptionTitleBar
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters for drawing a title bar
Java wrapper for Qt's class QStyleOptionTitleBar
-
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 TypeMethodDescriptionclone()
final QIcon
icon()
The icon for the title barfinal void
set
(QStyleOptionTitleBar arg__1) final void
The icon for the title barfinal void
The text of the title barfinal void
setTitleBarFlags
(Qt.WindowFlags titleBarFlags) The widget flags for the title barfinal void
setTitleBarFlags
(Qt.WindowType... titleBarFlags) Overloaded function forsetTitleBarFlags(io.qt.core.Qt.WindowFlags)
.final void
setTitleBarState
(int titleBarState) The state of the title barfinal String
text()
The text of the title barfinal Qt.WindowFlags
The widget flags for the title barfinal int
The state of the title barMethods inherited from class io.qt.widgets.QStyleOptionComplex
activeSubControls, set, setActiveSubControls, setActiveSubControls, setSubControls, setSubControls, subControls
Methods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, 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
-
QStyleOptionTitleBar
public QStyleOptionTitleBar() -
QStyleOptionTitleBar
-
QStyleOptionTitleBar
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setIcon
The icon for the title bar
-
icon
The icon for the title bar
-
setText
The text of the title bar
-
text
The text of the title bar
-
setTitleBarFlags
Overloaded function for
setTitleBarFlags(io.qt.core.Qt.WindowFlags)
. -
setTitleBarFlags
The widget flags for the title bar
-
titleBarFlags
The widget flags for the title bar
-
setTitleBarState
The state of the title bar
-
titleBarState
The state of the title bar
-
clone
- Overrides:
clone
in classQStyleOptionComplex
-