- 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
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 comboboxfinal void
setTextAlignment
(Qt.Alignment textAlignment) The alignment of the current text in the combo boxfinal void
setTextAlignment
(Qt.AlignmentFlag... textAlignment) Overloaded function forsetTextAlignment(io.qt.core.Qt.Alignment)
.final Qt.Alignment
The alignment of the current text in the combo boxMethods inherited from class io.qt.widgets.QStyleOptionComplex
activeSubControls, set, setActiveSubControls, setSubControls, subControls
Methods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, 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
-
setTextAlignment
Overloaded function for
setTextAlignment(io.qt.core.Qt.Alignment)
. -
setTextAlignment
The alignment of the current text in the combo box
-
textAlignment
The alignment of the current text in the combo box
-
clone
- Overrides:
clone
in classQStyleOptionComplex
-