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, 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
- Parameters:
other
-
-
-
Method Details
-
assign
See
QStyleOptionTitleBar::
operator=(QStyleOptionTitleBar) - Parameters:
arg__1
-
-
setIcon
The icon for the title bar
- Parameters:
icon
-
-
icon
The icon for the title bar
- Returns:
-
setText
The text of the title bar
- Parameters:
text
-
-
text
The text of the title bar
- Returns:
-
setTitleBarFlags
The widget flags for the title bar
- Parameters:
titleBarFlags
-
-
titleBarFlags
The widget flags for the title bar
- Returns:
-
setTitleBarState
The state of the title bar
- Parameters:
titleBarState
-
-
titleBarState
The state of the title bar
- Returns:
-
clone
Creates and returns a copy of this object.
See
QStyleOptionTitleBar::
QStyleOptionTitleBar(QStyleOptionTitleBar) - 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.