java.lang.Object
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionToolBar
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters for drawing a toolbar
Java wrapper for Qt class QStyleOptionToolBar
- Since:
- This class was introduced in Qt 4.1.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQStyleOptionToolBar::ToolBarFeature
static final class
QFlags
type for enumQStyleOptionToolBar.ToolBarFeature
static enum
Java wrapper for Qt enumQStyleOptionToolBar::ToolBarPosition
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionToolBar arg__1) SeeQStyleOptionToolBar::
operator=(QStyleOptionToolBar) clone()
Creates and returns a copy of this object.features()
final int
final int
final void
set
(QStyleOptionToolBar arg__1) Deprecated.final void
setFeatures
(QStyleOptionToolBar.ToolBarFeature ... features) Overloaded function forsetFeatures(io.qt.widgets.QStyleOptionToolBar.ToolBarFeatures)
.final void
final void
setLineWidth
(int lineWidth) final void
setMidLineWidth
(int midLineWidth) final void
setPositionOfLine
(QStyleOptionToolBar.ToolBarPosition positionOfLine) final void
setPositionWithinLine
(QStyleOptionToolBar.ToolBarPosition positionWithinLine) final void
setToolBarArea
(Qt.ToolBarArea toolBarArea) final Qt.ToolBarArea
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
-
QStyleOptionToolBar
public QStyleOptionToolBar() -
QStyleOptionToolBar
- Parameters:
other
-
-
-
Method Details
-
assign
See
QStyleOptionToolBar::
operator=(QStyleOptionToolBar) - Parameters:
arg__1
-
-
setFeatures
- Parameters:
features
-
-
features
- Returns:
-
setLineWidth
- Parameters:
lineWidth
-
-
lineWidth
- Returns:
-
setMidLineWidth
- Parameters:
midLineWidth
-
-
midLineWidth
- Returns:
-
setPositionOfLine
@QtUninvokable public final void setPositionOfLine(QStyleOptionToolBar.ToolBarPosition positionOfLine) - Parameters:
positionOfLine
-
-
positionOfLine
- Returns:
-
setPositionWithinLine
@QtUninvokable public final void setPositionWithinLine(QStyleOptionToolBar.ToolBarPosition positionWithinLine) - Parameters:
positionWithinLine
-
-
positionWithinLine
- Returns:
-
setToolBarArea
- Parameters:
toolBarArea
-
-
toolBarArea
- Returns:
-
clone
Creates and returns a copy of this object.
See
QStyleOptionToolBar::
QStyleOptionToolBar(QStyleOptionToolBar) - Overrides:
clone
in classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionToolBar)
instead. -
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionToolBar.ToolBarFeatures)
.
-
assign(io.qt.widgets.QStyleOptionToolBar)
instead.