java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionComplex
io.qt.widgets.QStyleOptionTitleBar
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStyleOptionTitleBar extends QStyleOptionComplex implements Cloneable
Used to describe the parameters for drawing a title bar
Java wrapper for Qt class QStyleOptionTitleBar
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QStyleOptionTitleBar()
protected
QStyleOptionTitleBar(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStyleOptionTitleBar(QStyleOptionTitleBar other)
-
Method Summary
Modifier and Type Method Description QStyleOptionTitleBar
clone()
QIcon
icon()
The icon for the title barvoid
set(QStyleOptionTitleBar arg__1)
void
setIcon(QIcon icon)
The icon for the title barvoid
setText(String text)
The text of the title barvoid
setTitleBarFlags(Qt.WindowFlags titleBarFlags)
The widget flags for the title barvoid
setTitleBarFlags(Qt.WindowType... titleBarFlags)
Overloaded function forsetTitleBarFlags(io.qt.core.Qt.WindowFlags)
.void
setTitleBarState(int titleBarState)
The state of the title barString
text()
The text of the title barQt.WindowFlags
titleBarFlags()
The widget flags for the title barint
titleBarState()
The state of the title barMethods inherited from class io.qt.widgets.QStyleOptionComplex
activeSubControls, set, setActiveSubControls, setSubControls, subControls
Methods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, init, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
-
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
-