java.lang.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 class QStyleOptionTitleBar
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionTitleBar arg__1) SeeQStyleOptionTitleBar::
operator=(QStyleOptionTitleBar) clone()
Creates and returns a copy of this object.final QIcon
icon()
The icon for the title barfinal void
set
(QStyleOptionTitleBar arg__1) Deprecated.final void
The icon for the title barfinal void
Overloaded function forsetIcon(io.qt.gui.QIcon)
.final 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, assign, set, setActiveSubControls, setActiveSubControls, setSubControls, setSubControls, subControls
Methods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, init, 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
-
-
Method Details
-
assign
See
QStyleOptionTitleBar::
operator=(QStyleOptionTitleBar) -
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
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
Creates and returns a copy of this object.
- Overrides:
clone
in classQStyleOptionComplex
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionTitleBar)
instead. -
setIcon
Overloaded function for
setIcon(io.qt.gui.QIcon)
. -
setTitleBarFlags
Overloaded function for
setTitleBarFlags(io.qt.core.Qt.WindowFlags)
.
-
assign(io.qt.widgets.QStyleOptionTitleBar)
instead.