java.lang.Object
io.qt.internal.NativeUtility.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's class QStyleOptionToolBar
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QStyleOptionToolBar::ToolBarFeaturestatic final class
QFlags type for enumQStyleOptionToolBar.ToolBarFeature
static enum
Java wrapper for Qt enum QStyleOptionToolBar::ToolBarPositionNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
features()
final int
final int
final void
set
(QStyleOptionToolBar arg__1) 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
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
-
QStyleOptionToolBar
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionToolBar.ToolBarFeatures)
. -
setFeatures
-
features
-
setLineWidth
-
lineWidth
-
setMidLineWidth
-
midLineWidth
-
setPositionOfLine
@QtUninvokable public final void setPositionOfLine(QStyleOptionToolBar.ToolBarPosition positionOfLine) -
positionOfLine
-
setPositionWithinLine
@QtUninvokable public final void setPositionWithinLine(QStyleOptionToolBar.ToolBarPosition positionWithinLine) -
positionWithinLine
-
setToolBarArea
-
toolBarArea
-
clone
- Overrides:
clone
in classQStyleOption
-