All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QCompleter Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.widgets;

import io.qt.*;


/**
 * 

Completions based on an item model

*

Java wrapper for Qt class QCompleter

*/ public class QCompleter extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private Object __rcModel = null; @QtPropertyMember(enabled=false) private Object __rcWidget = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCompleter.class); /** *

Java wrapper for Qt enum QCompleter::CompletionMode

*/ public enum CompletionMode implements QtEnumerator { /** *

Representing QCompleter::PopupCompletion

*/ PopupCompletion(0), /** *

Representing QCompleter::UnfilteredPopupCompletion

*/ UnfilteredPopupCompletion(1), /** *

Representing QCompleter::InlineCompletion

*/ InlineCompletion(2); static { QtJambi_LibraryUtilities.initialize(); } private CompletionMode(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull CompletionMode resolve(int value) { switch (value) { case 0: return PopupCompletion; case 1: return UnfilteredPopupCompletion; case 2: return InlineCompletion; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QCompleter::ModelSorting

*/ public enum ModelSorting implements QtEnumerator { /** *

Representing QCompleter::UnsortedModel

*/ UnsortedModel(0), /** *

Representing QCompleter::CaseSensitivelySortedModel

*/ CaseSensitivelySortedModel(1), /** *

Representing QCompleter::CaseInsensitivelySortedModel

*/ CaseInsensitivelySortedModel(2); static { QtJambi_LibraryUtilities.initialize(); } private ModelSorting(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ModelSorting resolve(int value) { switch (value) { case 0: return UnsortedModel; case 1: return CaseSensitivelySortedModel; case 2: return CaseInsensitivelySortedModel; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Wrapper class for overloaded signals:

*
    *
  • activated(const QModelIndex & index)
  • *
  • activated(const QString & text)
  • *
*/ public final class MultiSignal_activated extends MultiSignal{ private MultiSignal_activated(){ super(); } /** *

Provides an overloaded signal by parameter type.

*

The only valid calls are:

    *
  • activated.overload(io.qt.core.QModelIndex.class)
  • *
  • activated.overload(java.lang.String.class)
  • *
*

{@link QNoSuchSignalException} is thrown otherwise.

* @param signal parameter type * @param type1 value of type A * @return overloaded signal * @throws QNoSuchSignalException if signal is not available */ @QtAllowedTypeSet({io.qt.core.QModelIndex.class}) @QtAllowedTypeSet({java.lang.String.class}) public final Signal1 overload(Class type1) throws QNoSuchSignalException{ return (Signal1)super.overload(type1); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public final io.qt.core.QMetaObject.@NonNull Connection connect(io.qt.core.QMetaObject.@StrictNonNull Slot1 slot, io.qt.core.Qt.@NonNull ConnectionType @NonNull... connectionType) throws QNoSuchSignalException{ return super.connect(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(io.qt.core.QMetaObject.@StrictNonNull Slot1 slot) { return super.disconnect(slot); } /** * Creates a connection from this signal to another. Whenever this signal is emitted, it will cause the second * signal to be emitted as well. * * @param signal The second signal. This will be emitted whenever this signal is emitted. * @param connectionType One of the connection types defined in the Qt interface. * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public final io.qt.core.QMetaObject.@NonNull Connection connect(io.qt.core.QMetaObject.@StrictNonNull Connectable1 signal, io.qt.core.Qt.@NonNull ConnectionType @NonNull... connectionType) throws QNoSuchSignalException{ return super.connect((io.qt.core.QMetaObject.AbstractSignal)signal, connectionType); } /** * Disconnects a signal from another signal if the two were previously connected by a call to connect. * A call to this function will assure that the emission of the first signal will not cause the emission of the second. * * @param signal The second signal. * @return true if the two signals were successfully disconnected, or false otherwise. */ public final boolean disconnect(io.qt.core.QMetaObject.@StrictNonNull Connectable1 signal) { return super.disconnect((io.qt.core.QMetaObject.AbstractSignal)signal); } /** * Creates a connection from this signal to another. Whenever this signal is emitted, it will cause the second * signal to be emitted as well. * * @param signal The second signal. This will be emitted whenever this signal is emitted. * @param connectionType One of the connection types defined in the Qt interface. * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public final io.qt.core.QMetaObject.@NonNull Connection connect(io.qt.core.QMetaObject.@StrictNonNull AbstractPublicSignal1 signal, io.qt.core.Qt.@NonNull ConnectionType @NonNull... connectionType) throws QNoSuchSignalException{ return super.connect((io.qt.core.QMetaObject.AbstractSignal)signal, connectionType); } /** * Disconnects a signal from another signal if the two were previously connected by a call to connect. * A call to this function will assure that the emission of the first signal will not cause the emission of the second. * * @param signal The second signal. * @return true if the two signals were successfully disconnected, or false otherwise. */ public final boolean disconnect(io.qt.core.QMetaObject.@StrictNonNull AbstractPublicSignal1 signal) { return super.disconnect((io.qt.core.QMetaObject.AbstractSignal)signal); } /** *

See QCompleter::activated(QModelIndex)

* */ public final void emit(io.qt.core.@NonNull QModelIndex index) { ((Signal1)overload(io.qt.core.QModelIndex.class)).emit(index); } /** *

See QCompleter::activated(QString)

* */ public final void emit(java.lang.@NonNull String text) { ((Signal1)overload(java.lang.String.class)).emit(text); } }; /** *

Overloaded signals:

*
    *
  • activated(QModelIndex)
  • *
  • activated(QString)
  • *
*/ public final @NonNull MultiSignal_activated activated = new MultiSignal_activated(); /** *

Wrapper class for overloaded signals:

*
    *
  • highlighted(const QModelIndex & index)
  • *
  • highlighted(const QString & text)
  • *
*/ public final class MultiSignal_highlighted extends MultiSignal{ private MultiSignal_highlighted(){ super(); } /** *

Provides an overloaded signal by parameter type.

*

The only valid calls are:

    *
  • highlighted.overload(io.qt.core.QModelIndex.class)
  • *
  • highlighted.overload(java.lang.String.class)
  • *
*

{@link QNoSuchSignalException} is thrown otherwise.

* @param signal parameter type * @param type1 value of type A * @return overloaded signal * @throws QNoSuchSignalException if signal is not available */ @QtAllowedTypeSet({io.qt.core.QModelIndex.class}) @QtAllowedTypeSet({java.lang.String.class}) public final Signal1 overload(Class type1) throws QNoSuchSignalException{ return (Signal1)super.overload(type1); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public final io.qt.core.QMetaObject.@NonNull Connection connect(io.qt.core.QMetaObject.@StrictNonNull Slot1 slot, io.qt.core.Qt.@NonNull ConnectionType @NonNull... connectionType) throws QNoSuchSignalException{ return super.connect(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(io.qt.core.QMetaObject.@StrictNonNull Slot1 slot) { return super.disconnect(slot); } /** * Creates a connection from this signal to another. Whenever this signal is emitted, it will cause the second * signal to be emitted as well. * * @param signal The second signal. This will be emitted whenever this signal is emitted. * @param connectionType One of the connection types defined in the Qt interface. * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public final io.qt.core.QMetaObject.@NonNull Connection connect(io.qt.core.QMetaObject.@StrictNonNull Connectable1 signal, io.qt.core.Qt.@NonNull ConnectionType @NonNull... connectionType) throws QNoSuchSignalException{ return super.connect((io.qt.core.QMetaObject.AbstractSignal)signal, connectionType); } /** * Disconnects a signal from another signal if the two were previously connected by a call to connect. * A call to this function will assure that the emission of the first signal will not cause the emission of the second. * * @param signal The second signal. * @return true if the two signals were successfully disconnected, or false otherwise. */ public final boolean disconnect(io.qt.core.QMetaObject.@StrictNonNull Connectable1 signal) { return super.disconnect((io.qt.core.QMetaObject.AbstractSignal)signal); } /** * Creates a connection from this signal to another. Whenever this signal is emitted, it will cause the second * signal to be emitted as well. * * @param signal The second signal. This will be emitted whenever this signal is emitted. * @param connectionType One of the connection types defined in the Qt interface. * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public final io.qt.core.QMetaObject.@NonNull Connection connect(io.qt.core.QMetaObject.@StrictNonNull AbstractPublicSignal1 signal, io.qt.core.Qt.@NonNull ConnectionType @NonNull... connectionType) throws QNoSuchSignalException{ return super.connect((io.qt.core.QMetaObject.AbstractSignal)signal, connectionType); } /** * Disconnects a signal from another signal if the two were previously connected by a call to connect. * A call to this function will assure that the emission of the first signal will not cause the emission of the second. * * @param signal The second signal. * @return true if the two signals were successfully disconnected, or false otherwise. */ public final boolean disconnect(io.qt.core.QMetaObject.@StrictNonNull AbstractPublicSignal1 signal) { return super.disconnect((io.qt.core.QMetaObject.AbstractSignal)signal); } /** *

See QCompleter::highlighted(QModelIndex)

* */ public final void emit(io.qt.core.@NonNull QModelIndex index) { ((Signal1)overload(io.qt.core.QModelIndex.class)).emit(index); } /** *

See QCompleter::highlighted(QString)

* */ public final void emit(java.lang.@NonNull String text) { ((Signal1)overload(java.lang.String.class)).emit(text); } }; /** *

Overloaded signals:

*
    *
  • highlighted(QModelIndex)
  • *
  • highlighted(QString)
  • *
*/ public final @NonNull MultiSignal_highlighted highlighted = new MultiSignal_highlighted(); /** *

See QCompleter::QCompleter(QAbstractItemModel*,QObject*)

*/ public QCompleter(io.qt.core.@Nullable QAbstractItemModel model, io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, model, parent); } private native static void initialize_native(QCompleter instance, io.qt.core.QAbstractItemModel model, io.qt.core.QObject parent); /** *

See QCompleter::QCompleter(QObject*)

*/ public QCompleter(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QCompleter instance, io.qt.core.QObject parent); /** *

See QCompleter::QCompleter(QStringList,QObject*)

*/ public QCompleter(java.util.@NonNull Collection completions, io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, completions, parent); } private native static void initialize_native(QCompleter instance, java.util.Collection completions, io.qt.core.QObject parent); /** *

See QCompleter::caseSensitivity()const

*/ @QtPropertyReader(name="caseSensitivity") @QtUninvokable public final io.qt.core.Qt.@NonNull CaseSensitivity caseSensitivity(){ return io.qt.core.Qt.CaseSensitivity.resolve(caseSensitivity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int caseSensitivity_native_constfct(long __this__nativeId); /** *

See QCompleter::complete(QRect)

*/ public final void complete(io.qt.core.@NonNull QRect rect){ complete_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } private native void complete_native_cref_QRect(long __this__nativeId, long rect); /** *

See QCompleter::completionColumn()const

*/ @QtPropertyReader(name="completionColumn") @QtUninvokable public final int completionColumn(){ return completionColumn_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int completionColumn_native_constfct(long __this__nativeId); /** *

See QCompleter::completionCount()const

*/ @QtUninvokable public final int completionCount(){ return completionCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int completionCount_native_constfct(long __this__nativeId); /** *

See QCompleter::completionMode()const

*/ @QtPropertyReader(name="completionMode") @QtUninvokable public final io.qt.widgets.QCompleter.@NonNull CompletionMode completionMode(){ return io.qt.widgets.QCompleter.CompletionMode.resolve(completionMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int completionMode_native_constfct(long __this__nativeId); /** *

See QCompleter::completionModel()const

*/ @QtUninvokable public final io.qt.core.@Nullable QAbstractItemModel completionModel(){ return completionModel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QAbstractItemModel completionModel_native_constfct(long __this__nativeId); /** *

See QCompleter::completionPrefix()const

*/ @QtPropertyReader(name="completionPrefix") @QtUninvokable public final java.lang.@NonNull String completionPrefix(){ return completionPrefix_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String completionPrefix_native_constfct(long __this__nativeId); /** *

See QCompleter::completionRole()const

*/ @QtPropertyReader(name="completionRole") @QtUninvokable public final int completionRole(){ return completionRole_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int completionRole_native_constfct(long __this__nativeId); /** *

See QCompleter::currentCompletion()const

*/ @QtUninvokable public final java.lang.@NonNull String currentCompletion(){ return currentCompletion_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String currentCompletion_native_constfct(long __this__nativeId); /** *

See QCompleter::currentIndex()const

*/ @QtUninvokable public final io.qt.core.@NonNull QModelIndex currentIndex(){ return currentIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QModelIndex currentIndex_native_constfct(long __this__nativeId); /** *

See QCompleter::currentRow()const

*/ @QtUninvokable public final int currentRow(){ return currentRow_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int currentRow_native_constfct(long __this__nativeId); /** *

See QCompleter::filterMode()const

*/ @QtPropertyReader(name="filterMode") @QtUninvokable public final io.qt.core.Qt.@NonNull MatchFlags filterMode(){ return new io.qt.core.Qt.MatchFlags(filterMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int filterMode_native_constfct(long __this__nativeId); /** *

See QCompleter::maxVisibleItems()const

*/ @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 QCompleter::model()const

*/ @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 QCompleter::modelSorting()const

*/ @QtPropertyReader(name="modelSorting") @QtUninvokable public final io.qt.widgets.QCompleter.@NonNull ModelSorting modelSorting(){ return io.qt.widgets.QCompleter.ModelSorting.resolve(modelSorting_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int modelSorting_native_constfct(long __this__nativeId); /** *

See QCompleter::popup()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QAbstractItemView popup(){ return popup_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QAbstractItemView popup_native_constfct(long __this__nativeId); /** *

See QCompleter::setCaseSensitivity(Qt::CaseSensitivity)

*/ @QtPropertyWriter(name="caseSensitivity") @QtUninvokable public final void setCaseSensitivity(io.qt.core.Qt.@NonNull CaseSensitivity caseSensitivity){ setCaseSensitivity_native_Qt_CaseSensitivity(QtJambi_LibraryUtilities.internal.nativeId(this), caseSensitivity.value()); } @QtUninvokable private native void setCaseSensitivity_native_Qt_CaseSensitivity(long __this__nativeId, int caseSensitivity); /** *

See QCompleter::setCompletionColumn(int)

*/ @QtPropertyWriter(name="completionColumn") @QtUninvokable public final void setCompletionColumn(int column){ setCompletionColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native void setCompletionColumn_native_int(long __this__nativeId, int column); /** *

See QCompleter::setCompletionMode(QCompleter::CompletionMode)

*/ @QtPropertyWriter(name="completionMode") @QtUninvokable public final void setCompletionMode(io.qt.widgets.QCompleter.@NonNull CompletionMode mode){ setCompletionMode_native_QCompleter_CompletionMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setCompletionMode_native_QCompleter_CompletionMode(long __this__nativeId, int mode); /** *

See QCompleter::setCompletionPrefix(QString)

*/ @QtPropertyWriter(name="completionPrefix") public final void setCompletionPrefix(java.lang.@NonNull String prefix){ setCompletionPrefix_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), prefix); } private native void setCompletionPrefix_native_cref_QString(long __this__nativeId, java.lang.String prefix); /** *

See QCompleter::setCompletionRole(int)

*/ @QtPropertyWriter(name="completionRole") @QtUninvokable public final void setCompletionRole(int role){ setCompletionRole_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), role); } @QtUninvokable private native void setCompletionRole_native_int(long __this__nativeId, int role); /** *

See QCompleter::setCurrentRow(int)

*/ @QtUninvokable public final boolean setCurrentRow(int row){ return setCurrentRow_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native boolean setCurrentRow_native_int(long __this__nativeId, int row); /** *

See QCompleter::setFilterMode(Qt::MatchFlags)

*/ @QtPropertyWriter(name="filterMode") @QtUninvokable public final void setFilterMode(io.qt.core.Qt.@NonNull MatchFlags filterMode){ setFilterMode_native_Qt_MatchFlags(QtJambi_LibraryUtilities.internal.nativeId(this), filterMode.value()); } @QtUninvokable private native void setFilterMode_native_Qt_MatchFlags(long __this__nativeId, int filterMode); /** *

See QCompleter::setMaxVisibleItems(int)

*/ @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 QCompleter::setModel(QAbstractItemModel*)

*/ @QtUninvokable public final void setModel(io.qt.core.@Nullable QAbstractItemModel c){ setModel_native_QAbstractItemModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c)); __rcModel = c; } @QtUninvokable private native void setModel_native_QAbstractItemModel_ptr(long __this__nativeId, long c); /** *

See QCompleter::setModelSorting(QCompleter::ModelSorting)

*/ @QtPropertyWriter(name="modelSorting") @QtUninvokable public final void setModelSorting(io.qt.widgets.QCompleter.@NonNull ModelSorting sorting){ setModelSorting_native_QCompleter_ModelSorting(QtJambi_LibraryUtilities.internal.nativeId(this), sorting.value()); } @QtUninvokable private native void setModelSorting_native_QCompleter_ModelSorting(long __this__nativeId, int sorting); /** *

See QCompleter::setPopup(QAbstractItemView*)

*/ @QtUninvokable public final void setPopup(io.qt.widgets.@StrictNonNull QAbstractItemView popup){ java.util.Objects.requireNonNull(popup, "Argument 'popup': null not expected."); setPopup_native_QAbstractItemView_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(popup)); QtJambi_LibraryUtilities.internal.setCppOwnership(popup); } @QtUninvokable private native void setPopup_native_QAbstractItemView_ptr(long __this__nativeId, long popup); /** *

See QCompleter::setWidget(QWidget*)

*/ @QtUninvokable public final void setWidget(io.qt.widgets.@Nullable QWidget widget){ setWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); __rcWidget = widget; } @QtUninvokable private native void setWidget_native_QWidget_ptr(long __this__nativeId, long widget); /** *

See QCompleter::setWrapAround(bool)

*/ @QtPropertyWriter(name="wrapAround") public final void setWrapAround(boolean wrap){ setWrapAround_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), wrap); } private native void setWrapAround_native_bool(long __this__nativeId, boolean wrap); /** *

See QCompleter::widget()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QWidget widget(){ return widget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QWidget widget_native_constfct(long __this__nativeId); /** *

See QCompleter::wrapAround()const

*/ @QtPropertyReader(name="wrapAround") @QtUninvokable public final boolean wrapAround(){ return wrapAround_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean wrapAround_native_constfct(long __this__nativeId); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent arg__1){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long arg__1); /** *

See QObject::eventFilter(QObject*,QEvent*)

*/ @QtUninvokable @Override public boolean eventFilter(io.qt.core.@Nullable QObject o, io.qt.core.@Nullable QEvent e){ return eventFilter_native_QObject_ptr_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(o), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native boolean eventFilter_native_QObject_ptr_QEvent_ptr(long __this__nativeId, long o, long e); /** *

See QCompleter::pathFromIndex(QModelIndex)const

*/ @QtUninvokable public java.lang.@NonNull String pathFromIndex(io.qt.core.@NonNull QModelIndex index){ return pathFromIndex_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native java.lang.String pathFromIndex_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QCompleter::splitPath(QString)const

*/ @QtUninvokable public java.util.@NonNull List splitPath(java.lang.@NonNull String path){ return splitPath_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), path); } @QtUninvokable private native java.util.List splitPath_native_cref_QString_constfct(long __this__nativeId, java.lang.String path); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QCompleter(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QCompleter(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QCompleter instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QCompleter(io.qt.core.QAbstractItemModel, io.qt.core.QObject)} * with parent = null.

*/ public QCompleter(io.qt.core.@Nullable QAbstractItemModel model) { this(model, (io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QCompleter(io.qt.core.QObject)} * with parent = null.

*/ public QCompleter() { this((io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QCompleter(java.util.Collection, io.qt.core.QObject)} * with parent = null.

*/ public QCompleter(java.util.@NonNull Collection completions) { this(completions, (io.qt.core.QObject)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #caseSensitivity()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull CaseSensitivity getCaseSensitivity() { return caseSensitivity(); } /** *

Overloaded function for {@link #complete(io.qt.core.QRect)} * with rect = new io.qt.core.QRect().

*/ public final void complete() { complete(new io.qt.core.QRect()); } /** * @hidden *

Kotlin property getter. In Java use {@link #completionColumn()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getCompletionColumn() { return completionColumn(); } /** * @hidden *

Kotlin property getter. In Java use {@link #completionMode()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QCompleter.@NonNull CompletionMode getCompletionMode() { return completionMode(); } /** * @hidden *

Kotlin property getter. In Java use {@link #completionPrefix()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getCompletionPrefix() { return completionPrefix(); } /** * @hidden *

Kotlin property getter. In Java use {@link #completionRole()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getCompletionRole() { return completionRole(); } /** * @hidden *

Kotlin property getter. In Java use {@link #filterMode()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull MatchFlags getFilterMode() { return filterMode(); } /** * @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 #modelSorting()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QCompleter.@NonNull ModelSorting getModelSorting() { return modelSorting(); } /** *

Overloaded function for {@link #setFilterMode(io.qt.core.Qt.MatchFlags)}.

*/ @QtUninvokable public final void setFilterMode(io.qt.core.Qt.@NonNull MatchFlag @NonNull... filterMode) { setFilterMode(new io.qt.core.Qt.MatchFlags(filterMode)); } /** * @hidden *

Kotlin property getter. In Java use {@link #wrapAround()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getWrapAround() { return wrapAround(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy