@Properties(inherit=Qt5Widgets.class) public class QComboBox extends QWidget
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
AdjustToContents
enum QComboBox::SizeAdjustPolicy
|
static int |
AdjustToContentsOnFirstShow
enum QComboBox::SizeAdjustPolicy
|
static int |
AdjustToMinimumContentsLength
enum QComboBox::SizeAdjustPolicy
|
static int |
AdjustToMinimumContentsLengthWithIcon
enum QComboBox::SizeAdjustPolicy
|
static int |
InsertAfterCurrent
enum QComboBox::InsertPolicy
|
static int |
InsertAlphabetically
enum QComboBox::InsertPolicy
|
static int |
InsertAtBottom
enum QComboBox::InsertPolicy
|
static int |
InsertAtCurrent
enum QComboBox::InsertPolicy
|
static int |
InsertAtTop
enum QComboBox::InsertPolicy
|
static int |
InsertBeforeCurrent
enum QComboBox::InsertPolicy
|
static int |
NoInsert
enum QComboBox::InsertPolicy
|
DrawChildren, DrawWindowBackground, IgnoreMask
Constructor and Description |
---|
QComboBox() |
QComboBox(long size)
Native array allocator.
|
QComboBox(Pointer p)
Pointer cast constructor.
|
QComboBox(QWidget parent) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(QIcon icon,
QString text) |
void |
addItem(QIcon icon,
QString text,
QVariant userData) |
void |
addItem(QString text) |
void |
addItem(QString text,
QVariant userData) |
void |
clear() |
void |
clearEditText() |
int |
count() |
QVariant |
currentData() |
QVariant |
currentData(int role) |
int |
currentIndex() |
QString |
currentText() |
boolean |
duplicatesEnabled() |
boolean |
event(QEvent event) |
int |
findData(QVariant data) |
int |
findData(QVariant data,
int role,
int flags) |
int |
findText(QString text) |
int |
findText(QString text,
int flags) |
boolean |
hasFrame() |
void |
hidePopup() |
QSize |
iconSize() |
QVariant |
inputMethodQuery(int arg0) |
QVariant |
inputMethodQuery(int query,
QVariant argument) |
void |
insertItem(int index,
QIcon icon,
QString text) |
void |
insertItem(int index,
QIcon icon,
QString text,
QVariant userData) |
void |
insertItem(int index,
QString text) |
void |
insertItem(int index,
QString text,
QVariant userData) |
int |
insertPolicy() |
void |
insertSeparator(int index) |
boolean |
isEditable() |
QVariant |
itemData(int index) |
QVariant |
itemData(int index,
int role) |
QIcon |
itemIcon(int index) |
QString |
itemText(int index) |
QLineEdit |
lineEdit() |
int |
maxCount() |
int |
maxVisibleItems() |
int |
minimumContentsLength() |
QSize |
minimumSizeHint() |
int |
modelColumn() |
QComboBox |
position(long position) |
void |
removeItem(int index) |
void |
setCurrentIndex(int index) |
void |
setCurrentText(QString text) |
void |
setDuplicatesEnabled(boolean enable) |
void |
setEditable(boolean editable) |
void |
setEditText(QString text) |
void |
setFrame(boolean arg0) |
void |
setIconSize(QSize size) |
void |
setInsertPolicy(int policy) |
void |
setItemData(int index,
QVariant value) |
void |
setItemData(int index,
QVariant value,
int role) |
void |
setItemIcon(int index,
QIcon icon) |
void |
setItemText(int index,
QString text) |
void |
setLineEdit(QLineEdit edit) |
void |
setMaxCount(int max) |
void |
setMaxVisibleItems(int maxItems) |
void |
setMinimumContentsLength(int characters) |
void |
setModelColumn(int visibleColumn) |
void |
setSizeAdjustPolicy(int policy) |
void |
showPopup() |
int |
sizeAdjustPolicy() |
QSize |
sizeHint() |
_close, acceptDrops, accessibleDescription, accessibleName, activateWindow, addAction, adjustSize, asQPaintDevice, asQPaintDevice, autoFillBackground, baseSize, childAt, clearFocus, clearMask, closeEvent, contextMenuPolicy, createWinId, devType, effectiveWinId, ensurePolished, find, focusPolicy, focusProxy, focusWidget, font, frameSize, getContentsMargins, getContentsMargins, getContentsMargins, grabGesture, grabKeyboard, grabMouse, hasFocus, hasMouseTracking, hasTabletTracking, height, hide, insertAction, internalWinId, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, layout, layoutDirection, lower, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseGrabber, move, nativeParentWidget, nextInFocusChain, overrideWindowFlags, parentWidget, previousInFocusChain, raise, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, repaint, repaint, resize, resize, restoreGeometry, saveGeometry, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAttribute, setAutoFillBackground, setBaseSize, setBaseSize, setContentsMargins, setContextMenuPolicy, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedSize, setFixedWidth, setFocus, setFocus, setFocusPolicy, setFocusProxy, setFont, setGeometry, setHidden, setLayout, setLayoutDirection, setMaximumHeight, setMaximumSize, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumSize, setMinimumWidth, setMouseTracking, setParent, setParent, setShortcutAutoRepeat, setShortcutAutoRepeat, setShortcutEnabled, setShortcutEnabled, setSizeIncrement, setSizeIncrement, setSizePolicy, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabletTracking, setTabOrder, setToolTip, setToolTipDuration, setUpdatesEnabled, setWhatsThis, setWindowFilePath, setWindowFlag, setWindowFlag, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowTitle, show, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, testAttribute, toolTip, toolTipDuration, topLevelWidget, underMouse, ungrabGesture, unsetCursor, unsetLayoutDirection, unsetLocale, update, update, updateGeometry, updatesEnabled, whatsThis, width, window, windowFilePath, windowFlags, windowIcon, windowIconText, windowModality, windowOpacity, windowRole, windowTitle, windowType, winId, x, y
blockSignals, deleteLater, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, dumpObjectInfo, dumpObjectTree, eventFilter, inherits, inherits, installEventFilter, isWidgetType, isWindowType, killTimer, objectName, parent, registerUserData, removeEventFilter, setObjectName, setParent, setProperty, setProperty, signalsBlocked, startTimer, startTimer, startTimer, startTimer, tr, tr, tr, tr
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int NoInsert
public static final int InsertAtTop
public static final int InsertAtCurrent
public static final int InsertAtBottom
public static final int InsertAfterCurrent
public static final int InsertBeforeCurrent
public static final int InsertAlphabetically
public static final int AdjustToContents
public static final int AdjustToContentsOnFirstShow
public static final int AdjustToMinimumContentsLength
public static final int AdjustToMinimumContentsLengthWithIcon
public QComboBox(Pointer p)
Pointer.Pointer(Pointer)
.public QComboBox(long size)
Pointer.position(long)
.public QComboBox(QWidget parent)
public QComboBox()
public int maxVisibleItems()
public void setMaxVisibleItems(int maxItems)
public int count()
public void setMaxCount(int max)
public int maxCount()
public int findText(@Const @ByRef QString text, @ByVal(nullValue="Qt::MatchFlags(static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive))") @Cast(value="Qt::MatchFlags") int flags)
public int findData(@Const @ByRef QVariant data, int role, @ByVal(nullValue="Qt::MatchFlags(static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive))") @Cast(value="Qt::MatchFlags") int flags)
public void setSizeAdjustPolicy(@Cast(value="QComboBox::SizeAdjustPolicy") int policy)
public int minimumContentsLength()
public void setMinimumContentsLength(int characters)
public void setLineEdit(QLineEdit edit)
public QLineEdit lineEdit()
public int modelColumn()
public void setModelColumn(int visibleColumn)
public int currentIndex()
public void addItem(@Const @ByRef QString text, @Const @ByRef(nullValue="QVariant()") QVariant userData)
public void addItem(@Const @ByRef QIcon icon, @Const @ByRef QString text, @Const @ByRef(nullValue="QVariant()") QVariant userData)
public void insertItem(int index, @Const @ByRef QString text, @Const @ByRef(nullValue="QVariant()") QVariant userData)
public void insertItem(int index, @Const @ByRef QIcon icon, @Const @ByRef QString text, @Const @ByRef(nullValue="QVariant()") QVariant userData)
public void insertSeparator(int index)
public void removeItem(int index)
public void showPopup()
public void hidePopup()
@ByVal public QVariant inputMethodQuery(@Cast(value="Qt::InputMethodQuery") int arg0)
@ByVal public QVariant inputMethodQuery(@Cast(value="Qt::InputMethodQuery") int query, @Const @ByRef QVariant argument)
public void clear()
public void clearEditText()
public void setCurrentIndex(int index)
Copyright © 2020. All rights reserved.