io.qt.widgets.QComboBox Maven / Gradle / Ivy
package io.qt.widgets;
import io.qt.*;
/**
* Combines a button with a dropdown list
* Java wrapper for Qt class QComboBox
*/
public class QComboBox extends io.qt.widgets.QWidget
{
@QtPropertyMember(enabled=false)
private Object __rcItemDelegate;
@QtPropertyMember(enabled=false)
private Object __rcModel;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QComboBox.class);
/**
* Java wrapper for Qt enum QComboBox::InsertPolicy
*/
public enum InsertPolicy implements QtEnumerator {
/**
* Representing QComboBox:: NoInsert
*/
NoInsert(0),
/**
* Representing QComboBox:: InsertAtTop
*/
InsertAtTop(1),
/**
* Representing QComboBox:: InsertAtCurrent
*/
InsertAtCurrent(2),
/**
* Representing QComboBox:: InsertAtBottom
*/
InsertAtBottom(3),
/**
* Representing QComboBox:: InsertAfterCurrent
*/
InsertAfterCurrent(4),
/**
* Representing QComboBox:: InsertBeforeCurrent
*/
InsertBeforeCurrent(5),
/**
* Representing QComboBox:: InsertAlphabetically
*/
InsertAlphabetically(6);
static {
QtJambi_LibraryUtilities.initialize();
}
private InsertPolicy(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull InsertPolicy resolve(int value) {
switch (value) {
case 0: return NoInsert;
case 1: return InsertAtTop;
case 2: return InsertAtCurrent;
case 3: return InsertAtBottom;
case 4: return InsertAfterCurrent;
case 5: return InsertBeforeCurrent;
case 6: return InsertAlphabetically;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QComboBox::SizeAdjustPolicy
*/
public enum SizeAdjustPolicy implements QtEnumerator {
/**
* Representing QComboBox:: AdjustToContents
*/
AdjustToContents(0),
/**
* Representing QComboBox:: AdjustToContentsOnFirstShow
*/
AdjustToContentsOnFirstShow(1),
/**
* Representing QComboBox:: AdjustToMinimumContentsLengthWithIcon
*/
AdjustToMinimumContentsLengthWithIcon(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private SizeAdjustPolicy(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull SizeAdjustPolicy resolve(int value) {
switch (value) {
case 0: return AdjustToContents;
case 1: return AdjustToContentsOnFirstShow;
case 2: return AdjustToMinimumContentsLengthWithIcon;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
*
*/
public final @NonNull Signal1 activated = new Signal1<>();
/**
* See QComboBox:: currentIndexChanged(int)
*/
@QtPropertyNotify(name="currentIndex")
public final @NonNull Signal1 currentIndexChanged = new Signal1<>();
/**
* See QComboBox:: currentTextChanged(QString)
*/
@QtPropertyNotify(name="currentText")
public final @NonNull Signal1 currentTextChanged = new Signal1<>();
/**
* See QComboBox:: editTextChanged(QString)
*/
public final @NonNull Signal1 editTextChanged = new Signal1<>();
/**
* See QComboBox:: highlighted(int)
*/
public final @NonNull Signal1 highlighted = new Signal1<>();
/**
* See QComboBox:: textActivated(QString)
*/
public final @NonNull Signal1 textActivated = new Signal1<>();
/**
* See QComboBox:: textHighlighted(QString)
*/
public final @NonNull Signal1 textHighlighted = new Signal1<>();
/**
* See QComboBox:: QComboBox(QWidget*)
* @param parent
*/
public QComboBox(io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QComboBox instance, io.qt.widgets.QWidget parent);
/**
* See QComboBox:: addItem(QIcon, QString, QVariant)
* @param icon
* @param text
* @param userData
*/
@QtUninvokable
public final void addItem(io.qt.gui.@NonNull QIcon icon, java.lang.@NonNull String text, java.lang.Object userData){
addItem_native_cref_QIcon_cref_QString_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(icon), text, userData);
}
@QtUninvokable
private native void addItem_native_cref_QIcon_cref_QString_cref_QVariant(long __this__nativeId, long icon, java.lang.String text, java.lang.Object userData);
/**
* See QComboBox:: addItem(QString, QVariant)
* @param text
* @param userData
*/
@QtUninvokable
public final void addItem(java.lang.@NonNull String text, java.lang.Object userData){
addItem_native_cref_QString_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), text, userData);
}
@QtUninvokable
private native void addItem_native_cref_QString_cref_QVariant(long __this__nativeId, java.lang.String text, java.lang.Object userData);
/**
* See QComboBox:: addItems(QStringList)
* @param texts
*/
@QtUninvokable
public final void addItems(java.util.@NonNull Collection texts){
addItems_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), texts);
}
@QtUninvokable
private native void addItems_native_cref_QStringList(long __this__nativeId, java.util.Collection texts);
/**
*
*/
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void clear_native(long __this__nativeId);
/**
* See QComboBox:: clearEditText()
*/
public final void clearEditText(){
clearEditText_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void clearEditText_native(long __this__nativeId);
/**
* See QComboBox:: completer()const
* @return
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QCompleter completer(){
return completer_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QCompleter completer_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtPropertyReader(name="count")
@QtUninvokable
public final int count(){
return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int count_native_constfct(long __this__nativeId);
/**
* See QComboBox:: currentData(int)const
* @param role
* @return
*/
@QtPropertyReader(name="currentData")
@QtUninvokable
public final java.lang.Object currentData(int role){
return currentData_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), role);
}
@QtUninvokable
private native java.lang.Object currentData_native_int_constfct(long __this__nativeId, int role);
/**
* See QComboBox:: currentIndex()const
* @return
*/
@QtPropertyReader(name="currentIndex")
@QtUninvokable
public final int currentIndex(){
return currentIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int currentIndex_native_constfct(long __this__nativeId);
/**
* See QComboBox:: currentText()const
* @return
*/
@QtPropertyReader(name="currentText")
@QtPropertyUser
@QtUninvokable
public final java.lang.@NonNull String currentText(){
return currentText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String currentText_native_constfct(long __this__nativeId);
/**
* See QComboBox:: duplicatesEnabled()const
* @return
*/
@QtPropertyReader(name="duplicatesEnabled")
@QtUninvokable
public final boolean duplicatesEnabled(){
return duplicatesEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean duplicatesEnabled_native_constfct(long __this__nativeId);
/**
* See QComboBox:: findData(QVariant, int, Qt::MatchFlags)const
* @param data
* @param role
* @param flags
* @return
*/
@QtUninvokable
public final int findData(java.lang.Object data, int role, io.qt.core.Qt.@NonNull MatchFlags flags){
return findData_native_cref_QVariant_int_Qt_MatchFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), data, role, flags.value());
}
@QtUninvokable
private native int findData_native_cref_QVariant_int_Qt_MatchFlags_constfct(long __this__nativeId, java.lang.Object data, int role, int flags);
/**
* See QComboBox:: findText(QString, Qt::MatchFlags)const
* @param text
* @param flags
* @return
*/
@QtUninvokable
public final int findText(java.lang.@NonNull String text, io.qt.core.Qt.@NonNull MatchFlags flags){
return findText_native_cref_QString_Qt_MatchFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), text, flags.value());
}
@QtUninvokable
private native int findText_native_cref_QString_Qt_MatchFlags_constfct(long __this__nativeId, java.lang.String text, int flags);
/**
* See QComboBox:: hasFrame()const
* @return
*/
@QtPropertyReader(name="frame")
@QtUninvokable
public final boolean hasFrame(){
return hasFrame_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasFrame_native_constfct(long __this__nativeId);
/**
* See QComboBox:: iconSize()const
* @return
*/
@QtPropertyReader(name="iconSize")
@QtUninvokable
public final io.qt.core.@NonNull QSize iconSize(){
return iconSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize iconSize_native_constfct(long __this__nativeId);
/**
* See QComboBox:: inputMethodQuery(Qt::InputMethodQuery, QVariant)const
* @param query
* @param argument
* @return
*/
public final java.lang.Object inputMethodQuery(io.qt.core.Qt.@NonNull InputMethodQuery query, java.lang.Object argument){
return inputMethodQuery_native_Qt_InputMethodQuery_cref_QVariant_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), query.value(), argument);
}
private native java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_cref_QVariant_constfct(long __this__nativeId, int query, java.lang.Object argument);
/**
* See QComboBox:: insertItem(int, QIcon, QString, QVariant)
* @param index
* @param icon
* @param text
* @param userData
*/
@QtUninvokable
public final void insertItem(int index, io.qt.gui.@NonNull QIcon icon, java.lang.@NonNull String text, java.lang.Object userData){
insertItem_native_int_cref_QIcon_cref_QString_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(icon), text, userData);
}
@QtUninvokable
private native void insertItem_native_int_cref_QIcon_cref_QString_cref_QVariant(long __this__nativeId, int index, long icon, java.lang.String text, java.lang.Object userData);
/**
* See QComboBox:: insertItem(int, QString, QVariant)
* @param index
* @param text
* @param userData
*/
@QtUninvokable
public final void insertItem(int index, java.lang.@NonNull String text, java.lang.Object userData){
insertItem_native_int_cref_QString_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), index, text, userData);
}
@QtUninvokable
private native void insertItem_native_int_cref_QString_cref_QVariant(long __this__nativeId, int index, java.lang.String text, java.lang.Object userData);
/**
* See QComboBox:: insertItems(int, QStringList)
* @param index
* @param texts
*/
@QtUninvokable
public final void insertItems(int index, java.util.@NonNull Collection texts){
insertItems_native_int_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), index, texts);
}
@QtUninvokable
private native void insertItems_native_int_cref_QStringList(long __this__nativeId, int index, java.util.Collection texts);
/**
* See QComboBox:: insertPolicy()const
* @return
*/
@QtPropertyReader(name="insertPolicy")
@QtUninvokable
public final io.qt.widgets.QComboBox.@NonNull InsertPolicy insertPolicy(){
return io.qt.widgets.QComboBox.InsertPolicy.resolve(insertPolicy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int insertPolicy_native_constfct(long __this__nativeId);
/**
* See QComboBox:: insertSeparator(int)
* @param index
*/
@QtUninvokable
public final void insertSeparator(int index){
insertSeparator_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native void insertSeparator_native_int(long __this__nativeId, int index);
/**
* See QComboBox:: isEditable()const
* @return
*/
@QtPropertyReader(name="editable")
@QtUninvokable
public final boolean isEditable(){
return isEditable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEditable_native_constfct(long __this__nativeId);
/**
* See QComboBox:: itemData(int, int)const
* @param index
* @param role
* @return
*/
@QtUninvokable
public final java.lang.Object itemData(int index, int role){
return itemData_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index, role);
}
@QtUninvokable
private native java.lang.Object itemData_native_int_int_constfct(long __this__nativeId, int index, int role);
/**
* See QComboBox:: itemDelegate()const
* @return
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QAbstractItemDelegate itemDelegate(){
return itemDelegate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QAbstractItemDelegate itemDelegate_native_constfct(long __this__nativeId);
/**
* See QComboBox:: itemIcon(int)const
* @param index
* @return
*/
@QtUninvokable
public final io.qt.gui.@NonNull QIcon itemIcon(int index){
return itemIcon_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native io.qt.gui.QIcon itemIcon_native_int_constfct(long __this__nativeId, int index);
/**
* See QComboBox:: itemText(int)const
* @param index
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String itemText(int index){
return itemText_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native java.lang.String itemText_native_int_constfct(long __this__nativeId, int index);
/**
* See QComboBox:: lineEdit()const
* @return
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QLineEdit lineEdit(){
return lineEdit_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QLineEdit lineEdit_native_constfct(long __this__nativeId);
/**
* See QComboBox:: maxCount()const
* @return
*/
@QtPropertyReader(name="maxCount")
@QtUninvokable
public final int maxCount(){
return maxCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int maxCount_native_constfct(long __this__nativeId);
/**
* See QComboBox:: maxVisibleItems()const
* @return
*/
@QtPropertyReader(name="maxVisibleItems")
@QtUninvokable
public final int maxVisibleItems(){
return maxVisibleItems_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int maxVisibleItems_native_constfct(long __this__nativeId);
/**
* See QComboBox:: minimumContentsLength()const
* @return
*/
@QtPropertyReader(name="minimumContentsLength")
@QtUninvokable
public final int minimumContentsLength(){
return minimumContentsLength_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int minimumContentsLength_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final io.qt.core.@Nullable QAbstractItemModel model(){
return model_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QAbstractItemModel model_native_constfct(long __this__nativeId);
/**
* See QComboBox:: modelColumn()const
* @return
*/
@QtPropertyReader(name="modelColumn")
@QtUninvokable
public final int modelColumn(){
return modelColumn_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int modelColumn_native_constfct(long __this__nativeId);
/**
* See QComboBox:: placeholderText()const
* @return
*/
@QtPropertyReader(name="placeholderText")
@QtUninvokable
public final java.lang.@NonNull String placeholderText(){
return placeholderText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String placeholderText_native_constfct(long __this__nativeId);
/**
* See QComboBox:: removeItem(int)
* @param index
*/
@QtUninvokable
public final void removeItem(int index){
removeItem_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native void removeItem_native_int(long __this__nativeId, int index);
/**
* See QComboBox:: rootModelIndex()const
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QModelIndex rootModelIndex(){
return rootModelIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QModelIndex rootModelIndex_native_constfct(long __this__nativeId);
/**
* See QComboBox:: setCompleter(QCompleter*)
* @param c
*/
@QtUninvokable
public final void setCompleter(io.qt.widgets.@Nullable QCompleter c){
setCompleter_native_QCompleter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c));
QLineEdit lineEdit = lineEdit();
if(lineEdit!=null)
QtJambi_LibraryUtilities.internal.setReferenceCount(lineEdit, QLineEdit.class, "__rcCompleter", false, false, QtJambi_LibraryUtilities.internal.needsReferenceCounting(c) ? c : null);
}
@QtUninvokable
private native void setCompleter_native_QCompleter_ptr(long __this__nativeId, long c);
/**
* See QComboBox:: setCurrentIndex(int)
* @param index
*/
@QtPropertyWriter(name="currentIndex")
public final void setCurrentIndex(int index){
setCurrentIndex_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
private native void setCurrentIndex_native_int(long __this__nativeId, int index);
/**
* See QComboBox:: setCurrentText(QString)
* @param text
*/
@QtPropertyWriter(name="currentText")
public final void setCurrentText(java.lang.@NonNull String text){
setCurrentText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
private native void setCurrentText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* See QComboBox:: setDuplicatesEnabled(bool)
* @param enable
*/
@QtPropertyWriter(name="duplicatesEnabled")
@QtUninvokable
public final void setDuplicatesEnabled(boolean enable){
setDuplicatesEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setDuplicatesEnabled_native_bool(long __this__nativeId, boolean enable);
/**
* See QComboBox:: setEditText(QString)
* @param text
*/
public final void setEditText(java.lang.@NonNull String text){
setEditText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
private native void setEditText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* See QComboBox:: setEditable(bool)
* @param editable
*/
@QtPropertyWriter(name="editable")
@QtUninvokable
public final void setEditable(boolean editable){
setEditable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), editable);
}
@QtUninvokable
private native void setEditable_native_bool(long __this__nativeId, boolean editable);
/**
*
* @param arg__1
*/
@QtPropertyWriter(name="frame")
@QtUninvokable
public final void setFrame(boolean arg__1){
setFrame_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setFrame_native_bool(long __this__nativeId, boolean arg__1);
/**
* See QComboBox:: setIconSize(QSize)
* @param size
*/
@QtPropertyWriter(name="iconSize")
@QtUninvokable
public final void setIconSize(io.qt.core.@NonNull QSize size){
setIconSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@QtUninvokable
private native void setIconSize_native_cref_QSize(long __this__nativeId, long size);
/**
* See QComboBox:: setInsertPolicy(QComboBox::InsertPolicy)
* @param policy
*/
@QtPropertyWriter(name="insertPolicy")
@QtUninvokable
public final void setInsertPolicy(io.qt.widgets.QComboBox.@NonNull InsertPolicy policy){
setInsertPolicy_native_QComboBox_InsertPolicy(QtJambi_LibraryUtilities.internal.nativeId(this), policy.value());
}
@QtUninvokable
private native void setInsertPolicy_native_QComboBox_InsertPolicy(long __this__nativeId, int policy);
/**
* See QComboBox:: setItemData(int, QVariant, int)
* @param index
* @param value
* @param role
*/
@QtUninvokable
public final void setItemData(int index, java.lang.Object value, int role){
setItemData_native_int_cref_QVariant_int(QtJambi_LibraryUtilities.internal.nativeId(this), index, value, role);
}
@QtUninvokable
private native void setItemData_native_int_cref_QVariant_int(long __this__nativeId, int index, java.lang.Object value, int role);
/**
* See QComboBox:: setItemDelegate(QAbstractItemDelegate*)
* @param delegate
*/
@QtUninvokable
public final void setItemDelegate(io.qt.widgets.@StrictNonNull QAbstractItemDelegate delegate){
java.util.Objects.requireNonNull(delegate, "Argument 'delegate': null not expected.");
InternalAccess.NativeIdInfo __delegate__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(delegate);
setItemDelegate_native_QAbstractItemDelegate_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __delegate__NativeIdInfo.nativeId());
if (__delegate__NativeIdInfo.needsReferenceCounting()) {
__rcItemDelegate = delegate;
}else{
__rcItemDelegate = null;
}
}
@QtUninvokable
private native void setItemDelegate_native_QAbstractItemDelegate_ptr(long __this__nativeId, long delegate);
/**
* See QComboBox:: setItemIcon(int, QIcon)
* @param index
* @param icon
*/
@QtUninvokable
public final void setItemIcon(int index, io.qt.gui.@NonNull QIcon icon){
setItemIcon_native_int_cref_QIcon(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(icon));
}
@QtUninvokable
private native void setItemIcon_native_int_cref_QIcon(long __this__nativeId, int index, long icon);
/**
* See QComboBox:: setItemText(int, QString)
* @param index
* @param text
*/
@QtUninvokable
public final void setItemText(int index, java.lang.@NonNull String text){
setItemText_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, text);
}
@QtUninvokable
private native void setItemText_native_int_cref_QString(long __this__nativeId, int index, java.lang.String text);
/**
* See QComboBox:: setLineEdit(QLineEdit*)
* @param edit
*/
@QtUninvokable
public final void setLineEdit(io.qt.widgets.@StrictNonNull QLineEdit edit){
java.util.Objects.requireNonNull(edit, "Argument 'edit': null not expected.");
setLineEdit_native_QLineEdit_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(edit));
}
@QtUninvokable
private native void setLineEdit_native_QLineEdit_ptr(long __this__nativeId, long edit);
/**
* See QComboBox:: setMaxCount(int)
* @param max
*/
@QtPropertyWriter(name="maxCount")
@QtUninvokable
public final void setMaxCount(int max){
setMaxCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), max);
}
@QtUninvokable
private native void setMaxCount_native_int(long __this__nativeId, int max);
/**
* See QComboBox:: setMaxVisibleItems(int)
* @param maxItems
*/
@QtPropertyWriter(name="maxVisibleItems")
@QtUninvokable
public final void setMaxVisibleItems(int maxItems){
setMaxVisibleItems_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), maxItems);
}
@QtUninvokable
private native void setMaxVisibleItems_native_int(long __this__nativeId, int maxItems);
/**
* See QComboBox:: setMinimumContentsLength(int)
* @param characters
*/
@QtPropertyWriter(name="minimumContentsLength")
@QtUninvokable
public final void setMinimumContentsLength(int characters){
setMinimumContentsLength_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), characters);
}
@QtUninvokable
private native void setMinimumContentsLength_native_int(long __this__nativeId, int characters);
/**
* See QComboBox:: setModelColumn(int)
* @param visibleColumn
*/
@QtPropertyWriter(name="modelColumn")
@QtUninvokable
public final void setModelColumn(int visibleColumn){
setModelColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), visibleColumn);
}
@QtUninvokable
private native void setModelColumn_native_int(long __this__nativeId, int visibleColumn);
/**
* See QComboBox:: setPlaceholderText(QString)
* @param placeholderText
*/
@QtPropertyWriter(name="placeholderText")
@QtUninvokable
public final void setPlaceholderText(java.lang.@NonNull String placeholderText){
setPlaceholderText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), placeholderText);
}
@QtUninvokable
private native void setPlaceholderText_native_cref_QString(long __this__nativeId, java.lang.String placeholderText);
/**
* See QComboBox:: setRootModelIndex(QModelIndex)
* @param index
*/
@QtUninvokable
public final void setRootModelIndex(io.qt.core.@NonNull QModelIndex index){
setRootModelIndex_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index));
}
@QtUninvokable
private native void setRootModelIndex_native_cref_QModelIndex(long __this__nativeId, long index);
/**
* See QComboBox:: setSizeAdjustPolicy(QComboBox::SizeAdjustPolicy)
* @param policy
*/
@QtPropertyWriter(name="sizeAdjustPolicy")
@QtUninvokable
public final void setSizeAdjustPolicy(io.qt.widgets.QComboBox.@NonNull SizeAdjustPolicy policy){
setSizeAdjustPolicy_native_QComboBox_SizeAdjustPolicy(QtJambi_LibraryUtilities.internal.nativeId(this), policy.value());
}
@QtUninvokable
private native void setSizeAdjustPolicy_native_QComboBox_SizeAdjustPolicy(long __this__nativeId, int policy);
/**
* See QComboBox:: setValidator(const QValidator*)
* @param v
*/
@QtUninvokable
public final void setValidator(io.qt.gui.@Nullable QValidator v){
setValidator_native_const_QValidator_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(v));
QLineEdit lineEdit = lineEdit();
if(lineEdit!=null)
QtJambi_LibraryUtilities.internal.setReferenceCount(lineEdit, QLineEdit.class, "__rcValidator", false, false, QtJambi_LibraryUtilities.internal.needsReferenceCounting(v) ? v : null);
}
@QtUninvokable
private native void setValidator_native_const_QValidator_ptr(long __this__nativeId, long v);
/**
* See QComboBox:: setView(QAbstractItemView*)
* @param itemView
*/
@QtUninvokable
public final void setView(io.qt.widgets.@StrictNonNull QAbstractItemView itemView){
java.util.Objects.requireNonNull(itemView, "Argument 'itemView': null not expected.");
setView_native_QAbstractItemView_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(itemView));
}
@QtUninvokable
private native void setView_native_QAbstractItemView_ptr(long __this__nativeId, long itemView);
/**
* See QComboBox:: sizeAdjustPolicy()const
* @return
*/
@QtPropertyReader(name="sizeAdjustPolicy")
@QtUninvokable
public final io.qt.widgets.QComboBox.@NonNull SizeAdjustPolicy sizeAdjustPolicy(){
return io.qt.widgets.QComboBox.SizeAdjustPolicy.resolve(sizeAdjustPolicy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int sizeAdjustPolicy_native_constfct(long __this__nativeId);
/**
* See QComboBox:: validator()const
* @return
*/
@QtUninvokable
public final io.qt.gui.@Nullable QValidator validator(){
return validator_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QValidator validator_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QAbstractItemView view(){
return view_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QAbstractItemView view_native_constfct(long __this__nativeId);
/**
* See QWidget:: changeEvent(QEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void changeEvent(io.qt.core.@Nullable QEvent e){
java.util.Objects.requireNonNull(e, "Argument 'e': null not expected.");
changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget:: contextMenuEvent(QContextMenuEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void contextMenuEvent(io.qt.gui.@Nullable QContextMenuEvent e){
java.util.Objects.requireNonNull(e, "Argument 'e': null not expected.");
contextMenuEvent_native_QContextMenuEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void contextMenuEvent_native_QContextMenuEvent_ptr(long __this__nativeId, long e);
/**
*
* @param event
* @return
*/
@QtUninvokable
@Override
public boolean event(io.qt.core.@Nullable QEvent event){
java.util.Objects.requireNonNull(event, "Argument 'event': null not expected.");
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget:: focusInEvent(QFocusEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void focusInEvent(io.qt.gui.@Nullable QFocusEvent e){
focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget:: focusOutEvent(QFocusEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void focusOutEvent(io.qt.gui.@Nullable QFocusEvent e){
focusOutEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void focusOutEvent_native_QFocusEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget:: hideEvent(QHideEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void hideEvent(io.qt.gui.@Nullable QHideEvent e){
hideEvent_native_QHideEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void hideEvent_native_QHideEvent_ptr(long __this__nativeId, long e);
/**
*
*/
@QtUninvokable
public void hidePopup(){
hidePopup_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void hidePopup_native(long __this__nativeId);
/**
* See QComboBox:: initStyleOption(QStyleOptionComboBox*)const
* @param option
*/
@QtUninvokable
protected void initStyleOption(io.qt.widgets.@Nullable QStyleOptionComboBox option){
initStyleOption_native_QStyleOptionComboBox_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option));
}
@QtUninvokable
private native void initStyleOption_native_QStyleOptionComboBox_ptr_constfct(long __this__nativeId, long option);
/**
* See QWidget:: inputMethodEvent(QInputMethodEvent*)
* @param arg__1
*/
@QtUninvokable
@Override
protected void inputMethodEvent(io.qt.gui.@Nullable QInputMethodEvent arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
inputMethodEvent_native_QInputMethodEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void inputMethodEvent_native_QInputMethodEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget:: inputMethodQuery(Qt::InputMethodQuery)const
* @param arg__1
* @return
*/
@QtUninvokable
@Override
public java.lang.Object inputMethodQuery(io.qt.core.Qt.@NonNull InputMethodQuery arg__1){
return inputMethodQuery_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@QtUninvokable
private native java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int arg__1);
/**
* See QWidget:: keyPressEvent(QKeyEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent e){
java.util.Objects.requireNonNull(e, "Argument 'e': null not expected.");
keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget:: keyReleaseEvent(QKeyEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void keyReleaseEvent(io.qt.gui.@Nullable QKeyEvent e){
java.util.Objects.requireNonNull(e, "Argument 'e': null not expected.");
keyReleaseEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void keyReleaseEvent_native_QKeyEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget:: minimumSizeHint()const
* @return
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QSize minimumSizeHint(){
return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId);
/**
* See QWidget:: mousePressEvent(QMouseEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent e){
java.util.Objects.requireNonNull(e, "Argument 'e': null not expected.");
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget:: mouseReleaseEvent(QMouseEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void mouseReleaseEvent(io.qt.gui.@Nullable QMouseEvent e){
java.util.Objects.requireNonNull(e, "Argument 'e': null not expected.");
mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget:: paintEvent(QPaintEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void paintEvent(io.qt.gui.@Nullable QPaintEvent e){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget:: resizeEvent(QResizeEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent e){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long e);
/**
* See QComboBox:: setModel(QAbstractItemModel*)
* @param model
*/
@QtUninvokable
public void setModel(io.qt.core.@StrictNonNull QAbstractItemModel model){
java.util.Objects.requireNonNull(model, "Argument 'model': null not expected.");
InternalAccess.NativeIdInfo __model__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(model);
setModel_native_QAbstractItemModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __model__NativeIdInfo.nativeId());
if (__model__NativeIdInfo.needsReferenceCounting()) {
__rcModel = model;
}else{
__rcModel = null;
}
}
@QtUninvokable
private native void setModel_native_QAbstractItemModel_ptr(long __this__nativeId, long model);
/**
* See QWidget:: showEvent(QShowEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void showEvent(io.qt.gui.@Nullable QShowEvent e){
showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long e);
/**
*
*/
@QtUninvokable
public void showPopup(){
showPopup_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void showPopup_native(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QSize sizeHint(){
return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
* See QWidget:: wheelEvent(QWheelEvent*)
* @param e
*/
@QtUninvokable
@Override
protected void wheelEvent(io.qt.gui.@Nullable QWheelEvent e){
java.util.Objects.requireNonNull(e, "Argument 'e': null not expected.");
wheelEvent_native_QWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void wheelEvent_native_QWheelEvent_ptr(long __this__nativeId, long e);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QComboBox(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QComboBox(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QComboBox instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QComboBox(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QComboBox() {
this((io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #addItem(io.qt.gui.QIcon, java.lang.String, java.lang.Object)}
* with userData = null
.
*/
@QtUninvokable
public final void addItem(io.qt.gui.@NonNull QIcon icon, java.lang.@NonNull String text) {
addItem(icon, text, (java.lang.Object)null);
}
/**
* Overloaded function for {@link #addItem(io.qt.gui.QPixmap, java.lang.String, java.lang.Object)}
* with userData = null
.
*/
@QtUninvokable
public final void addItem(io.qt.gui.@NonNull QPixmap icon, java.lang.@NonNull String text) {
addItem(icon, text, (java.lang.Object)null);
}
/**
* Overloaded function for {@link #addItem(io.qt.gui.QIcon, java.lang.String, java.lang.Object)}.
*/
@QtUninvokable
public final void addItem(io.qt.gui.@NonNull QPixmap icon, java.lang.@NonNull String text, java.lang.Object userData) {
addItem(new io.qt.gui.QIcon(icon), text, userData);
}
/**
* Overloaded function for {@link #addItem(java.lang.String, java.lang.Object)}
* with userData = null
.
*/
@QtUninvokable
public final void addItem(java.lang.@NonNull String text) {
addItem(text, (java.lang.Object)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #count()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getCount() {
return count();
}
/**
* Overloaded function for {@link #getCurrentData(int)}
* with role = 256
.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.Object getCurrentData() {
return getCurrentData((int)256);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #currentData(int)} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.Object getCurrentData(int role) {
return currentData(role);
}
/**
* Overloaded function for {@link #currentData(int)}
* with role = 256
.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.Object currentData() {
return currentData((int)256);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #currentIndex()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getCurrentIndex() {
return currentIndex();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #currentText()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getCurrentText() {
return currentText();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #duplicatesEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getDuplicatesEnabled() {
return duplicatesEnabled();
}
/**
* Overloaded function for {@link #findData(java.lang.Object, int, io.qt.core.Qt.MatchFlags)}
* with flags = new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchExactly, io.qt.core.Qt.MatchFlag.MatchCaseSensitive)
.
*/
@QtUninvokable
public final int findData(java.lang.Object data, int role) {
return findData(data, role, new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchExactly, io.qt.core.Qt.MatchFlag.MatchCaseSensitive));
}
/**
* Overloaded function for {@link #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)
*
*/
@QtUninvokable
public final int findData(java.lang.Object data) {
return findData(data, (int)256, new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchExactly, io.qt.core.Qt.MatchFlag.MatchCaseSensitive));
}
/**
* Overloaded function for {@link #findData(java.lang.Object, int, io.qt.core.Qt.MatchFlags)}.
*/
@QtUninvokable
public final int findData(java.lang.Object data, int role, io.qt.core.Qt.@NonNull MatchFlag @NonNull... flags) {
return findData(data, role, new io.qt.core.Qt.MatchFlags(flags));
}
/**
* Overloaded function for {@link #findText(java.lang.String, io.qt.core.Qt.MatchFlags)}
* with flags = new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchExactly, io.qt.core.Qt.MatchFlag.MatchCaseSensitive)
.
*/
@QtUninvokable
public final int findText(java.lang.@NonNull String text) {
return findText(text, new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchExactly, io.qt.core.Qt.MatchFlag.MatchCaseSensitive));
}
/**
* Overloaded function for {@link #findText(java.lang.String, io.qt.core.Qt.MatchFlags)}.
*/
@QtUninvokable
public final int findText(java.lang.@NonNull String text, io.qt.core.Qt.@NonNull MatchFlag @NonNull... flags) {
return findText(text, new io.qt.core.Qt.MatchFlags(flags));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #hasFrame()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getFrame() {
return hasFrame();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #iconSize()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QSize getIconSize() {
return iconSize();
}
/**
* Overloaded function for {@link #insertItem(int, io.qt.gui.QIcon, java.lang.String, java.lang.Object)}
* with userData = null
.
*/
@QtUninvokable
public final void insertItem(int index, io.qt.gui.@NonNull QIcon icon, java.lang.@NonNull String text) {
insertItem(index, icon, text, (java.lang.Object)null);
}
/**
* Overloaded function for {@link #insertItem(int, io.qt.gui.QPixmap, java.lang.String, java.lang.Object)}
* with userData = null
.
*/
@QtUninvokable
public final void insertItem(int index, io.qt.gui.@NonNull QPixmap icon, java.lang.@NonNull String text) {
insertItem(index, icon, text, (java.lang.Object)null);
}
/**
* Overloaded function for {@link #insertItem(int, io.qt.gui.QIcon, java.lang.String, java.lang.Object)}.
*/
@QtUninvokable
public final void insertItem(int index, io.qt.gui.@NonNull QPixmap icon, java.lang.@NonNull String text, java.lang.Object userData) {
insertItem(index, new io.qt.gui.QIcon(icon), text, userData);
}
/**
* Overloaded function for {@link #insertItem(int, java.lang.String, java.lang.Object)}
* with userData = null
.
*/
@QtUninvokable
public final void insertItem(int index, java.lang.@NonNull String text) {
insertItem(index, text, (java.lang.Object)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #insertPolicy()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QComboBox.@NonNull InsertPolicy getInsertPolicy() {
return insertPolicy();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isEditable()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getEditable() {
return isEditable();
}
/**
* Overloaded function for {@link #itemData(int, int)}
* with role = 256
.
*/
@QtUninvokable
public final java.lang.Object itemData(int index) {
return itemData(index, (int)256);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #maxCount()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getMaxCount() {
return maxCount();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #maxVisibleItems()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getMaxVisibleItems() {
return maxVisibleItems();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #minimumContentsLength()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getMinimumContentsLength() {
return minimumContentsLength();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #modelColumn()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getModelColumn() {
return modelColumn();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #placeholderText()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getPlaceholderText() {
return placeholderText();
}
/**
* Overloaded function for {@link #setItemData(int, java.lang.Object, int)}
* with role = 256
.
*/
@QtUninvokable
public final void setItemData(int index, java.lang.Object value) {
setItemData(index, value, (int)256);
}
/**
* Overloaded function for {@link #setItemIcon(int, io.qt.gui.QIcon)}.
*/
@QtUninvokable
public final void setItemIcon(int index, io.qt.gui.@NonNull QPixmap icon) {
setItemIcon(index, new io.qt.gui.QIcon(icon));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #sizeAdjustPolicy()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QComboBox.@NonNull SizeAdjustPolicy getSizeAdjustPolicy() {
return sizeAdjustPolicy();
}
}