java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionComplex
io.qt.widgets.QStyleOptionComboBox
- 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 TypeMethodDescriptionclone()
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) 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, set, setActiveSubControls, setActiveSubControls, setSubControls, setSubControls, subControls
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
-
QStyleOptionComboBox
public QStyleOptionComboBox() -
QStyleOptionComboBox
-
QStyleOptionComboBox
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
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
- Overrides:
clone
in classQStyleOptionComplex
-