- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameter for drawing a combobox
Java wrapper for Qt class QStyleOptionComboBox
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionComboBox arg__1) SeeQStyleOptionComboBox::
operator=(QStyleOptionComboBox) clone()
Creates and returns a copy of this object.final QIcon
The icon for the current item of the combo boxfinal String
The text for the current item of the combo boxfinal boolean
editable()
Whether or not the combobox is editable or notfinal boolean
frame()
Whether the combo box has a framefinal QSize
iconSize()
The icon size for the current item of the combo boxfinal QRect
The popup rectangle for the comboboxfinal void
set
(QStyleOptionComboBox arg__1) Deprecated.final void
setCurrentIcon
(QIcon currentIcon) The icon for the current item of the combo boxfinal void
setCurrentIcon
(QPixmap currentIcon) Overloaded function forsetCurrentIcon(io.qt.gui.QIcon)
.final void
setCurrentText
(String currentText) The text for the current item of the combo boxfinal void
setEditable
(boolean editable) Whether or not the combobox is editable or notfinal void
setFrame
(boolean frame) Whether the combo box has a framefinal void
setIconSize
(QSize iconSize) The icon size for the current item of the combo boxfinal void
setPopupRect
(QRect popupRect) The popup rectangle for the comboboxMethods inherited from class io.qt.widgets.QStyleOptionComplex
activeSubControls, assign, set, setActiveSubControls, setActiveSubControls, setSubControls, setSubControls, subControls
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
-
QStyleOptionComboBox
public QStyleOptionComboBox() -
QStyleOptionComboBox
-
-
Method Details
-
assign
See
QStyleOptionComboBox::
operator=(QStyleOptionComboBox) -
setCurrentIcon
The icon for the current item of the combo box
-
currentIcon
The icon for the current item of the combo box
-
setCurrentText
The text for the current item of the combo box
-
currentText
The text for the current item of the combo box
-
setEditable
Whether or not the combobox is editable or not
-
editable
Whether or not the combobox is editable or not
-
setFrame
Whether the combo box has a frame
-
frame
Whether the combo box has a frame
-
setIconSize
The icon size for the current item of the combo box
-
iconSize
The icon size for the current item of the combo box
-
setPopupRect
The popup rectangle for the combobox
-
popupRect
The popup rectangle for the combobox
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQStyleOptionComplex
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionComboBox)
instead. -
setCurrentIcon
Overloaded function for
setCurrentIcon(io.qt.gui.QIcon)
.
-
assign(io.qt.widgets.QStyleOptionComboBox)
instead.