- All Implemented Interfaces:
QPaintDevice
,QtObjectInterface
,QtSignalBlockerInterface
,QtSignalEmitterInterface
,QtThreadAffineInterface
- Direct Known Subclasses:
QFontComboBox
public class QComboBox extends QWidget
Combined button and popup list
Java wrapper for Qt class QComboBox
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QComboBox.InsertPolicy
Java wrapper for Qt enum QComboBox::InsertPolicyclass
QComboBox.MultiSignal_activated
Wrapper class for overloaded signals:class
QComboBox.MultiSignal_currentIndexChanged
Wrapper class for overloaded signals:class
QComboBox.MultiSignal_highlighted
Wrapper class for overloaded signals:static class
QComboBox.SizeAdjustPolicy
Java wrapper for Qt enum QComboBox::SizeAdjustPolicyNested classes/interfaces inherited from class io.qt.widgets.QWidget
QWidget.RenderFlag, QWidget.RenderFlags
Nested classes/interfaces inherited from class io.qt.core.QObject
QObject.MultiSignal, QObject.PrivateSignal0, QObject.PrivateSignal1<A>, QObject.PrivateSignal2<A,B>, QObject.PrivateSignal3<A,B,C>, QObject.PrivateSignal4<A,B,C,D>, QObject.PrivateSignal5<A,B,C,D,E>, QObject.PrivateSignal6<A,B,C,D,E,F>, QObject.PrivateSignal7<A,B,C,D,E,F,G>, QObject.PrivateSignal8<A,B,C,D,E,F,G,H>, QObject.PrivateSignal9<A,B,C,D,E,F,G,H,I>, QObject.QDeclarativeConstructor, QObject.Signal0, QObject.Signal1<A>, QObject.Signal1Default1<A>, QObject.Signal2<A,B>, QObject.Signal2Default1<A,B>, QObject.Signal2Default2<A,B>, QObject.Signal3<A,B,C>, QObject.Signal3Default1<A,B,C>, QObject.Signal3Default2<A,B,C>, QObject.Signal3Default3<A,B,C>, QObject.Signal4<A,B,C,D>, QObject.Signal4Default1<A,B,C,D>, QObject.Signal4Default2<A,B,C,D>, QObject.Signal4Default3<A,B,C,D>, QObject.Signal4Default4<A,B,C,D>, QObject.Signal5<A,B,C,D,E>, QObject.Signal5Default1<A,B,C,D,E>, QObject.Signal5Default2<A,B,C,D,E>, QObject.Signal5Default3<A,B,C,D,E>, QObject.Signal5Default4<A,B,C,D,E>, QObject.Signal5Default5<A,B,C,D,E>, QObject.Signal6<A,B,C,D,E,F>, QObject.Signal6Default1<A,B,C,D,E,F>, QObject.Signal6Default2<A,B,C,D,E,F>, QObject.Signal6Default3<A,B,C,D,E,F>, QObject.Signal6Default4<A,B,C,D,E,F>, QObject.Signal6Default5<A,B,C,D,E,F>, QObject.Signal6Default6<A,B,C,D,E,F>, QObject.Signal7<A,B,C,D,E,F,G>, QObject.Signal7Default1<A,B,C,D,E,F,G>, QObject.Signal7Default2<A,B,C,D,E,F,G>, QObject.Signal7Default3<A,B,C,D,E,F,G>, QObject.Signal7Default4<A,B,C,D,E,F,G>, QObject.Signal7Default5<A,B,C,D,E,F,G>, QObject.Signal7Default6<A,B,C,D,E,F,G>, QObject.Signal7Default7<A,B,C,D,E,F,G>, QObject.Signal8<A,B,C,D,E,F,G,H>, QObject.Signal8Default1<A,B,C,D,E,F,G,H>, QObject.Signal8Default2<A,B,C,D,E,F,G,H>, QObject.Signal8Default3<A,B,C,D,E,F,G,H>, QObject.Signal8Default4<A,B,C,D,E,F,G,H>, QObject.Signal8Default5<A,B,C,D,E,F,G,H>, QObject.Signal8Default6<A,B,C,D,E,F,G,H>, QObject.Signal8Default7<A,B,C,D,E,F,G,H>, QObject.Signal8Default8<A,B,C,D,E,F,G,H>, QObject.Signal9<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default1<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default2<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default3<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default4<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default5<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default6<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default7<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default8<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default9<A,B,C,D,E,F,G,H,I>, QObject.SignalConfiguration
Nested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.Impl, QPaintDevice.MemberAccess, QPaintDevice.PaintDeviceMetric
-
Field Summary
Fields Modifier and Type Field Description QComboBox.MultiSignal_activated
activated
Overloaded signals:QComboBox.MultiSignal_currentIndexChanged
currentIndexChanged
Overloaded signals:QObject.Signal1<String>
currentTextChanged
QObject.Signal1<String>
editTextChanged
QComboBox.MultiSignal_highlighted
highlighted
Overloaded signals:static QMetaObject
staticMetaObject
This variable stores the meta-object for the class.QObject.Signal1<String>
textActivated
QObject.Signal1<String>
textHighlighted
Fields inherited from class io.qt.widgets.QWidget
customContextMenuRequested, windowIconChanged, windowIconTextChanged, windowTitleChanged
-
Constructor Summary
Constructors Modifier Constructor Description QComboBox()
Overloaded constructor forQComboBox(io.qt.widgets.QWidget)
withparent = null
.protected
QComboBox(QObject.QDeclarativeConstructor constructor)
Constructor for internal use only.protected
QComboBox(QtObject.QPrivateConstructor p)
Constructor for internal use only.QComboBox(QWidget parent)
-
Method Summary
Methods inherited from class io.qt.widgets.QWidget
acceptDrops, accessibleDescription, accessibleName, actionEvent, actions, activateWindow, addAction, addActions, adjustSize, autoFillBackground, backgroundRole, backingStore, baseSize, childAt, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, closeEvent, colorCount, contentsMargins, contentsRect, contextMenuPolicy, createWindowContainer, createWindowContainer, createWindowContainer, createWindowContainer, createWinId, cursor, depth, destroy, destroy, destroy, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveWinId, ensurePolished, enterEvent, focusNextChild, focusNextPrevChild, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, getContentsMargins, grab, grab, grabGesture, grabGesture, grabGesture, grabKeyboard, grabMouse, grabMouse, grabShortcut, grabShortcut, graphicsEffect, graphicsProxyWidget, hasFocus, hasHeightForWidth, hasMouseTracking, hasTabletTracking, height, heightForWidth, heightMM, hide, initPainter, inputMethodHints, insertAction, insertActions, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isEnabledToTLW, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, layout, layoutDirection, leaveEvent, locale, logicalDpiX, logicalDpiY, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumWidth, mouseDoubleClickEvent, mouseGrabber, mouseMoveEvent, move, move, moveEvent, nativeParentWidget, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowFlags, overrideWindowState, overrideWindowState, paintEngine, paintingActive, palette, parentWidget, physicalDpiX, physicalDpiY, pos, previousInFocusChain, raise, rect, redirected, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, render, render, render, render, render, render, render, render, repaint, repaint, repaint, repaint, resize, resize, restoreGeometry, saveGeometry, screen, scroll, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAttribute, setAutoFillBackground, setBackgroundRole, setBaseSize, setBaseSize, setContentsMargins, setContentsMargins, setContextMenuPolicy, setCursor, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedSize, setFixedWidth, setFocus, setFocus, setFocusPolicy, setFocusProxy, setFont, setForegroundRole, setGeometry, setGeometry, setGraphicsEffect, setHidden, setInputMethodHints, setInputMethodHints, setLayout, setLayoutDirection, setLocale, setMask, setMask, setMaximumHeight, setMaximumSize, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumSize, setMinimumWidth, setMouseTracking, setPalette, setParent, setParent, setParent, setShortcutAutoRepeat, setShortcutAutoRepeat, setShortcutEnabled, setShortcutEnabled, setSizeIncrement, setSizeIncrement, setSizePolicy, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabletTracking, setTabOrder, setToolTip, setToolTipDuration, setUpdatesEnabled, setVisible, setWhatsThis, setWindowFilePath, setWindowFlag, setWindowFlag, setWindowFlags, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowState, setWindowTitle, sharedPainter, show, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, tabletEvent, testAttribute, toolTip, toolTipDuration, topLevelWidget, toString, underMouse, ungrabGesture, unsetCursor, unsetLayoutDirection, unsetLocale, update, update, update, update, updateGeometry, updateMicroFocus, updatesEnabled, visibleRegion, whatsThis, width, widthMM, window, windowFilePath, windowFlags, windowHandle, windowIcon, windowIconText, windowModality, windowOpacity, windowRole, windowState, windowTitle, windowType, winId, x, y
Methods inherited from class io.qt.core.QObject
blockSignals, childEvent, children, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connectNotify, customEvent, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnectNotify, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, eventFilter, findChild, findChild, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, inherits, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, qt_metacast, receivers, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, startTimer, thread, timerEvent, tr, tr, tr
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class. -
activated
Overloaded signals:
activated(const QString & arg__1)
activated(int index)
-
currentIndexChanged
Overloaded signals:
currentIndexChanged(const QString & arg__1)
currentIndexChanged(int index)
-
currentTextChanged
-
editTextChanged
-
highlighted
Overloaded signals:
highlighted(const QString & arg__1)
highlighted(int index)
-
textActivated
-
textHighlighted
-
-
Constructor Details
-
QComboBox
public QComboBox()Overloaded constructor for
QComboBox(io.qt.widgets.QWidget)
withparent = null
. -
QComboBox
-
QComboBox
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QComboBox
Constructor for internal use only. It is not allowed to call the declarative constructor from inside Java.
-
-
Method Details
-
addItem
Overloaded function for
addItem(io.qt.gui.QIcon, java.lang.String, java.lang.Object)
withuserData = null
. -
addItem
-
addItem
Overloaded function for
addItem(java.lang.String, java.lang.Object)
withuserData = null
. -
addItem
-
addItems
-
clear
public final void clear() -
clearEditText
public final void clearEditText() -
completer
-
count
-
currentData
Overloaded function for
currentData(int)
withrole = 256
. -
currentData
-
currentIndex
-
currentText
-
duplicatesEnabled
-
findData
Overloaded function for
findData(java.lang.Object, int, io.qt.core.Qt.MatchFlags)
. -
findData
Overloaded function for
findData(java.lang.Object, int, io.qt.core.Qt.MatchFlags)
withflags = new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchExactly, io.qt.core.Qt.MatchFlag.MatchCaseSensitive)
. -
findData
Overloaded function for
findData(java.lang.Object, int, io.qt.core.Qt.MatchFlags)
with:
role = 256
flags = new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchExactly, io.qt.core.Qt.MatchFlag.MatchCaseSensitive)
-
findData
-
findText
Overloaded function for
findText(java.lang.String, io.qt.core.Qt.MatchFlags)
. -
findText
Overloaded function for
findText(java.lang.String, io.qt.core.Qt.MatchFlags)
withflags = new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchExactly, io.qt.core.Qt.MatchFlag.MatchCaseSensitive)
. -
findText
-
hasFrame
-
iconSize
-
initStyleOption
-
inputMethodQuery
-
insertItem
Overloaded function for
insertItem(int, io.qt.gui.QIcon, java.lang.String, java.lang.Object)
withuserData = null
. -
insertItem
-
insertItem
Overloaded function for
insertItem(int, java.lang.String, java.lang.Object)
withuserData = null
. -
insertItem
-
insertItems
-
insertPolicy
-
insertSeparator
-
isEditable
-
itemData
Overloaded function for
itemData(int, int)
withrole = 256
. -
itemData
-
itemDelegate
-
itemIcon
-
itemText
-
lineEdit
-
maxCount
-
maxVisibleItems
-
minimumContentsLength
-
model
-
modelColumn
-
placeholderText
-
removeItem
-
rootModelIndex
-
setCompleter
-
setCurrentIndex
public final void setCurrentIndex(int index) -
setCurrentText
-
setDuplicatesEnabled
-
setEditText
-
setEditable
-
setFrame
-
setIconSize
-
setInsertPolicy
-
setItemData
Overloaded function for
setItemData(int, java.lang.Object, int)
withrole = 256
. -
setItemData
-
setItemDelegate
-
setItemIcon
-
setItemText
-
setLineEdit
-
setMaxCount
-
setMaxVisibleItems
-
setMinimumContentsLength
-
setModel
-
setModelColumn
-
setPlaceholderText
-
setRootModelIndex
-
setSizeAdjustPolicy
-
setValidator
-
setView
-
sizeAdjustPolicy
-
validator
-
view
-
changeEvent
- Overrides:
changeEvent
in classQWidget
-
contextMenuEvent
- Overrides:
contextMenuEvent
in classQWidget
-
event
-
focusInEvent
- Overrides:
focusInEvent
in classQWidget
-
focusOutEvent
- Overrides:
focusOutEvent
in classQWidget
-
hideEvent
-
hidePopup
-
inputMethodEvent
- Overrides:
inputMethodEvent
in classQWidget
-
inputMethodQuery
- Overrides:
inputMethodQuery
in classQWidget
-
keyPressEvent
- Overrides:
keyPressEvent
in classQWidget
-
keyReleaseEvent
- Overrides:
keyReleaseEvent
in classQWidget
-
minimumSizeHint
- Overrides:
minimumSizeHint
in classQWidget
-
mousePressEvent
- Overrides:
mousePressEvent
in classQWidget
-
mouseReleaseEvent
- Overrides:
mouseReleaseEvent
in classQWidget
-
paintEvent
- Overrides:
paintEvent
in classQWidget
-
resizeEvent
- Overrides:
resizeEvent
in classQWidget
-
showEvent
-
showPopup
-
sizeHint
-
wheelEvent
- Overrides:
wheelEvent
in classQWidget
-