- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameter for drawing a combobox
Java wrapper for Qt class QStyleOptionComboBox
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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 QIcon
Kotlin property getter.final String
Kotlin property getter.final boolean
Kotlin property getter.final boolean
getFrame()
Kotlin property getter.final QSize
Kotlin property getter.final QRect
Kotlin property getter.final 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
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, 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
-
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. -
getCurrentIcon
Kotlin property getter. In Java use
currentIcon()
instead. -
getCurrentText
Kotlin property getter. In Java use
currentText()
instead. -
getEditable
Kotlin property getter. In Java use
editable()
instead. -
getFrame
Kotlin property getter. In Java use
frame()
instead. -
getIconSize
Kotlin property getter. In Java use
iconSize()
instead. -
getPopupRect
Kotlin property getter. In Java use
popupRect()
instead.
-
assign(io.qt.widgets.QStyleOptionComboBox)
instead.