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'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 TypeMethodDescriptionfinal void
assign
(QStyleOptionTitleBar arg__1) clone()
final QIcon
getIcon()
Kotlin property getter.final String
getText()
Kotlin property getter.final Qt.WindowFlags
Kotlin property getter.final int
Kotlin property getter.final QIcon
icon()
The icon for the title barfinal void
set
(QStyleOptionTitleBar arg__1) Deprecated.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, assign, getActiveSubControls, getSubControls, set, setActiveSubControls, setActiveSubControls, setSubControls, setSubControls, subControls
Methods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, getDirection, getFontMetrics, getPalette, getRect, getState, getStyleObject, 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
-
QStyleOptionTitleBar
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionTitleBar)
instead. -
assign
-
setIcon
The icon for the title bar
-
getIcon
Kotlin property getter. In Java use
icon()
instead. -
icon
The icon for the title bar
-
setText
The text of the title bar
-
getText
Kotlin property getter. In Java use
text()
instead. -
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
-
getTitleBarFlags
Kotlin property getter. In Java use
titleBarFlags()
instead. -
titleBarFlags
The widget flags for the title bar
-
setTitleBarState
The state of the title bar
-
getTitleBarState
Kotlin property getter. In Java use
titleBarState()
instead. -
titleBarState
The state of the title bar
-
clone
- Overrides:
clone
in classQStyleOptionComplex
-
assign(io.qt.widgets.QStyleOptionTitleBar)
instead.