KLayout 0.29.8 (2024-10-28 63dd591e5) [master]

API reference - Class QComboBox

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QComboBox

Class hierarchy: QComboBox » QWidget » QObject

Sub-classes: InsertPolicy, QFlags_InsertPolicy, SizeAdjustPolicy, QFlags_SizeAdjustPolicy

Public constructors

new QComboBoxnew(QWidget ptr parent = nullptr)Constructor QComboBox::QComboBox(QWidget *parent)

Public methods

[const]QComboBox ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[signal]voidactivated(int index)Signal declaration for QComboBox::activated(int index)
[signal]voidactivated_qs(string arg1)Signal declaration for QComboBox::activated(const QString &)
voidaddItem(string text,
variant userData = QVariant())
Method void QComboBox::addItem(const QString &text, const QVariant &userData)
voidaddItem(const QIcon icon,
string text,
variant userData = QVariant())
Method void QComboBox::addItem(const QIcon &icon, const QString &text, const QVariant &userData)
voidaddItems(string[] texts)Method void QComboBox::addItems(const QStringList &texts)
[const]boolautoCompletionMethod bool QComboBox::autoCompletion()
voidautoCompletion=(bool enable)Method void QComboBox::setAutoCompletion(bool enable)
[const]Qt_CaseSensitivityautoCompletionCaseSensitivityMethod Qt::CaseSensitivity QComboBox::autoCompletionCaseSensitivity()
voidautoCompletionCaseSensitivity=(const Qt_CaseSensitivity sensitivity)Method void QComboBox::setAutoCompletionCaseSensitivity(Qt::CaseSensitivity sensitivity)
voidclearMethod void QComboBox::clear()
voidclearEditTextMethod void QComboBox::clearEditText()
[const]QCompleter ptrcompleterMethod QCompleter *QComboBox::completer()
voidcompleter=(QCompleter ptr c)Method void QComboBox::setCompleter(QCompleter *c)
[const]intcountMethod int QComboBox::count()
[const]variantcurrentData(int role = Qt::UserRole)Method QVariant QComboBox::currentData(int role)
[const]intcurrentIndexMethod int QComboBox::currentIndex()
voidcurrentIndex=(int index)Method void QComboBox::setCurrentIndex(int index)
[signal]voidcurrentIndexChanged(int index)Signal declaration for QComboBox::currentIndexChanged(int index)
[signal]voidcurrentIndexChanged_qs(string arg1)Signal declaration for QComboBox::currentIndexChanged(const QString &)
[const]stringcurrentTextMethod QString QComboBox::currentText()
voidcurrentText=(string text)Method void QComboBox::setCurrentText(const QString &text)
[signal]voidcurrentTextChanged(string arg1)Signal declaration for QComboBox::currentTextChanged(const QString &)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QComboBox::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QComboBox::destroyed(QObject *)
[const]boolduplicatesEnabledMethod bool QComboBox::duplicatesEnabled()
voidduplicatesEnabled=(bool enable)Method void QComboBox::setDuplicatesEnabled(bool enable)
[signal]voideditTextChanged(string arg1)Signal declaration for QComboBox::editTextChanged(const QString &)
[const]booleditableMethod bool QComboBox::isEditable()
voideditable=(bool editable)Method void QComboBox::setEditable(bool editable)
voidemit_activated(int index)Emitter for signal void QComboBox::activated(int index)
voidemit_activated_qs(string arg1)Emitter for signal void QComboBox::activated(const QString &)
voidemit_currentIndexChanged(int index)Emitter for signal void QComboBox::currentIndexChanged(int index)
voidemit_currentIndexChanged_qs(string arg1)Emitter for signal void QComboBox::currentIndexChanged(const QString &)
voidemit_currentTextChanged(string arg1)Emitter for signal void QComboBox::currentTextChanged(const QString &)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QComboBox::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QComboBox::destroyed(QObject *)
voidemit_editTextChanged(string arg1)Emitter for signal void QComboBox::editTextChanged(const QString &)
voidemit_highlighted(int index)Emitter for signal void QComboBox::highlighted(int index)
voidemit_highlighted_qs(string arg1)Emitter for signal void QComboBox::highlighted(const QString &)
voidemit_objectNameChanged(string objectName)Emitter for signal void QComboBox::objectNameChanged(const QString &objectName)
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QComboBox::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QComboBox::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QComboBox::windowTitleChanged(const QString &title)
boolevent(QEvent ptr event)Virtual method bool QComboBox::event(QEvent *event)
booleventFilter(QObject ptr watched,
QEvent ptr event)
Virtual method bool QComboBox::eventFilter(QObject *watched, QEvent *event)
[const]intfindData(variant data,
int role = Qt::UserRole,
Qt_QFlags_MatchFlag flags = static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive))
Method int QComboBox::findData(const QVariant &data, int role, QFlags<Qt::MatchFlag> flags)
[const]intfindText(string text,
Qt_QFlags_MatchFlag flags = static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive))
Method int QComboBox::findText(const QString &text, QFlags<Qt::MatchFlag> flags)
[const]boolframeMethod bool QComboBox::hasFrame()
voidframe=(bool arg1)Method void QComboBox::setFrame(bool)
[const]boolhasFrameMethod bool QComboBox::hasFrame()
[const]boolhasHeightForWidthVirtual method bool QComboBox::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QComboBox::heightForWidth(int)
voidhidePopupVirtual method void QComboBox::hidePopup()
[signal]voidhighlighted(int index)Signal declaration for QComboBox::highlighted(int index)
[signal]voidhighlighted_qs(string arg1)Signal declaration for QComboBox::highlighted(const QString &)
[const]QSizeiconSizeMethod QSize QComboBox::iconSize()
voidiconSize=(const QSize size)Method void QComboBox::setIconSize(const QSize &size)
[const]variantinputMethodQuery(const Qt_InputMethodQuery arg1)Virtual method QVariant QComboBox::inputMethodQuery(Qt::InputMethodQuery)
voidinsertItem(int index,
string text,
variant userData = QVariant())
Method void QComboBox::insertItem(int index, const QString &text, const QVariant &userData)
voidinsertItem(int index,
const QIcon icon,
string text,
variant userData = QVariant())
Method void QComboBox::insertItem(int index, const QIcon &icon, const QString &text, const QVariant &userData)
voidinsertItems(int index,
string[] texts)
Method void QComboBox::insertItems(int index, const QStringList &texts)
[const]QComboBox_InsertPolicyinsertPolicyMethod QComboBox::InsertPolicy QComboBox::insertPolicy()
voidinsertPolicy=(const QComboBox_InsertPolicy policy)Method void QComboBox::setInsertPolicy(QComboBox::InsertPolicy policy)
voidinsertSeparator(int index)Method void QComboBox::insertSeparator(int index)
[const]boolisEditable?Method bool QComboBox::isEditable()
[const]variantitemData(int index,
int role = Qt::UserRole)
Method QVariant QComboBox::itemData(int index, int role)
[const]QAbstractItemDelegate ptritemDelegateMethod QAbstractItemDelegate *QComboBox::itemDelegate()
voiditemDelegate=(QAbstractItemDelegate ptr delegate)Method void QComboBox::setItemDelegate(QAbstractItemDelegate *delegate)
[const]QIconitemIcon(int index)Method QIcon QComboBox::itemIcon(int index)
[const]stringitemText(int index)Method QString QComboBox::itemText(int index)
[const]QLineEdit ptrlineEditMethod QLineEdit *QComboBox::lineEdit()
voidlineEdit=(QLineEdit ptr edit)Method void QComboBox::setLineEdit(QLineEdit *edit)
[const]intmaxCountMethod int QComboBox::maxCount()
voidmaxCount=(int max)Method void QComboBox::setMaxCount(int max)
[const]intmaxVisibleItemsMethod int QComboBox::maxVisibleItems()
voidmaxVisibleItems=(int maxItems)Method void QComboBox::setMaxVisibleItems(int maxItems)
[const]intminimumContentsLengthMethod int QComboBox::minimumContentsLength()
voidminimumContentsLength=(int characters)Method void QComboBox::setMinimumContentsLength(int characters)
[const]QSizeminimumSizeHintVirtual method QSize QComboBox::minimumSizeHint()
[const]QAbstractItemModel ptrmodelMethod QAbstractItemModel *QComboBox::model()
voidmodel=(QAbstractItemModel ptr model)Method void QComboBox::setModel(QAbstractItemModel *model)
[const]intmodelColumnMethod int QComboBox::modelColumn()
voidmodelColumn=(int visibleColumn)Method void QComboBox::setModelColumn(int visibleColumn)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QComboBox::objectNameChanged(const QString &objectName)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QComboBox::paintEngine()
voidremoveItem(int index)Method void QComboBox::removeItem(int index)
[const]QModelIndexrootModelIndexMethod QModelIndex QComboBox::rootModelIndex()
voidrootModelIndex=(const QModelIndex index)Method void QComboBox::setRootModelIndex(const QModelIndex &index)
voidsetAutoCompletion(bool enable)Method void QComboBox::setAutoCompletion(bool enable)
voidsetAutoCompletionCaseSensitivity(const Qt_CaseSensitivity sensitivity)Method void QComboBox::setAutoCompletionCaseSensitivity(Qt::CaseSensitivity sensitivity)
voidsetCompleter(QCompleter ptr c)Method void QComboBox::setCompleter(QCompleter *c)
voidsetCurrentIndex(int index)Method void QComboBox::setCurrentIndex(int index)
voidsetCurrentText(string text)Method void QComboBox::setCurrentText(const QString &text)
voidsetDuplicatesEnabled(bool enable)Method void QComboBox::setDuplicatesEnabled(bool enable)
voidsetEditText(string text)Method void QComboBox::setEditText(const QString &text)
voidsetEditable(bool editable)Method void QComboBox::setEditable(bool editable)
voidsetFrame(bool arg1)Method void QComboBox::setFrame(bool)
voidsetIconSize(const QSize size)Method void QComboBox::setIconSize(const QSize &size)
voidsetInsertPolicy(const QComboBox_InsertPolicy policy)Method void QComboBox::setInsertPolicy(QComboBox::InsertPolicy policy)
voidsetItemData(int index,
variant value,
int role = Qt::UserRole)
Method void QComboBox::setItemData(int index, const QVariant &value, int role)
voidsetItemDelegate(QAbstractItemDelegate ptr delegate)Method void QComboBox::setItemDelegate(QAbstractItemDelegate *delegate)
voidsetItemIcon(int index,
const QIcon icon)
Method void QComboBox::setItemIcon(int index, const QIcon &icon)
voidsetItemText(int index,
string text)
Method void QComboBox::setItemText(int index, const QString &text)
voidsetLineEdit(QLineEdit ptr edit)Method void QComboBox::setLineEdit(QLineEdit *edit)
voidsetMaxCount(int max)Method void QComboBox::setMaxCount(int max)
voidsetMaxVisibleItems(int maxItems)Method void QComboBox::setMaxVisibleItems(int maxItems)
voidsetMinimumContentsLength(int characters)Method void QComboBox::setMinimumContentsLength(int characters)
voidsetModel(QAbstractItemModel ptr model)Method void QComboBox::setModel(QAbstractItemModel *model)
voidsetModelColumn(int visibleColumn)Method void QComboBox::setModelColumn(int visibleColumn)
voidsetRootModelIndex(const QModelIndex index)Method void QComboBox::setRootModelIndex(const QModelIndex &index)
voidsetSizeAdjustPolicy(const QComboBox_SizeAdjustPolicy policy)Method void QComboBox::setSizeAdjustPolicy(QComboBox::SizeAdjustPolicy policy)
voidsetValidator(const QValidator ptr v)Method void QComboBox::setValidator(const QValidator *v)
voidsetView(QAbstractItemView ptr itemView)Method void QComboBox::setView(QAbstractItemView *itemView)
voidsetVisible(bool visible)Virtual method void QComboBox::setVisible(bool visible)
voidshowPopupVirtual method void QComboBox::showPopup()
[const]QComboBox_SizeAdjustPolicysizeAdjustPolicyMethod QComboBox::SizeAdjustPolicy QComboBox::sizeAdjustPolicy()
voidsizeAdjustPolicy=(const QComboBox_SizeAdjustPolicy policy)Method void QComboBox::setSizeAdjustPolicy(QComboBox::SizeAdjustPolicy policy)
[const]QSizesizeHintVirtual method QSize QComboBox::sizeHint()
[const]const QValidator ptrvalidatorMethod const QValidator *QComboBox::validator()
voidvalidator=(const QValidator ptr v)Method void QComboBox::setValidator(const QValidator *v)
[const]QAbstractItemView ptrviewMethod QAbstractItemView *QComboBox::view()
voidview=(QAbstractItemView ptr itemView)Method void QComboBox::setView(QAbstractItemView *itemView)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QComboBox::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QComboBox::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QComboBox::windowTitleChanged(const QString &title)

Public static methods and constants

[static,const]QComboBox_SizeAdjustPolicyAdjustToContentsEnum constant QComboBox::AdjustToContents
[static,const]QComboBox_SizeAdjustPolicyAdjustToContentsOnFirstShowEnum constant QComboBox::AdjustToContentsOnFirstShow
[static,const]QComboBox_SizeAdjustPolicyAdjustToMinimumContentsLengthEnum constant QComboBox::AdjustToMinimumContentsLength
[static,const]QComboBox_SizeAdjustPolicyAdjustToMinimumContentsLengthWithIconEnum constant QComboBox::AdjustToMinimumContentsLengthWithIcon
[static,const]QComboBox_InsertPolicyInsertAfterCurrentEnum constant QComboBox::InsertAfterCurrent
[static,const]QComboBox_InsertPolicyInsertAlphabeticallyEnum constant QComboBox::InsertAlphabetically
[static,const]QComboBox_InsertPolicyInsertAtBottomEnum constant QComboBox::InsertAtBottom
[static,const]QComboBox_InsertPolicyInsertAtCurrentEnum constant QComboBox::InsertAtCurrent
[static,const]QComboBox_InsertPolicyInsertAtTopEnum constant QComboBox::InsertAtTop
[static,const]QComboBox_InsertPolicyInsertBeforeCurrentEnum constant QComboBox::InsertBeforeCurrent
[static,const]QComboBox_InsertPolicyNoInsertEnum constant QComboBox::NoInsert
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QComboBox::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QComboBox::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr event)Virtual method void QComboBox::actionEvent(QActionEvent *event)
voidchangeEvent(QEvent ptr e)Virtual method void QComboBox::changeEvent(QEvent *e)
voidchildEvent(QChildEvent ptr event)Virtual method void QComboBox::childEvent(QChildEvent *event)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QComboBox::closeEvent(QCloseEvent *event)
voidcontextMenuEvent(QContextMenuEvent ptr e)Virtual method void QComboBox::contextMenuEvent(QContextMenuEvent *e)
voidcreate(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QComboBox::create(WId, bool initializeWindow, bool destroyOldWindow)
voidcustomEvent(QEvent ptr event)Virtual method void QComboBox::customEvent(QEvent *event)
voiddestroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QComboBox::destroy(bool destroyWindow, bool destroySubWindows)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QComboBox::disconnectNotify(const QMetaMethod &signal)
voiddragEnterEvent(QDragEnterEvent ptr event)Virtual method void QComboBox::dragEnterEvent(QDragEnterEvent *event)
voiddragLeaveEvent(QDragLeaveEvent ptr event)Virtual method void QComboBox::dragLeaveEvent(QDragLeaveEvent *event)
voiddragMoveEvent(QDragMoveEvent ptr event)Virtual method void QComboBox::dragMoveEvent(QDragMoveEvent *event)
voiddropEvent(QDropEvent ptr event)Virtual method void QComboBox::dropEvent(QDropEvent *event)
voidenterEvent(QEvent ptr event)Virtual method void QComboBox::enterEvent(QEvent *event)
voidfocusInEvent(QFocusEvent ptr e)Virtual method void QComboBox::focusInEvent(QFocusEvent *e)
boolfocusNextChildMethod bool QComboBox::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QComboBox::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr e)Virtual method void QComboBox::focusOutEvent(QFocusEvent *e)
boolfocusPreviousChildMethod bool QComboBox::focusPreviousChild()
voidhideEvent(QHideEvent ptr e)Virtual method void QComboBox::hideEvent(QHideEvent *e)
[const]voidinitPainter(QPainter ptr painter)Virtual method void QComboBox::initPainter(QPainter *painter)
[const]voidinitStyleOption(QStyleOptionComboBox ptr option)Method void QComboBox::initStyleOption(QStyleOptionComboBox *option)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QComboBox::inputMethodEvent(QInputMethodEvent *)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QComboBox::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr e)Virtual method void QComboBox::keyPressEvent(QKeyEvent *e)
voidkeyReleaseEvent(QKeyEvent ptr e)Virtual method void QComboBox::keyReleaseEvent(QKeyEvent *e)
voidleaveEvent(QEvent ptr event)Virtual method void QComboBox::leaveEvent(QEvent *event)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QComboBox::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr event)Virtual method void QComboBox::mouseDoubleClickEvent(QMouseEvent *event)
voidmouseMoveEvent(QMouseEvent ptr event)Virtual method void QComboBox::mouseMoveEvent(QMouseEvent *event)
voidmousePressEvent(QMouseEvent ptr e)Virtual method void QComboBox::mousePressEvent(QMouseEvent *e)
voidmouseReleaseEvent(QMouseEvent ptr e)Virtual method void QComboBox::mouseReleaseEvent(QMouseEvent *e)
voidmoveEvent(QMoveEvent ptr event)Virtual method void QComboBox::moveEvent(QMoveEvent *event)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QComboBox::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr e)Virtual method void QComboBox::paintEvent(QPaintEvent *e)
voidqt_create(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QComboBox::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QComboBox::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QComboBox::receivers(const char *signal)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QComboBox::redirected(QPoint *offset)
voidresizeEvent(QResizeEvent ptr e)Virtual method void QComboBox::resizeEvent(QResizeEvent *e)
[const]QObject ptrsenderMethod QObject *QComboBox::sender()
[const]intsenderSignalIndexMethod int QComboBox::senderSignalIndex()
[const]QPainter ptrsharedPainterVirtual method QPainter *QComboBox::sharedPainter()
voidshowEvent(QShowEvent ptr e)Virtual method void QComboBox::showEvent(QShowEvent *e)
voidtabletEvent(QTabletEvent ptr event)Virtual method void QComboBox::tabletEvent(QTabletEvent *event)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QComboBox::timerEvent(QTimerEvent *event)
voidupdateMicroFocusMethod void QComboBox::updateMicroFocus()
voidwheelEvent(QWheelEvent ptr e)Virtual method void QComboBox::wheelEvent(QWheelEvent *e)

Detailed description

AdjustToContents

Signature: [static,const] QComboBox_SizeAdjustPolicy AdjustToContents

Description: Enum constant QComboBox::AdjustToContents

Python specific notes:
The object exposes a readable attribute 'AdjustToContents'. This is the getter.

AdjustToContentsOnFirstShow

Signature: [static,const] QComboBox_SizeAdjustPolicy AdjustToContentsOnFirstShow

Description: Enum constant QComboBox::AdjustToContentsOnFirstShow

Python specific notes:
The object exposes a readable attribute 'AdjustToContentsOnFirstShow'. This is the getter.

AdjustToMinimumContentsLength

Signature: [static,const] QComboBox_SizeAdjustPolicy AdjustToMinimumContentsLength

Description: Enum constant QComboBox::AdjustToMinimumContentsLength

Python specific notes:
The object exposes a readable attribute 'AdjustToMinimumContentsLength'. This is the getter.

AdjustToMinimumContentsLengthWithIcon

Signature: [static,const] QComboBox_SizeAdjustPolicy AdjustToMinimumContentsLengthWithIcon

Description: Enum constant QComboBox::AdjustToMinimumContentsLengthWithIcon

Python specific notes:
The object exposes a readable attribute 'AdjustToMinimumContentsLengthWithIcon'. This is the getter.

InsertAfterCurrent

Signature: [static,const] QComboBox_InsertPolicy InsertAfterCurrent

Description: Enum constant QComboBox::InsertAfterCurrent

Python specific notes:
The object exposes a readable attribute 'InsertAfterCurrent'. This is the getter.

InsertAlphabetically

Signature: [static,const] QComboBox_InsertPolicy InsertAlphabetically

Description: Enum constant QComboBox::InsertAlphabetically

Python specific notes:
The object exposes a readable attribute 'InsertAlphabetically'. This is the getter.

InsertAtBottom

Signature: [static,const] QComboBox_InsertPolicy InsertAtBottom

Description: Enum constant QComboBox::InsertAtBottom

Python specific notes:
The object exposes a readable attribute 'InsertAtBottom'. This is the getter.

InsertAtCurrent

Signature: [static,const] QComboBox_InsertPolicy InsertAtCurrent

Description: Enum constant QComboBox::InsertAtCurrent

Python specific notes:
The object exposes a readable attribute 'InsertAtCurrent'. This is the getter.

InsertAtTop

Signature: [static,const] QComboBox_InsertPolicy InsertAtTop

Description: Enum constant QComboBox::InsertAtTop

Python specific notes:
The object exposes a readable attribute 'InsertAtTop'. This is the getter.

InsertBeforeCurrent

Signature: [static,const] QComboBox_InsertPolicy InsertBeforeCurrent

Description: Enum constant QComboBox::InsertBeforeCurrent

Python specific notes:
The object exposes a readable attribute 'InsertBeforeCurrent'. This is the getter.

NoInsert

Signature: [static,const] QComboBox_InsertPolicy NoInsert

Description: Enum constant QComboBox::NoInsert

Python specific notes:
The object exposes a readable attribute 'NoInsert'. This is the getter.

_const_cast

Signature: [const] QComboBox ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

actionEvent

Signature: void actionEvent (QActionEvent ptr event)

Description: Virtual method void QComboBox::actionEvent(QActionEvent *event)

This method can be reimplemented in a derived class.

activated

Signature: [signal] void activated (int index)

Description: Signal declaration for QComboBox::activated(int index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'activated'. This is the getter.
The object exposes a writable attribute 'activated'. This is the setter.

activated_qs

Signature: [signal] void activated_qs (string arg1)

Description: Signal declaration for QComboBox::activated(const QString &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'activated_qs'. This is the getter.
The object exposes a writable attribute 'activated_qs'. This is the setter.

addItem

(1) Signature: void addItem (string text, variant userData = QVariant())

Description: Method void QComboBox::addItem(const QString &text, const QVariant &userData)

(2) Signature: void addItem (const QIcon icon, string text, variant userData = QVariant())

Description: Method void QComboBox::addItem(const QIcon &icon, const QString &text, const QVariant &userData)

addItems

Signature: void addItems (string[] texts)

Description: Method void QComboBox::addItems(const QStringList &texts)

autoCompletion

Signature: [const] bool autoCompletion

Description: Method bool QComboBox::autoCompletion()

Python specific notes:
The object exposes a readable attribute 'autoCompletion'. This is the getter.

autoCompletion=

Signature: void autoCompletion= (bool enable)

Description: Method void QComboBox::setAutoCompletion(bool enable)

Python specific notes:
The object exposes a writable attribute 'autoCompletion'. This is the setter.

autoCompletionCaseSensitivity

Signature: [const] Qt_CaseSensitivity autoCompletionCaseSensitivity

Description: Method Qt::CaseSensitivity QComboBox::autoCompletionCaseSensitivity()

Python specific notes:
The object exposes a readable attribute 'autoCompletionCaseSensitivity'. This is the getter.

autoCompletionCaseSensitivity=

Signature: void autoCompletionCaseSensitivity= (const Qt_CaseSensitivity sensitivity)

Description: Method void QComboBox::setAutoCompletionCaseSensitivity(Qt::CaseSensitivity sensitivity)

Python specific notes:
The object exposes a writable attribute 'autoCompletionCaseSensitivity'. This is the setter.

changeEvent

Signature: void changeEvent (QEvent ptr e)

Description: Virtual method void QComboBox::changeEvent(QEvent *e)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QComboBox::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

clear

Signature: void clear

Description: Method void QComboBox::clear()

clearEditText

Signature: void clearEditText

Description: Method void QComboBox::clearEditText()

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QComboBox::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

completer

Signature: [const] QCompleter ptr completer

Description: Method QCompleter *QComboBox::completer()

Python specific notes:
The object exposes a readable attribute 'completer'. This is the getter.

completer=

Signature: void completer= (QCompleter ptr c)

Description: Method void QComboBox::setCompleter(QCompleter *c)

Python specific notes:
The object exposes a writable attribute 'completer'. This is the setter.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr e)

Description: Virtual method void QComboBox::contextMenuEvent(QContextMenuEvent *e)

This method can be reimplemented in a derived class.

count

Signature: [const] int count

Description: Method int QComboBox::count()

Python specific notes:
The object exposes a readable attribute 'count'. This is the getter.

create

Signature: void create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QComboBox::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

currentData

Signature: [const] variant currentData (int role = Qt::UserRole)

Description: Method QVariant QComboBox::currentData(int role)

currentIndex

Signature: [const] int currentIndex

Description: Method int QComboBox::currentIndex()

Python specific notes:
The object exposes a readable attribute 'currentIndex'. This is the getter.

currentIndex=

Signature: void currentIndex= (int index)

Description: Method void QComboBox::setCurrentIndex(int index)

Python specific notes:
The object exposes a writable attribute 'currentIndex'. This is the setter.

currentIndexChanged

Signature: [signal] void currentIndexChanged (int index)

Description: Signal declaration for QComboBox::currentIndexChanged(int index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'currentIndexChanged'. This is the getter.
The object exposes a writable attribute 'currentIndexChanged'. This is the setter.

currentIndexChanged_qs

Signature: [signal] void currentIndexChanged_qs (string arg1)

Description: Signal declaration for QComboBox::currentIndexChanged(const QString &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'currentIndexChanged_qs'. This is the getter.
The object exposes a writable attribute 'currentIndexChanged_qs'. This is the setter.

currentText

Signature: [const] string currentText

Description: Method QString QComboBox::currentText()

Python specific notes:
The object exposes a readable attribute 'currentText'. This is the getter.

currentText=

Signature: void currentText= (string text)

Description: Method void QComboBox::setCurrentText(const QString &text)

Python specific notes:
The object exposes a writable attribute 'currentText'. This is the setter.

currentTextChanged

Signature: [signal] void currentTextChanged (string arg1)

Description: Signal declaration for QComboBox::currentTextChanged(const QString &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'currentTextChanged'. This is the getter.
The object exposes a writable attribute 'currentTextChanged'. This is the setter.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QComboBox::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QComboBox::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QComboBox::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QComboBox::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QComboBox::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr event)

Description: Virtual method void QComboBox::dragEnterEvent(QDragEnterEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr event)

Description: Virtual method void QComboBox::dragLeaveEvent(QDragLeaveEvent *event)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr event)

Description: Virtual method void QComboBox::dragMoveEvent(QDragMoveEvent *event)

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr event)

Description: Virtual method void QComboBox::dropEvent(QDropEvent *event)

This method can be reimplemented in a derived class.

duplicatesEnabled

Signature: [const] bool duplicatesEnabled

Description: Method bool QComboBox::duplicatesEnabled()

Python specific notes:
The object exposes a readable attribute 'duplicatesEnabled'. This is the getter.

duplicatesEnabled=

Signature: void duplicatesEnabled= (bool enable)

Description: Method void QComboBox::setDuplicatesEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'duplicatesEnabled'. This is the setter.

editTextChanged

Signature: [signal] void editTextChanged (string arg1)

Description: Signal declaration for QComboBox::editTextChanged(const QString &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'editTextChanged'. This is the getter.
The object exposes a writable attribute 'editTextChanged'. This is the setter.

editable

Signature: [const] bool editable

Description: Method bool QComboBox::isEditable()

Python specific notes:
The object exposes a readable attribute 'editable'. This is the getter.

editable=

Signature: void editable= (bool editable)

Description: Method void QComboBox::setEditable(bool editable)

Python specific notes:
The object exposes a writable attribute 'editable'. This is the setter.

emit_activated

Signature: void emit_activated (int index)

Description: Emitter for signal void QComboBox::activated(int index)

Call this method to emit this signal.

emit_activated_qs

Signature: void emit_activated_qs (string arg1)

Description: Emitter for signal void QComboBox::activated(const QString &)

Call this method to emit this signal.

emit_currentIndexChanged

Signature: void emit_currentIndexChanged (int index)

Description: Emitter for signal void QComboBox::currentIndexChanged(int index)

Call this method to emit this signal.

emit_currentIndexChanged_qs

Signature: void emit_currentIndexChanged_qs (string arg1)

Description: Emitter for signal void QComboBox::currentIndexChanged(const QString &)

Call this method to emit this signal.

emit_currentTextChanged

Signature: void emit_currentTextChanged (string arg1)

Description: Emitter for signal void QComboBox::currentTextChanged(const QString &)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QComboBox::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QComboBox::destroyed(QObject *)

Call this method to emit this signal.

emit_editTextChanged

Signature: void emit_editTextChanged (string arg1)

Description: Emitter for signal void QComboBox::editTextChanged(const QString &)

Call this method to emit this signal.

emit_highlighted

Signature: void emit_highlighted (int index)

Description: Emitter for signal void QComboBox::highlighted(int index)

Call this method to emit this signal.

emit_highlighted_qs

Signature: void emit_highlighted_qs (string arg1)

Description: Emitter for signal void QComboBox::highlighted(const QString &)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QComboBox::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QComboBox::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QComboBox::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QComboBox::windowTitleChanged(const QString &title)

Call this method to emit this signal.

enterEvent

Signature: void enterEvent (QEvent ptr event)

Description: Virtual method void QComboBox::enterEvent(QEvent *event)

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr event)

Description: Virtual method bool QComboBox::event(QEvent *event)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr watched, QEvent ptr event)

Description: Virtual method bool QComboBox::eventFilter(QObject *watched, QEvent *event)

This method can be reimplemented in a derived class.

findData

Signature: [const] int findData (variant data, int role = Qt::UserRole, Qt_QFlags_MatchFlag flags = static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive))

Description: Method int QComboBox::findData(const QVariant &data, int role, QFlags<Qt::MatchFlag> flags)

findText

Signature: [const] int findText (string text, Qt_QFlags_MatchFlag flags = static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive))

Description: Method int QComboBox::findText(const QString &text, QFlags<Qt::MatchFlag> flags)

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr e)

Description: Virtual method void QComboBox::focusInEvent(QFocusEvent *e)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QComboBox::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QComboBox::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr e)

Description: Virtual method void QComboBox::focusOutEvent(QFocusEvent *e)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QComboBox::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

frame

Signature: [const] bool frame

Description: Method bool QComboBox::hasFrame()

Python specific notes:
The object exposes a readable attribute 'frame'. This is the getter.

frame=

Signature: void frame= (bool arg1)

Description: Method void QComboBox::setFrame(bool)

Python specific notes:
The object exposes a writable attribute 'frame'. This is the setter.

hasFrame

Signature: [const] bool hasFrame

Description: Method bool QComboBox::hasFrame()

Python specific notes:
The object exposes a readable attribute 'frame'. This is the getter.

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QComboBox::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QComboBox::heightForWidth(int)

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr e)

Description: Virtual method void QComboBox::hideEvent(QHideEvent *e)

This method can be reimplemented in a derived class.

hidePopup

Signature: void hidePopup

Description: Virtual method void QComboBox::hidePopup()

This method can be reimplemented in a derived class.

highlighted

Signature: [signal] void highlighted (int index)

Description: Signal declaration for QComboBox::highlighted(int index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'highlighted'. This is the getter.
The object exposes a writable attribute 'highlighted'. This is the setter.

highlighted_qs

Signature: [signal] void highlighted_qs (string arg1)

Description: Signal declaration for QComboBox::highlighted(const QString &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'highlighted_qs'. This is the getter.
The object exposes a writable attribute 'highlighted_qs'. This is the setter.

iconSize

Signature: [const] QSize iconSize

Description: Method QSize QComboBox::iconSize()

Python specific notes:
The object exposes a readable attribute 'iconSize'. This is the getter.

iconSize=

Signature: void iconSize= (const QSize size)

Description: Method void QComboBox::setIconSize(const QSize &size)

Python specific notes:
The object exposes a writable attribute 'iconSize'. This is the setter.

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QComboBox::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOptionComboBox ptr option)

Description: Method void QComboBox::initStyleOption(QStyleOptionComboBox *option)

This method is protected and can only be called from inside a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr arg1)

Description: Virtual method void QComboBox::inputMethodEvent(QInputMethodEvent *)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery arg1)

Description: Virtual method QVariant QComboBox::inputMethodQuery(Qt::InputMethodQuery)

This method can be reimplemented in a derived class.

insertItem

(1) Signature: void insertItem (int index, string text, variant userData = QVariant())

Description: Method void QComboBox::insertItem(int index, const QString &text, const QVariant &userData)

(2) Signature: void insertItem (int index, const QIcon icon, string text, variant userData = QVariant())

Description: Method void QComboBox::insertItem(int index, const QIcon &icon, const QString &text, const QVariant &userData)

insertItems

Signature: void insertItems (int index, string[] texts)

Description: Method void QComboBox::insertItems(int index, const QStringList &texts)

insertPolicy

Signature: [const] QComboBox_InsertPolicy insertPolicy

Description: Method QComboBox::InsertPolicy QComboBox::insertPolicy()

Python specific notes:
The object exposes a readable attribute 'insertPolicy'. This is the getter.

insertPolicy=

Signature: void insertPolicy= (const QComboBox_InsertPolicy policy)

Description: Method void QComboBox::setInsertPolicy(QComboBox::InsertPolicy policy)

Python specific notes:
The object exposes a writable attribute 'insertPolicy'. This is the setter.

insertSeparator

Signature: void insertSeparator (int index)

Description: Method void QComboBox::insertSeparator(int index)

isEditable?

Signature: [const] bool isEditable?

Description: Method bool QComboBox::isEditable()

Python specific notes:
The object exposes a readable attribute 'editable'. This is the getter.

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QComboBox::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

itemData

Signature: [const] variant itemData (int index, int role = Qt::UserRole)

Description: Method QVariant QComboBox::itemData(int index, int role)

itemDelegate

Signature: [const] QAbstractItemDelegate ptr itemDelegate

Description: Method QAbstractItemDelegate *QComboBox::itemDelegate()

Python specific notes:
The object exposes a readable attribute 'itemDelegate'. This is the getter.

itemDelegate=

Signature: void itemDelegate= (QAbstractItemDelegate ptr delegate)

Description: Method void QComboBox::setItemDelegate(QAbstractItemDelegate *delegate)

Python specific notes:
The object exposes a writable attribute 'itemDelegate'. This is the setter.

itemIcon

Signature: [const] QIcon itemIcon (int index)

Description: Method QIcon QComboBox::itemIcon(int index)

itemText

Signature: [const] string itemText (int index)

Description: Method QString QComboBox::itemText(int index)

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr e)

Description: Virtual method void QComboBox::keyPressEvent(QKeyEvent *e)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr e)

Description: Virtual method void QComboBox::keyReleaseEvent(QKeyEvent *e)

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

Description: Virtual method void QComboBox::leaveEvent(QEvent *event)

This method can be reimplemented in a derived class.

lineEdit

Signature: [const] QLineEdit ptr lineEdit

Description: Method QLineEdit *QComboBox::lineEdit()

Python specific notes:
The object exposes a readable attribute 'lineEdit'. This is the getter.

lineEdit=

Signature: void lineEdit= (QLineEdit ptr edit)

Description: Method void QComboBox::setLineEdit(QLineEdit *edit)

Python specific notes:
The object exposes a writable attribute 'lineEdit'. This is the setter.

maxCount

Signature: [const] int maxCount

Description: Method int QComboBox::maxCount()

Python specific notes:
The object exposes a readable attribute 'maxCount'. This is the getter.

maxCount=

Signature: void maxCount= (int max)

Description: Method void QComboBox::setMaxCount(int max)

Python specific notes:
The object exposes a writable attribute 'maxCount'. This is the setter.

maxVisibleItems

Signature: [const] int maxVisibleItems

Description: Method int QComboBox::maxVisibleItems()

Python specific notes:
The object exposes a readable attribute 'maxVisibleItems'. This is the getter.

maxVisibleItems=

Signature: void maxVisibleItems= (int maxItems)

Description: Method void QComboBox::setMaxVisibleItems(int maxItems)

Python specific notes:
The object exposes a writable attribute 'maxVisibleItems'. This is the setter.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QComboBox::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumContentsLength

Signature: [const] int minimumContentsLength

Description: Method int QComboBox::minimumContentsLength()

Python specific notes:
The object exposes a readable attribute 'minimumContentsLength'. This is the getter.

minimumContentsLength=

Signature: void minimumContentsLength= (int characters)

Description: Method void QComboBox::setMinimumContentsLength(int characters)

Python specific notes:
The object exposes a writable attribute 'minimumContentsLength'. This is the setter.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QComboBox::minimumSizeHint()

This method can be reimplemented in a derived class.

model

Signature: [const] QAbstractItemModel ptr model

Description: Method QAbstractItemModel *QComboBox::model()

Python specific notes:
The object exposes a readable attribute 'model'. This is the getter.

model=

Signature: void model= (QAbstractItemModel ptr model)

Description: Method void QComboBox::setModel(QAbstractItemModel *model)

Python specific notes:
The object exposes a writable attribute 'model'. This is the setter.

modelColumn

Signature: [const] int modelColumn

Description: Method int QComboBox::modelColumn()

Python specific notes:
The object exposes a readable attribute 'modelColumn'. This is the getter.

modelColumn=

Signature: void modelColumn= (int visibleColumn)

Description: Method void QComboBox::setModelColumn(int visibleColumn)

Python specific notes:
The object exposes a writable attribute 'modelColumn'. This is the setter.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr event)

Description: Virtual method void QComboBox::mouseDoubleClickEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr event)

Description: Virtual method void QComboBox::mouseMoveEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr e)

Description: Virtual method void QComboBox::mousePressEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr e)

Description: Virtual method void QComboBox::mouseReleaseEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr event)

Description: Virtual method void QComboBox::moveEvent(QMoveEvent *event)

This method can be reimplemented in a derived class.

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QComboBox::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

Signature: [static] new QComboBox new (QWidget ptr parent = nullptr)

Description: Constructor QComboBox::QComboBox(QWidget *parent)

This method creates an object of class QComboBox.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QComboBox::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QComboBox::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr e)

Description: Virtual method void QComboBox::paintEvent(QPaintEvent *e)

This method can be reimplemented in a derived class.

qt_create

Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QComboBox::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QComboBox::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QComboBox::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QComboBox::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

removeItem

Signature: void removeItem (int index)

Description: Method void QComboBox::removeItem(int index)

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr e)

Description: Virtual method void QComboBox::resizeEvent(QResizeEvent *e)

This method can be reimplemented in a derived class.

rootModelIndex

Signature: [const] QModelIndex rootModelIndex

Description: Method QModelIndex QComboBox::rootModelIndex()

Python specific notes:
The object exposes a readable attribute 'rootModelIndex'. This is the getter.

rootModelIndex=

Signature: void rootModelIndex= (const QModelIndex index)

Description: Method void QComboBox::setRootModelIndex(const QModelIndex &index)

Python specific notes:
The object exposes a writable attribute 'rootModelIndex'. This is the setter.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QComboBox::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QComboBox::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setAutoCompletion

Signature: void setAutoCompletion (bool enable)

Description: Method void QComboBox::setAutoCompletion(bool enable)

Python specific notes:
The object exposes a writable attribute 'autoCompletion'. This is the setter.

setAutoCompletionCaseSensitivity

Signature: void setAutoCompletionCaseSensitivity (const Qt_CaseSensitivity sensitivity)

Description: Method void QComboBox::setAutoCompletionCaseSensitivity(Qt::CaseSensitivity sensitivity)

Python specific notes:
The object exposes a writable attribute 'autoCompletionCaseSensitivity'. This is the setter.

setCompleter

Signature: void setCompleter (QCompleter ptr c)

Description: Method void QComboBox::setCompleter(QCompleter *c)

Python specific notes:
The object exposes a writable attribute 'completer'. This is the setter.

setCurrentIndex

Signature: void setCurrentIndex (int index)

Description: Method void QComboBox::setCurrentIndex(int index)

Python specific notes:
The object exposes a writable attribute 'currentIndex'. This is the setter.

setCurrentText

Signature: void setCurrentText (string text)

Description: Method void QComboBox::setCurrentText(const QString &text)

Python specific notes:
The object exposes a writable attribute 'currentText'. This is the setter.

setDuplicatesEnabled

Signature: void setDuplicatesEnabled (bool enable)

Description: Method void QComboBox::setDuplicatesEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'duplicatesEnabled'. This is the setter.

setEditText

Signature: void setEditText (string text)

Description: Method void QComboBox::setEditText(const QString &text)

setEditable

Signature: void setEditable (bool editable)

Description: Method void QComboBox::setEditable(bool editable)

Python specific notes:
The object exposes a writable attribute 'editable'. This is the setter.

setFrame

Signature: void setFrame (bool arg1)

Description: Method void QComboBox::setFrame(bool)

Python specific notes:
The object exposes a writable attribute 'frame'. This is the setter.

setIconSize

Signature: void setIconSize (const QSize size)

Description: Method void QComboBox::setIconSize(const QSize &size)

Python specific notes:
The object exposes a writable attribute 'iconSize'. This is the setter.

setInsertPolicy

Signature: void setInsertPolicy (const QComboBox_InsertPolicy policy)

Description: Method void QComboBox::setInsertPolicy(QComboBox::InsertPolicy policy)

Python specific notes:
The object exposes a writable attribute 'insertPolicy'. This is the setter.

setItemData

Signature: void setItemData (int index, variant value, int role = Qt::UserRole)

Description: Method void QComboBox::setItemData(int index, const QVariant &value, int role)

setItemDelegate

Signature: void setItemDelegate (QAbstractItemDelegate ptr delegate)

Description: Method void QComboBox::setItemDelegate(QAbstractItemDelegate *delegate)

Python specific notes:
The object exposes a writable attribute 'itemDelegate'. This is the setter.

setItemIcon

Signature: void setItemIcon (int index, const QIcon icon)

Description: Method void QComboBox::setItemIcon(int index, const QIcon &icon)

setItemText

Signature: void setItemText (int index, string text)

Description: Method void QComboBox::setItemText(int index, const QString &text)

setLineEdit

Signature: void setLineEdit (QLineEdit ptr edit)

Description: Method void QComboBox::setLineEdit(QLineEdit *edit)

Python specific notes:
The object exposes a writable attribute 'lineEdit'. This is the setter.

setMaxCount

Signature: void setMaxCount (int max)

Description: Method void QComboBox::setMaxCount(int max)

Python specific notes:
The object exposes a writable attribute 'maxCount'. This is the setter.

setMaxVisibleItems

Signature: void setMaxVisibleItems (int maxItems)

Description: Method void QComboBox::setMaxVisibleItems(int maxItems)

Python specific notes:
The object exposes a writable attribute 'maxVisibleItems'. This is the setter.

setMinimumContentsLength

Signature: void setMinimumContentsLength (int characters)

Description: Method void QComboBox::setMinimumContentsLength(int characters)

Python specific notes:
The object exposes a writable attribute 'minimumContentsLength'. This is the setter.

setModel

Signature: void setModel (QAbstractItemModel ptr model)

Description: Method void QComboBox::setModel(QAbstractItemModel *model)

Python specific notes:
The object exposes a writable attribute 'model'. This is the setter.

setModelColumn

Signature: void setModelColumn (int visibleColumn)

Description: Method void QComboBox::setModelColumn(int visibleColumn)

Python specific notes:
The object exposes a writable attribute 'modelColumn'. This is the setter.

setRootModelIndex

Signature: void setRootModelIndex (const QModelIndex index)

Description: Method void QComboBox::setRootModelIndex(const QModelIndex &index)

Python specific notes:
The object exposes a writable attribute 'rootModelIndex'. This is the setter.

setSizeAdjustPolicy

Signature: void setSizeAdjustPolicy (const QComboBox_SizeAdjustPolicy policy)

Description: Method void QComboBox::setSizeAdjustPolicy(QComboBox::SizeAdjustPolicy policy)

Python specific notes:
The object exposes a writable attribute 'sizeAdjustPolicy'. This is the setter.

setValidator

Signature: void setValidator (const QValidator ptr v)

Description: Method void QComboBox::setValidator(const QValidator *v)

Python specific notes:
The object exposes a writable attribute 'validator'. This is the setter.

setView

Signature: void setView (QAbstractItemView ptr itemView)

Description: Method void QComboBox::setView(QAbstractItemView *itemView)

Python specific notes:
The object exposes a writable attribute 'view'. This is the setter.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QComboBox::setVisible(bool visible)

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QComboBox::sharedPainter()

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr e)

Description: Virtual method void QComboBox::showEvent(QShowEvent *e)

This method can be reimplemented in a derived class.

showPopup

Signature: void showPopup

Description: Virtual method void QComboBox::showPopup()

This method can be reimplemented in a derived class.

sizeAdjustPolicy

Signature: [const] QComboBox_SizeAdjustPolicy sizeAdjustPolicy

Description: Method QComboBox::SizeAdjustPolicy QComboBox::sizeAdjustPolicy()

Python specific notes:
The object exposes a readable attribute 'sizeAdjustPolicy'. This is the getter.

sizeAdjustPolicy=

Signature: void sizeAdjustPolicy= (const QComboBox_SizeAdjustPolicy policy)

Description: Method void QComboBox::setSizeAdjustPolicy(QComboBox::SizeAdjustPolicy policy)

Python specific notes:
The object exposes a writable attribute 'sizeAdjustPolicy'. This is the setter.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QComboBox::sizeHint()

This method can be reimplemented in a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr event)

Description: Virtual method void QComboBox::tabletEvent(QTabletEvent *event)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QComboBox::timerEvent(QTimerEvent *event)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QComboBox::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QComboBox::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QComboBox::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

validator

Signature: [const] const QValidator ptr validator

Description: Method const QValidator *QComboBox::validator()

Python specific notes:
The object exposes a readable attribute 'validator'. This is the getter.

validator=

Signature: void validator= (const QValidator ptr v)

Description: Method void QComboBox::setValidator(const QValidator *v)

Python specific notes:
The object exposes a writable attribute 'validator'. This is the setter.

view

Signature: [const] QAbstractItemView ptr view

Description: Method QAbstractItemView *QComboBox::view()

Python specific notes:
The object exposes a readable attribute 'view'. This is the getter.

view=

Signature: void view= (QAbstractItemView ptr itemView)

Description: Method void QComboBox::setView(QAbstractItemView *itemView)

Python specific notes:
The object exposes a writable attribute 'view'. This is the setter.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr e)

Description: Virtual method void QComboBox::wheelEvent(QWheelEvent *e)

This method can be reimplemented in a derived class.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QComboBox::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. This is the setter.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QComboBox::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. This is the setter.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QComboBox::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. This is the setter.