java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionToolBar
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStyleOptionToolBar extends QStyleOption implements Cloneable
Used to describe the parameters for drawing a toolbar
Java wrapper for Qt class QStyleOptionToolBar
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QStyleOptionToolBar.ToolBarFeature
Java wrapper for Qt enum QStyleOptionToolBar::ToolBarFeaturestatic class
QStyleOptionToolBar.ToolBarFeatures
QFlags type for enumQStyleOptionToolBar.ToolBarFeature
static class
QStyleOptionToolBar.ToolBarPosition
Java wrapper for Qt enum QStyleOptionToolBar::ToolBarPosition -
Constructor Summary
Constructors Modifier Constructor Description QStyleOptionToolBar()
protected
QStyleOptionToolBar(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStyleOptionToolBar(QStyleOptionToolBar other)
-
Method Summary
Modifier and Type Method Description QStyleOptionToolBar
clone()
QStyleOptionToolBar.ToolBarFeatures
features()
int
lineWidth()
int
midLineWidth()
QStyleOptionToolBar.ToolBarPosition
positionOfLine()
QStyleOptionToolBar.ToolBarPosition
positionWithinLine()
void
set(QStyleOptionToolBar arg__1)
void
setFeatures(QStyleOptionToolBar.ToolBarFeature... features)
Overloaded function forsetFeatures(io.qt.widgets.QStyleOptionToolBar.ToolBarFeatures)
.void
setFeatures(QStyleOptionToolBar.ToolBarFeatures features)
void
setLineWidth(int lineWidth)
void
setMidLineWidth(int midLineWidth)
void
setPositionOfLine(QStyleOptionToolBar.ToolBarPosition positionOfLine)
void
setPositionWithinLine(QStyleOptionToolBar.ToolBarPosition positionWithinLine)
void
setToolBarArea(Qt.ToolBarArea toolBarArea)
Qt.ToolBarArea
toolBarArea()
Methods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
-
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
-