- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameter for drawing a combobox
Java wrapper for Qt's class QStyleOptionComboBox
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionComboBox arg__1) clone()
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
-
QStyleOptionComboBox
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionComboBox)
instead. -
assign
-
setCurrentIcon
The icon for the current item of the combo box
-
getCurrentIcon
Kotlin property getter. In Java use
currentIcon()
instead. -
currentIcon
The icon for the current item of the combo box
-
setCurrentText
The text for the current item of the combo box
-
getCurrentText
Kotlin property getter. In Java use
currentText()
instead. -
currentText
The text for the current item of the combo box
-
setEditable
Whether or not the combobox is editable or not
-
getEditable
Kotlin property getter. In Java use
editable()
instead. -
editable
Whether or not the combobox is editable or not
-
setFrame
Whether the combo box has a frame
-
getFrame
Kotlin property getter. In Java use
frame()
instead. -
frame
Whether the combo box has a frame
-
setIconSize
The icon size for the current item of the combo box
-
getIconSize
Kotlin property getter. In Java use
iconSize()
instead. -
iconSize
The icon size for the current item of the combo box
-
setPopupRect
The popup rectangle for the combobox
-
getPopupRect
Kotlin property getter. In Java use
popupRect()
instead. -
popupRect
The popup rectangle for the combobox
-
clone
- Overrides:
clone
in classQStyleOptionComplex
-
assign(io.qt.widgets.QStyleOptionComboBox)
instead.