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

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

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

import io.qt.*;


/**
 * 

The basic functionality for item view classes

*

Java wrapper for Qt class QAbstractItemView

*/ public abstract class QAbstractItemView extends io.qt.widgets.QAbstractScrollArea { @QtPropertyMember(enabled=false) private java.util.Map __rcDelegatesForColumns; @QtPropertyMember(enabled=false) private java.util.Map __rcDelegatesForRows; @QtPropertyMember(enabled=false) private Object __rcItemDelegate = null; @QtPropertyMember(enabled=false) private Object __rcItemModel = null; @QtPropertyMember(enabled=false) private Object __rcItemSelectionModel = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAbstractItemView.class); @NativeAccess private static final class ConcreteWrapper extends QAbstractItemView { @NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @QtUninvokable protected int horizontalOffset(){ return horizontalOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int horizontalOffset_native_constfct(long __this__nativeId); @Override @QtUninvokable public io.qt.core.@NonNull QModelIndex indexAt(io.qt.core.@NonNull QPoint point){ return indexAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point)); } @QtUninvokable private native io.qt.core.QModelIndex indexAt_native_cref_QPoint_constfct(long __this__nativeId, long point); @Override @QtUninvokable protected boolean isIndexHidden(io.qt.core.@NonNull QModelIndex index){ return isIndexHidden_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native boolean isIndexHidden_native_cref_QModelIndex_constfct(long __this__nativeId, long index); @Override @QtUninvokable protected io.qt.core.@NonNull QModelIndex moveCursor(io.qt.widgets.QAbstractItemView.@NonNull CursorAction cursorAction, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers){ return moveCursor_native_QAbstractItemView_CursorAction_Qt_KeyboardModifiers(QtJambi_LibraryUtilities.internal.nativeId(this), cursorAction.value(), modifiers.value()); } @QtUninvokable private native io.qt.core.QModelIndex moveCursor_native_QAbstractItemView_CursorAction_Qt_KeyboardModifiers(long __this__nativeId, int cursorAction, int modifiers); @Override @QtUninvokable public void scrollTo(io.qt.core.@NonNull QModelIndex index, io.qt.widgets.QAbstractItemView.@NonNull ScrollHint hint){ scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), hint.value()); } @QtUninvokable private native void scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(long __this__nativeId, long index, int hint); @Override @QtUninvokable protected void setSelection(io.qt.core.@NonNull QRect rect, io.qt.core.QItemSelectionModel.@NonNull SelectionFlags command){ setSelection_native_cref_QRect_QItemSelectionModel_SelectionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), command.value()); } @QtUninvokable private native void setSelection_native_cref_QRect_QItemSelectionModel_SelectionFlags(long __this__nativeId, long rect, int command); @Override @QtUninvokable protected int verticalOffset(){ return verticalOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int verticalOffset_native_constfct(long __this__nativeId); @Override @QtUninvokable public io.qt.core.@NonNull QRect visualRect(io.qt.core.@NonNull QModelIndex index){ return visualRect_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native io.qt.core.QRect visualRect_native_cref_QModelIndex_constfct(long __this__nativeId, long index); @Override @QtUninvokable protected io.qt.gui.@NonNull QRegion visualRegionForSelection(io.qt.core.@NonNull QItemSelection selection){ return visualRegionForSelection_native_cref_QItemSelection_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selection)); } @QtUninvokable private native io.qt.gui.QRegion visualRegionForSelection_native_cref_QItemSelection_constfct(long __this__nativeId, long selection); } /** *

Java wrapper for Qt enum QAbstractItemView::CursorAction

*/ @QtUnlistedEnum protected enum CursorAction implements QtEnumerator { /** *

Representing QAbstractItemView::MoveUp

*/ MoveUp(0), /** *

Representing QAbstractItemView::MoveDown

*/ MoveDown(1), /** *

Representing QAbstractItemView::MoveLeft

*/ MoveLeft(2), /** *

Representing QAbstractItemView::MoveRight

*/ MoveRight(3), /** *

Representing QAbstractItemView::MoveHome

*/ MoveHome(4), /** *

Representing QAbstractItemView::MoveEnd

*/ MoveEnd(5), /** *

Representing QAbstractItemView::MovePageUp

*/ MovePageUp(6), /** *

Representing QAbstractItemView::MovePageDown

*/ MovePageDown(7), /** *

Representing QAbstractItemView::MoveNext

*/ MoveNext(8), /** *

Representing QAbstractItemView::MovePrevious

*/ MovePrevious(9); static { QtJambi_LibraryUtilities.initialize(); } private CursorAction(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 CursorAction resolve(int value) { switch (value) { case 0: return MoveUp; case 1: return MoveDown; case 2: return MoveLeft; case 3: return MoveRight; case 4: return MoveHome; case 5: return MoveEnd; case 6: return MovePageUp; case 7: return MovePageDown; case 8: return MoveNext; case 9: return MovePrevious; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QAbstractItemView::DragDropMode

*/ public enum DragDropMode implements QtEnumerator { /** *

Representing QAbstractItemView::NoDragDrop

*/ NoDragDrop(0), /** *

Representing QAbstractItemView::DragOnly

*/ DragOnly(1), /** *

Representing QAbstractItemView::DropOnly

*/ DropOnly(2), /** *

Representing QAbstractItemView::DragDrop

*/ DragDrop(3), /** *

Representing QAbstractItemView::InternalMove

*/ InternalMove(4); static { QtJambi_LibraryUtilities.initialize(); } private DragDropMode(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 DragDropMode resolve(int value) { switch (value) { case 0: return NoDragDrop; case 1: return DragOnly; case 2: return DropOnly; case 3: return DragDrop; case 4: return InternalMove; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QAbstractItemView::DropIndicatorPosition

*/ @QtUnlistedEnum protected enum DropIndicatorPosition implements QtEnumerator { /** *

Representing QAbstractItemView::OnItem

*/ OnItem(0), /** *

Representing QAbstractItemView::AboveItem

*/ AboveItem(1), /** *

Representing QAbstractItemView::BelowItem

*/ BelowItem(2), /** *

Representing QAbstractItemView::OnViewport

*/ OnViewport(3); static { QtJambi_LibraryUtilities.initialize(); } private DropIndicatorPosition(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 DropIndicatorPosition resolve(int value) { switch (value) { case 0: return OnItem; case 1: return AboveItem; case 2: return BelowItem; case 3: return OnViewport; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QAbstractItemView::EditTrigger

* * @see EditTriggers */ public enum EditTrigger implements QtFlagEnumerator { /** *

Representing QAbstractItemView::NoEditTriggers

*/ NoEditTriggers(0), /** *

Representing QAbstractItemView::CurrentChanged

*/ CurrentChanged(1), /** *

Representing QAbstractItemView::DoubleClicked

*/ DoubleClicked(2), /** *

Representing QAbstractItemView::SelectedClicked

*/ SelectedClicked(4), /** *

Representing QAbstractItemView::EditKeyPressed

*/ EditKeyPressed(8), /** *

Representing QAbstractItemView::AnyKeyPressed

*/ AnyKeyPressed(16), /** *

Representing QAbstractItemView::AllEditTriggers

*/ AllEditTriggers(31); static { QtJambi_LibraryUtilities.initialize(); } private EditTrigger(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull EditTriggers asFlags() { return new EditTriggers(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull EditTriggers combined(@NonNull EditTrigger e) { return asFlags().setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public @NonNull EditTriggers cleared(@NonNull EditTrigger e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link EditTriggers} from the entries. * @param values entries * @return new flag */ public static @NonNull EditTriggers flags(@Nullable EditTrigger @NonNull... values) { return new EditTriggers(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull EditTrigger resolve(int value) { switch (value) { case 0: return NoEditTriggers; case 1: return CurrentChanged; case 2: return DoubleClicked; case 4: return SelectedClicked; case 8: return EditKeyPressed; case 16: return AnyKeyPressed; case 31: return AllEditTriggers; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link EditTrigger} */ public static final class EditTriggers extends QFlags implements Comparable { private static final long serialVersionUID = 0xe99149884c801c53L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new EditTriggers where the flags in args are set. * @param args enum entries */ public EditTriggers(@Nullable EditTrigger @NonNull... args){ super(args); } /** * Creates a new EditTriggers with given value. * @param value */ public EditTriggers(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new EditTriggers */ @Override public final @NonNull EditTriggers combined(@StrictNonNull EditTrigger e){ return new EditTriggers(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull EditTriggers setFlag(@Nullable EditTrigger e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final @NonNull EditTriggers setFlag(@Nullable EditTrigger e, boolean on){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } return this; } /** * Returns an array of flag objects represented by this EditTriggers. * @return array of enum entries */ @Override public final @NonNull EditTrigger @NonNull[] flags(){ return super.flags(EditTrigger.values()); } /** * {@inheritDoc} */ @Override public final @NonNull EditTriggers clone(){ return new EditTriggers(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull EditTriggers other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QAbstractItemView::ScrollHint

*/ public enum ScrollHint implements QtEnumerator { /** *

Representing QAbstractItemView::EnsureVisible

*/ EnsureVisible(0), /** *

Representing QAbstractItemView::PositionAtTop

*/ PositionAtTop(1), /** *

Representing QAbstractItemView::PositionAtBottom

*/ PositionAtBottom(2), /** *

Representing QAbstractItemView::PositionAtCenter

*/ PositionAtCenter(3); static { QtJambi_LibraryUtilities.initialize(); } private ScrollHint(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 ScrollHint resolve(int value) { switch (value) { case 0: return EnsureVisible; case 1: return PositionAtTop; case 2: return PositionAtBottom; case 3: return PositionAtCenter; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QAbstractItemView::ScrollMode

*/ public enum ScrollMode implements QtEnumerator { /** *

Representing QAbstractItemView::ScrollPerItem

*/ ScrollPerItem(0), /** *

Representing QAbstractItemView::ScrollPerPixel

*/ ScrollPerPixel(1); static { QtJambi_LibraryUtilities.initialize(); } private ScrollMode(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 ScrollMode resolve(int value) { switch (value) { case 0: return ScrollPerItem; case 1: return ScrollPerPixel; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QAbstractItemView::SelectionBehavior

*/ public enum SelectionBehavior implements QtEnumerator { /** *

Representing QAbstractItemView::SelectItems

*/ SelectItems(0), /** *

Representing QAbstractItemView::SelectRows

*/ SelectRows(1), /** *

Representing QAbstractItemView::SelectColumns

*/ SelectColumns(2); static { QtJambi_LibraryUtilities.initialize(); } private SelectionBehavior(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 SelectionBehavior resolve(int value) { switch (value) { case 0: return SelectItems; case 1: return SelectRows; case 2: return SelectColumns; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QAbstractItemView::SelectionMode

*/ public enum SelectionMode implements QtEnumerator { /** *

Representing QAbstractItemView::NoSelection

*/ NoSelection(0), /** *

Representing QAbstractItemView::SingleSelection

*/ SingleSelection(1), /** *

Representing QAbstractItemView::MultiSelection

*/ MultiSelection(2), /** *

Representing QAbstractItemView::ExtendedSelection

*/ ExtendedSelection(3), /** *

Representing QAbstractItemView::ContiguousSelection

*/ ContiguousSelection(4); static { QtJambi_LibraryUtilities.initialize(); } private SelectionMode(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 SelectionMode resolve(int value) { switch (value) { case 0: return NoSelection; case 1: return SingleSelection; case 2: return MultiSelection; case 3: return ExtendedSelection; case 4: return ContiguousSelection; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QAbstractItemView::State

*/ @QtUnlistedEnum protected enum State implements QtEnumerator { /** *

Representing QAbstractItemView::NoState

*/ NoState(0), /** *

Representing QAbstractItemView::DraggingState

*/ DraggingState(1), /** *

Representing QAbstractItemView::DragSelectingState

*/ DragSelectingState(2), /** *

Representing QAbstractItemView::EditingState

*/ EditingState(3), /** *

Representing QAbstractItemView::ExpandingState

*/ ExpandingState(4), /** *

Representing QAbstractItemView::CollapsingState

*/ CollapsingState(5), /** *

Representing QAbstractItemView::AnimatingState

*/ AnimatingState(6); static { QtJambi_LibraryUtilities.initialize(); } private State(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 State resolve(int value) { switch (value) { case 0: return NoState; case 1: return DraggingState; case 2: return DragSelectingState; case 3: return EditingState; case 4: return ExpandingState; case 5: return CollapsingState; case 6: return AnimatingState; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QAbstractItemView::activated(QModelIndex)

*/ public final @NonNull Signal1 activated = new Signal1<>(); /** *

See QAbstractItemView::clicked(QModelIndex)

*/ public final @NonNull Signal1 clicked = new Signal1<>(); /** *

See QAbstractItemView::doubleClicked(QModelIndex)

*/ public final @NonNull Signal1 doubleClicked = new Signal1<>(); /** *

See QAbstractItemView::entered(QModelIndex)

*/ public final @NonNull Signal1 entered = new Signal1<>(); /** *

See QAbstractItemView::iconSizeChanged(QSize)

*/ @QtPropertyNotify(name="iconSize") public final @NonNull Signal1 iconSizeChanged = new Signal1<>(); /** *

See QAbstractItemView::pressed(QModelIndex)

*/ public final @NonNull Signal1 pressed = new Signal1<>(); /** *

See QAbstractItemView::viewportEntered()

*/ public final @NonNull Signal0 viewportEntered = new Signal0(); /** *

See QAbstractItemView::QAbstractItemView(QWidget*)

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

See QAbstractItemView::alternatingRowColors()const

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

See QAbstractItemView::autoScrollMargin()const

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

See QAbstractItemView::clearSelection()

*/ public final void clearSelection(){ clearSelection_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void clearSelection_native(long __this__nativeId); /** *

See QAbstractItemView::closePersistentEditor(QModelIndex)

*/ @QtUninvokable public final void closePersistentEditor(io.qt.core.@NonNull QModelIndex index){ closePersistentEditor_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native void closePersistentEditor_native_cref_QModelIndex(long __this__nativeId, long index); /** *

See QAbstractItemView::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 QAbstractItemView::defaultDropAction()const

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

See QAbstractItemView::dirtyRegionOffset()const

*/ @QtUninvokable protected final io.qt.core.@NonNull QPoint dirtyRegionOffset(){ return dirtyRegionOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPoint dirtyRegionOffset_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::doAutoScroll()

*/ @QtUninvokable protected final void doAutoScroll(){ doAutoScroll_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void doAutoScroll_native(long __this__nativeId); /** *

See QAbstractItemView::dragDropMode()const

*/ @QtPropertyReader(name="dragDropMode") @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull DragDropMode dragDropMode(){ return io.qt.widgets.QAbstractItemView.DragDropMode.resolve(dragDropMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int dragDropMode_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::dragDropOverwriteMode()const

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

See QAbstractItemView::dragEnabled()const

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

See QAbstractItemView::dropIndicatorPosition()const

*/ @QtUninvokable protected final io.qt.widgets.QAbstractItemView.@NonNull DropIndicatorPosition dropIndicatorPosition(){ return io.qt.widgets.QAbstractItemView.DropIndicatorPosition.resolve(dropIndicatorPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int dropIndicatorPosition_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::edit(QModelIndex)

*/ public final void edit(io.qt.core.@NonNull QModelIndex index){ edit_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } private native void edit_native_cref_QModelIndex(long __this__nativeId, long index); /** *

See QAbstractItemView::editTriggers()const

*/ @QtPropertyReader(name="editTriggers") @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull EditTriggers editTriggers(){ return new io.qt.widgets.QAbstractItemView.EditTriggers(editTriggers_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int editTriggers_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::executeDelayedItemsLayout()

*/ @QtUninvokable protected final void executeDelayedItemsLayout(){ executeDelayedItemsLayout_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void executeDelayedItemsLayout_native(long __this__nativeId); /** *

See QAbstractItemView::hasAutoScroll()const

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

See QAbstractItemView::horizontalScrollMode()const

*/ @QtPropertyReader(name="horizontalScrollMode") @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull ScrollMode horizontalScrollMode(){ return io.qt.widgets.QAbstractItemView.ScrollMode.resolve(horizontalScrollMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int horizontalScrollMode_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::iconSize()const

*/ @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 QAbstractItemView::indexWidget(QModelIndex)const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QWidget indexWidget(io.qt.core.@NonNull QModelIndex index){ return indexWidget_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native io.qt.widgets.QWidget indexWidget_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemView::isPersistentEditorOpen(QModelIndex)const

*/ @QtUninvokable public final boolean isPersistentEditorOpen(io.qt.core.@NonNull QModelIndex index){ return isPersistentEditorOpen_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native boolean isPersistentEditorOpen_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemView::itemDelegate()const

*/ @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 QAbstractItemView::itemDelegate(QModelIndex)const

* * @deprecated Use {@link io.qt.widgets.QAbstractItemView#itemDelegateForIndex(io.qt.core.QModelIndex)} instead */ @Deprecated @QtUninvokable public final io.qt.widgets.@Nullable QAbstractItemDelegate itemDelegate(io.qt.core.@NonNull QModelIndex index){ return itemDelegate_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @Deprecated @QtUninvokable private native io.qt.widgets.QAbstractItemDelegate itemDelegate_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemView::itemDelegateForColumn(int)const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QAbstractItemDelegate itemDelegateForColumn(int column){ return itemDelegateForColumn_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native io.qt.widgets.QAbstractItemDelegate itemDelegateForColumn_native_int_constfct(long __this__nativeId, int column); /** *

See QAbstractItemView::itemDelegateForRow(int)const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QAbstractItemDelegate itemDelegateForRow(int row){ return itemDelegateForRow_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native io.qt.widgets.QAbstractItemDelegate itemDelegateForRow_native_int_constfct(long __this__nativeId, int row); /** *

See QAbstractItemView::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 QAbstractItemView::openPersistentEditor(QModelIndex)

*/ @QtUninvokable public final void openPersistentEditor(io.qt.core.@NonNull QModelIndex index){ openPersistentEditor_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native void openPersistentEditor_native_cref_QModelIndex(long __this__nativeId, long index); /** *

See QAbstractItemView::resetHorizontalScrollMode()

*/ @QtPropertyResetter(name="horizontalScrollMode") @QtUninvokable public final void resetHorizontalScrollMode(){ resetHorizontalScrollMode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void resetHorizontalScrollMode_native(long __this__nativeId); /** *

See QAbstractItemView::resetVerticalScrollMode()

*/ @QtPropertyResetter(name="verticalScrollMode") @QtUninvokable public final void resetVerticalScrollMode(){ resetVerticalScrollMode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void resetVerticalScrollMode_native(long __this__nativeId); /** *

See QAbstractItemView::rootIndex()const

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

See QAbstractItemView::scheduleDelayedItemsLayout()

*/ @QtUninvokable protected final void scheduleDelayedItemsLayout(){ scheduleDelayedItemsLayout_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void scheduleDelayedItemsLayout_native(long __this__nativeId); /** *

See QAbstractItemView::scrollDirtyRegion(int,int)

*/ @QtUninvokable protected final void scrollDirtyRegion(int dx, int dy){ scrollDirtyRegion_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } @QtUninvokable private native void scrollDirtyRegion_native_int_int(long __this__nativeId, int dx, int dy); /** *

See QAbstractItemView::scrollToBottom()

*/ public final void scrollToBottom(){ scrollToBottom_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void scrollToBottom_native(long __this__nativeId); /** *

See QAbstractItemView::scrollToTop()

*/ public final void scrollToTop(){ scrollToTop_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void scrollToTop_native(long __this__nativeId); /** *

See QAbstractItemView::selectionBehavior()const

*/ @QtPropertyReader(name="selectionBehavior") @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull SelectionBehavior selectionBehavior(){ return io.qt.widgets.QAbstractItemView.SelectionBehavior.resolve(selectionBehavior_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int selectionBehavior_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::selectionMode()const

*/ @QtPropertyReader(name="selectionMode") @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull SelectionMode selectionMode(){ return io.qt.widgets.QAbstractItemView.SelectionMode.resolve(selectionMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int selectionMode_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::selectionModel()const

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

See QAbstractItemView::setAlternatingRowColors(bool)

*/ @QtPropertyWriter(name="alternatingRowColors") @QtUninvokable public final void setAlternatingRowColors(boolean enable){ setAlternatingRowColors_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setAlternatingRowColors_native_bool(long __this__nativeId, boolean enable); /** *

See QAbstractItemView::setAutoScroll(bool)

*/ @QtPropertyWriter(name="autoScroll") @QtUninvokable public final void setAutoScroll(boolean enable){ setAutoScroll_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setAutoScroll_native_bool(long __this__nativeId, boolean enable); /** *

See QAbstractItemView::setAutoScrollMargin(int)

*/ @QtPropertyWriter(name="autoScrollMargin") @QtUninvokable public final void setAutoScrollMargin(int margin){ setAutoScrollMargin_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), margin); } @QtUninvokable private native void setAutoScrollMargin_native_int(long __this__nativeId, int margin); /** *

See QAbstractItemView::setCurrentIndex(QModelIndex)

*/ public final void setCurrentIndex(io.qt.core.@NonNull QModelIndex index){ setCurrentIndex_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } private native void setCurrentIndex_native_cref_QModelIndex(long __this__nativeId, long index); /** *

See QAbstractItemView::setDefaultDropAction(Qt::DropAction)

*/ @QtPropertyWriter(name="defaultDropAction") @QtUninvokable public final void setDefaultDropAction(io.qt.core.Qt.@NonNull DropAction dropAction){ setDefaultDropAction_native_Qt_DropAction(QtJambi_LibraryUtilities.internal.nativeId(this), dropAction.value()); } @QtUninvokable private native void setDefaultDropAction_native_Qt_DropAction(long __this__nativeId, int dropAction); /** *

See QAbstractItemView::setDirtyRegion(QRegion)

*/ @QtUninvokable protected final void setDirtyRegion(io.qt.gui.@NonNull QRegion region){ setDirtyRegion_native_cref_QRegion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(region)); } @QtUninvokable private native void setDirtyRegion_native_cref_QRegion(long __this__nativeId, long region); /** *

See QAbstractItemView::setDragDropMode(QAbstractItemView::DragDropMode)

*/ @QtPropertyWriter(name="dragDropMode") @QtUninvokable public final void setDragDropMode(io.qt.widgets.QAbstractItemView.@NonNull DragDropMode behavior){ setDragDropMode_native_QAbstractItemView_DragDropMode(QtJambi_LibraryUtilities.internal.nativeId(this), behavior.value()); } @QtUninvokable private native void setDragDropMode_native_QAbstractItemView_DragDropMode(long __this__nativeId, int behavior); /** *

See QAbstractItemView::setDragDropOverwriteMode(bool)

*/ @QtPropertyWriter(name="dragDropOverwriteMode") @QtUninvokable public final void setDragDropOverwriteMode(boolean overwrite){ setDragDropOverwriteMode_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), overwrite); } @QtUninvokable private native void setDragDropOverwriteMode_native_bool(long __this__nativeId, boolean overwrite); /** *

See QAbstractItemView::setDragEnabled(bool)

*/ @QtPropertyWriter(name="dragEnabled") @QtUninvokable public final void setDragEnabled(boolean enable){ setDragEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setDragEnabled_native_bool(long __this__nativeId, boolean enable); /** *

See QAbstractItemView::setDropIndicatorShown(bool)

*/ @QtPropertyWriter(name="showDropIndicator") @QtUninvokable public final void setDropIndicatorShown(boolean enable){ setDropIndicatorShown_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setDropIndicatorShown_native_bool(long __this__nativeId, boolean enable); /** *

See QAbstractItemView::setEditTriggers(QAbstractItemView::EditTriggers)

*/ @QtPropertyWriter(name="editTriggers") @QtUninvokable public final void setEditTriggers(io.qt.widgets.QAbstractItemView.@NonNull EditTriggers triggers){ setEditTriggers_native_QAbstractItemView_EditTriggers(QtJambi_LibraryUtilities.internal.nativeId(this), triggers.value()); } @QtUninvokable private native void setEditTriggers_native_QAbstractItemView_EditTriggers(long __this__nativeId, int triggers); /** *

See QAbstractItemView::setHorizontalScrollMode(QAbstractItemView::ScrollMode)

*/ @QtPropertyWriter(name="horizontalScrollMode") @QtUninvokable public final void setHorizontalScrollMode(io.qt.widgets.QAbstractItemView.@NonNull ScrollMode mode){ setHorizontalScrollMode_native_QAbstractItemView_ScrollMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setHorizontalScrollMode_native_QAbstractItemView_ScrollMode(long __this__nativeId, int mode); /** *

See QAbstractItemView::setIconSize(QSize)

*/ @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 QAbstractItemView::setIndexWidget(QModelIndex,QWidget*)

*/ @QtUninvokable public final void setIndexWidget(io.qt.core.@NonNull QModelIndex index, io.qt.widgets.@Nullable QWidget widget){ setIndexWidget_native_cref_QModelIndex_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @QtUninvokable private native void setIndexWidget_native_cref_QModelIndex_QWidget_ptr(long __this__nativeId, long index, long widget); /** *

See QAbstractItemView::setItemDelegate(QAbstractItemDelegate*)

*/ @QtUninvokable public final void setItemDelegate(io.qt.widgets.@Nullable QAbstractItemDelegate delegate){ setItemDelegate_native_QAbstractItemDelegate_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(delegate)); __rcItemDelegate = delegate; } @QtUninvokable private native void setItemDelegate_native_QAbstractItemDelegate_ptr(long __this__nativeId, long delegate); /** *

See QAbstractItemView::setItemDelegateForColumn(int,QAbstractItemDelegate*)

*/ @QtUninvokable public final void setItemDelegateForColumn(int column, io.qt.widgets.@Nullable QAbstractItemDelegate delegate){ setItemDelegateForColumn_native_int_QAbstractItemDelegate_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), column, QtJambi_LibraryUtilities.internal.checkedNativeId(delegate)); if (delegate != null) { if(__rcDelegatesForColumns==null) __rcDelegatesForColumns = QtJambi_LibraryUtilities.internal.newRCMap(); __rcDelegatesForColumns.put(column, delegate); } else{ if(__rcDelegatesForColumns!=null) __rcDelegatesForColumns.remove(column); } } @QtUninvokable private native void setItemDelegateForColumn_native_int_QAbstractItemDelegate_ptr(long __this__nativeId, int column, long delegate); /** *

See QAbstractItemView::setItemDelegateForRow(int,QAbstractItemDelegate*)

*/ @QtUninvokable public final void setItemDelegateForRow(int row, io.qt.widgets.@Nullable QAbstractItemDelegate delegate){ setItemDelegateForRow_native_int_QAbstractItemDelegate_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), row, QtJambi_LibraryUtilities.internal.checkedNativeId(delegate)); if (delegate != null) { if(__rcDelegatesForRows==null) __rcDelegatesForRows = QtJambi_LibraryUtilities.internal.newRCMap(); __rcDelegatesForRows.put(row, delegate); } else{ if(__rcDelegatesForRows!=null) __rcDelegatesForRows.remove(row); } } @QtUninvokable private native void setItemDelegateForRow_native_int_QAbstractItemDelegate_ptr(long __this__nativeId, int row, long delegate); /** *

See QAbstractItemView::setSelectionBehavior(QAbstractItemView::SelectionBehavior)

*/ @QtPropertyWriter(name="selectionBehavior") @QtUninvokable public final void setSelectionBehavior(io.qt.widgets.QAbstractItemView.@NonNull SelectionBehavior behavior){ setSelectionBehavior_native_QAbstractItemView_SelectionBehavior(QtJambi_LibraryUtilities.internal.nativeId(this), behavior.value()); } @QtUninvokable private native void setSelectionBehavior_native_QAbstractItemView_SelectionBehavior(long __this__nativeId, int behavior); /** *

See QAbstractItemView::setSelectionMode(QAbstractItemView::SelectionMode)

*/ @QtPropertyWriter(name="selectionMode") @QtUninvokable public final void setSelectionMode(io.qt.widgets.QAbstractItemView.@NonNull SelectionMode mode){ setSelectionMode_native_QAbstractItemView_SelectionMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setSelectionMode_native_QAbstractItemView_SelectionMode(long __this__nativeId, int mode); /** *

See QAbstractItemView::setState(QAbstractItemView::State)

*/ @QtUninvokable protected final void setState(io.qt.widgets.QAbstractItemView.@NonNull State state){ setState_native_QAbstractItemView_State(QtJambi_LibraryUtilities.internal.nativeId(this), state.value()); } @QtUninvokable private native void setState_native_QAbstractItemView_State(long __this__nativeId, int state); /** *

See QAbstractItemView::setTabKeyNavigation(bool)

*/ @QtPropertyWriter(name="tabKeyNavigation") @QtUninvokable public final void setTabKeyNavigation(boolean enable){ setTabKeyNavigation_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setTabKeyNavigation_native_bool(long __this__nativeId, boolean enable); /** *

See QAbstractItemView::setTextElideMode(Qt::TextElideMode)

*/ @QtPropertyWriter(name="textElideMode") @QtUninvokable public final void setTextElideMode(io.qt.core.Qt.@NonNull TextElideMode mode){ setTextElideMode_native_Qt_TextElideMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setTextElideMode_native_Qt_TextElideMode(long __this__nativeId, int mode); /** *

See QAbstractItemView::setVerticalScrollMode(QAbstractItemView::ScrollMode)

*/ @QtPropertyWriter(name="verticalScrollMode") @QtUninvokable public final void setVerticalScrollMode(io.qt.widgets.QAbstractItemView.@NonNull ScrollMode mode){ setVerticalScrollMode_native_QAbstractItemView_ScrollMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setVerticalScrollMode_native_QAbstractItemView_ScrollMode(long __this__nativeId, int mode); /** *

See QAbstractItemView::showDropIndicator()const

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

See QAbstractItemView::sizeHintForIndex(QModelIndex)const

*/ @QtUninvokable public final io.qt.core.@NonNull QSize sizeHintForIndex(io.qt.core.@NonNull QModelIndex index){ return sizeHintForIndex_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native io.qt.core.QSize sizeHintForIndex_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemView::startAutoScroll()

*/ @QtUninvokable protected final void startAutoScroll(){ startAutoScroll_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void startAutoScroll_native(long __this__nativeId); /** *

See QAbstractItemView::state()const

*/ @QtUninvokable protected final io.qt.widgets.QAbstractItemView.@NonNull State state(){ return io.qt.widgets.QAbstractItemView.State.resolve(state_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int state_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::stopAutoScroll()

*/ @QtUninvokable protected final void stopAutoScroll(){ stopAutoScroll_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void stopAutoScroll_native(long __this__nativeId); /** *

See QAbstractItemView::tabKeyNavigation()const

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

See QAbstractItemView::textElideMode()const

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

See QAbstractItemView::update(QModelIndex)

*/ public final void update(io.qt.core.@NonNull QModelIndex index){ update_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } private native void update_native_cref_QModelIndex(long __this__nativeId, long index); /** *

See QAbstractItemView::verticalScrollMode()const

*/ @QtPropertyReader(name="verticalScrollMode") @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull ScrollMode verticalScrollMode(){ return io.qt.widgets.QAbstractItemView.ScrollMode.resolve(verticalScrollMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int verticalScrollMode_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint)

*/ protected void closeEditor(io.qt.widgets.@Nullable QWidget editor, io.qt.widgets.QAbstractItemDelegate.@NonNull EndEditHint hint){ closeEditor_native_QWidget_ptr_QAbstractItemDelegate_EndEditHint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(editor), hint.value()); } private native void closeEditor_native_QWidget_ptr_QAbstractItemDelegate_EndEditHint(long __this__nativeId, long editor, int hint); /** *

See QAbstractItemView::commitData(QWidget*)

*/ protected void commitData(io.qt.widgets.@Nullable QWidget editor){ commitData_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(editor)); } private native void commitData_native_QWidget_ptr(long __this__nativeId, long editor); /** *

See QAbstractItemView::currentChanged(QModelIndex,QModelIndex)

*/ protected void currentChanged(io.qt.core.@NonNull QModelIndex current, io.qt.core.@NonNull QModelIndex previous){ currentChanged_native_cref_QModelIndex_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(current), QtJambi_LibraryUtilities.internal.checkedNativeId(previous)); } private native void currentChanged_native_cref_QModelIndex_cref_QModelIndex(long __this__nativeId, long current, long previous); /** *

See QAbstractItemView::dataChanged(QModelIndex,QModelIndex,QList<int>)

*/ protected void dataChanged(io.qt.core.@NonNull QModelIndex topLeft, io.qt.core.@NonNull QModelIndex bottomRight, java.util.@NonNull Collection roles){ dataChanged_native_cref_QModelIndex_cref_QModelIndex_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(topLeft), QtJambi_LibraryUtilities.internal.checkedNativeId(bottomRight), roles); } private native void dataChanged_native_cref_QModelIndex_cref_QModelIndex_cref_QList(long __this__nativeId, long topLeft, long bottomRight, java.util.Collection roles); /** *

See QAbstractItemView::doItemsLayout()

*/ public void doItemsLayout(){ doItemsLayout_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void doItemsLayout_native(long __this__nativeId); /** *

See QWidget::dragEnterEvent(QDragEnterEvent*)

*/ @QtUninvokable @Override protected void dragEnterEvent(io.qt.gui.@Nullable QDragEnterEvent event){ dragEnterEvent_native_QDragEnterEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void dragEnterEvent_native_QDragEnterEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::dragLeaveEvent(QDragLeaveEvent*)

*/ @QtUninvokable @Override protected void dragLeaveEvent(io.qt.gui.@Nullable QDragLeaveEvent event){ dragLeaveEvent_native_QDragLeaveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void dragLeaveEvent_native_QDragLeaveEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::dragMoveEvent(QDragMoveEvent*)

*/ @QtUninvokable @Override protected void dragMoveEvent(io.qt.gui.@Nullable QDragMoveEvent event){ dragMoveEvent_native_QDragMoveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void dragMoveEvent_native_QDragMoveEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::dropEvent(QDropEvent*)

*/ @QtUninvokable @Override protected void dropEvent(io.qt.gui.@Nullable QDropEvent event){ dropEvent_native_QDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void dropEvent_native_QDropEvent_ptr(long __this__nativeId, long event); /** *

See QAbstractItemView::edit(QModelIndex,QAbstractItemView::EditTrigger,QEvent*)

*/ @QtUninvokable protected boolean edit(io.qt.core.@NonNull QModelIndex index, io.qt.widgets.QAbstractItemView.@NonNull EditTrigger trigger, io.qt.core.@Nullable QEvent event){ return edit_native_cref_QModelIndex_QAbstractItemView_EditTrigger_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), trigger.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native boolean edit_native_cref_QModelIndex_QAbstractItemView_EditTrigger_QEvent_ptr(long __this__nativeId, long index, int trigger, long event); /** *

See QAbstractItemView::editorDestroyed(QObject*)

*/ protected void editorDestroyed(io.qt.core.@Nullable QObject editor){ editorDestroyed_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(editor)); } private native void editorDestroyed_native_QObject_ptr(long __this__nativeId, long editor); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent event){ 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 QObject::eventFilter(QObject*,QEvent*)

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

See QWidget::focusInEvent(QFocusEvent*)

*/ @QtUninvokable @Override protected void focusInEvent(io.qt.gui.@Nullable QFocusEvent event){ focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::focusNextPrevChild(bool)

*/ @QtUninvokable @Override protected boolean focusNextPrevChild(boolean next){ return focusNextPrevChild_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), next); } @QtUninvokable private native boolean focusNextPrevChild_native_bool(long __this__nativeId, boolean next); /** *

See QWidget::focusOutEvent(QFocusEvent*)

*/ @QtUninvokable @Override protected void focusOutEvent(io.qt.gui.@Nullable QFocusEvent event){ focusOutEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void focusOutEvent_native_QFocusEvent_ptr(long __this__nativeId, long event); /** *

See QAbstractItemView::horizontalOffset()const

*/ @QtUninvokable protected abstract int horizontalOffset(); @QtUninvokable private native int horizontalOffset_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::horizontalScrollbarAction(int)

*/ protected void horizontalScrollbarAction(int action){ horizontalScrollbarAction_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), action); } private native void horizontalScrollbarAction_native_int(long __this__nativeId, int action); /** *

See QAbstractItemView::horizontalScrollbarValueChanged(int)

*/ protected void horizontalScrollbarValueChanged(int value){ horizontalScrollbarValueChanged_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), value); } private native void horizontalScrollbarValueChanged_native_int(long __this__nativeId, int value); /** *

See QAbstractItemView::indexAt(QPoint)const

*/ @QtUninvokable public abstract io.qt.core.@NonNull QModelIndex indexAt(io.qt.core.@NonNull QPoint point); @QtUninvokable private native io.qt.core.QModelIndex indexAt_native_cref_QPoint_constfct(long __this__nativeId, long point); /** *

See QAbstractItemView::initViewItemOption(QStyleOptionViewItem*)const

*/ @QtUninvokable protected void initViewItemOption(io.qt.widgets.@Nullable QStyleOptionViewItem option){ initViewItemOption_native_QStyleOptionViewItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option)); } @QtUninvokable private native void initViewItemOption_native_QStyleOptionViewItem_ptr_constfct(long __this__nativeId, long option); /** *

See QWidget::inputMethodEvent(QInputMethodEvent*)

*/ @QtUninvokable @Override protected void inputMethodEvent(io.qt.gui.@Nullable QInputMethodEvent event){ inputMethodEvent_native_QInputMethodEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void inputMethodEvent_native_QInputMethodEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::inputMethodQuery(Qt::InputMethodQuery)const

*/ @QtUninvokable public java.lang.Object inputMethodQuery(io.qt.core.Qt.@NonNull InputMethodQuery query){ return inputMethodQuery_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), query.value()); } @QtUninvokable private native java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int query); /** *

See QAbstractItemView::isIndexHidden(QModelIndex)const

*/ @QtUninvokable protected abstract boolean isIndexHidden(io.qt.core.@NonNull QModelIndex index); @QtUninvokable private native boolean isIndexHidden_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemView::itemDelegateForIndex(QModelIndex)const

*/ @QtUninvokable public io.qt.widgets.@Nullable QAbstractItemDelegate itemDelegateForIndex(io.qt.core.@NonNull QModelIndex index){ return itemDelegateForIndex_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native io.qt.widgets.QAbstractItemDelegate itemDelegateForIndex_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QWidget::keyPressEvent(QKeyEvent*)

*/ @QtUninvokable @Override protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent event){ keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long event); /** *

See QAbstractItemView::keyboardSearch(QString)

*/ @QtUninvokable public void keyboardSearch(java.lang.@NonNull String search){ keyboardSearch_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), search); } @QtUninvokable private native void keyboardSearch_native_cref_QString(long __this__nativeId, java.lang.String search); /** *

See QWidget::mouseDoubleClickEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mouseDoubleClickEvent(io.qt.gui.@Nullable QMouseEvent event){ mouseDoubleClickEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void mouseDoubleClickEvent_native_QMouseEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::mouseMoveEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mouseMoveEvent(io.qt.gui.@Nullable QMouseEvent event){ mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::mousePressEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent event){ mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::mouseReleaseEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mouseReleaseEvent(io.qt.gui.@Nullable QMouseEvent event){ mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long event); /** *

See QAbstractItemView::moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers)

*/ @QtUninvokable protected abstract io.qt.core.@NonNull QModelIndex moveCursor(io.qt.widgets.QAbstractItemView.@NonNull CursorAction cursorAction, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers); @QtUninvokable private native io.qt.core.QModelIndex moveCursor_native_QAbstractItemView_CursorAction_Qt_KeyboardModifiers(long __this__nativeId, int cursorAction, int modifiers); /** *

See QAbstractItemView::reset()

*/ public void reset(){ reset_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void reset_native(long __this__nativeId); /** *

See QWidget::resizeEvent(QResizeEvent*)

*/ @QtUninvokable @Override protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent event){ resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long event); /** *

See QAbstractItemView::rowsAboutToBeRemoved(QModelIndex,int,int)

*/ protected void rowsAboutToBeRemoved(io.qt.core.@NonNull QModelIndex parent, int start, int end){ rowsAboutToBeRemoved_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent), start, end); } private native void rowsAboutToBeRemoved_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int start, int end); /** *

See QAbstractItemView::rowsInserted(QModelIndex,int,int)

*/ protected void rowsInserted(io.qt.core.@NonNull QModelIndex parent, int start, int end){ rowsInserted_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent), start, end); } private native void rowsInserted_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int start, int end); /** *

See QAbstractItemView::scrollTo(QModelIndex,QAbstractItemView::ScrollHint)

*/ @QtUninvokable public abstract void scrollTo(io.qt.core.@NonNull QModelIndex index, io.qt.widgets.QAbstractItemView.@NonNull ScrollHint hint); @QtUninvokable private native void scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(long __this__nativeId, long index, int hint); /** *

See QAbstractItemView::selectAll()

*/ public void selectAll(){ selectAll_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void selectAll_native(long __this__nativeId); /** *

See QAbstractItemView::selectedIndexes()const

*/ @QtUninvokable protected java.util.@NonNull List selectedIndexes(){ return selectedIndexes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.util.List selectedIndexes_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::selectionChanged(QItemSelection,QItemSelection)

*/ protected void selectionChanged(io.qt.core.@NonNull QItemSelection selected, io.qt.core.@NonNull QItemSelection deselected){ selectionChanged_native_cref_QItemSelection_cref_QItemSelection(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selected), QtJambi_LibraryUtilities.internal.checkedNativeId(deselected)); } private native void selectionChanged_native_cref_QItemSelection_cref_QItemSelection(long __this__nativeId, long selected, long deselected); /** *

See QAbstractItemView::selectionCommand(QModelIndex,const QEvent*)const

*/ @QtUninvokable protected io.qt.core.QItemSelectionModel.@NonNull SelectionFlags selectionCommand(io.qt.core.@NonNull QModelIndex index, io.qt.core.@Nullable QEvent event){ return new io.qt.core.QItemSelectionModel.SelectionFlags(selectionCommand_native_cref_QModelIndex_const_QEvent_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), QtJambi_LibraryUtilities.internal.checkedNativeId(event))); } @QtUninvokable private native int selectionCommand_native_cref_QModelIndex_const_QEvent_ptr_constfct(long __this__nativeId, long index, long event); /** *

See QAbstractItemView::setModel(QAbstractItemModel*)

*/ @QtUninvokable public void setModel(io.qt.core.@Nullable QAbstractItemModel model){ setModel_native_QAbstractItemModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(model)); __rcItemModel = model; // setModel() creates a new selection model for the object QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.widgets.QAbstractItemView.class, "__rcItemSelectionModel", false, false, null); } @QtUninvokable private native void setModel_native_QAbstractItemModel_ptr(long __this__nativeId, long model); /** *

See QAbstractItemView::setRootIndex(QModelIndex)

*/ public void setRootIndex(io.qt.core.@NonNull QModelIndex index){ setRootIndex_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } private native void setRootIndex_native_cref_QModelIndex(long __this__nativeId, long index); /** *

See QAbstractItemView::setSelection(QRect,QItemSelectionModel::SelectionFlags)

*/ @QtUninvokable protected abstract void setSelection(io.qt.core.@NonNull QRect rect, io.qt.core.QItemSelectionModel.@NonNull SelectionFlags command); @QtUninvokable private native void setSelection_native_cref_QRect_QItemSelectionModel_SelectionFlags(long __this__nativeId, long rect, int command); /** *

See QAbstractItemView::setSelectionModel(QItemSelectionModel*)

*/ @QtUninvokable public void setSelectionModel(io.qt.core.@StrictNonNull QItemSelectionModel selectionModel){ java.util.Objects.requireNonNull(selectionModel, "Argument 'selectionModel': null not expected."); setSelectionModel_native_QItemSelectionModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selectionModel)); __rcItemSelectionModel = selectionModel; } @QtUninvokable private native void setSelectionModel_native_QItemSelectionModel_ptr(long __this__nativeId, long selectionModel); /** *

See QAbstractItemView::sizeHintForColumn(int)const

*/ @QtUninvokable public int sizeHintForColumn(int column){ return sizeHintForColumn_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native int sizeHintForColumn_native_int_constfct(long __this__nativeId, int column); /** *

See QAbstractItemView::sizeHintForRow(int)const

*/ @QtUninvokable public int sizeHintForRow(int row){ return sizeHintForRow_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native int sizeHintForRow_native_int_constfct(long __this__nativeId, int row); /** *

See QAbstractItemView::startDrag(Qt::DropActions)

*/ @QtUninvokable protected void startDrag(io.qt.core.Qt.@NonNull DropActions supportedActions){ startDrag_native_Qt_DropActions(QtJambi_LibraryUtilities.internal.nativeId(this), supportedActions.value()); } @QtUninvokable private native void startDrag_native_Qt_DropActions(long __this__nativeId, int supportedActions); /** *

See QObject::timerEvent(QTimerEvent*)

*/ @QtUninvokable @Override protected void timerEvent(io.qt.core.@Nullable QTimerEvent event){ timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long event); /** *

See QAbstractItemView::updateEditorData()

*/ protected void updateEditorData(){ updateEditorData_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void updateEditorData_native(long __this__nativeId); /** *

See QAbstractItemView::updateEditorGeometries()

*/ protected void updateEditorGeometries(){ updateEditorGeometries_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void updateEditorGeometries_native(long __this__nativeId); /** *

See QAbstractItemView::updateGeometries()

*/ protected void updateGeometries(){ updateGeometries_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void updateGeometries_native(long __this__nativeId); /** *

See QAbstractItemView::verticalOffset()const

*/ @QtUninvokable protected abstract int verticalOffset(); @QtUninvokable private native int verticalOffset_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::verticalScrollbarAction(int)

*/ protected void verticalScrollbarAction(int action){ verticalScrollbarAction_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), action); } private native void verticalScrollbarAction_native_int(long __this__nativeId, int action); /** *

See QAbstractItemView::verticalScrollbarValueChanged(int)

*/ protected void verticalScrollbarValueChanged(int value){ verticalScrollbarValueChanged_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), value); } private native void verticalScrollbarValueChanged_native_int(long __this__nativeId, int value); /** *

See QAbstractScrollArea::viewportEvent(QEvent*)

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

See QAbstractScrollArea::viewportSizeHint()const

*/ @QtUninvokable @Override protected io.qt.core.@NonNull QSize viewportSizeHint(){ return viewportSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize viewportSizeHint_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::visualRect(QModelIndex)const

*/ @QtUninvokable public abstract io.qt.core.@NonNull QRect visualRect(io.qt.core.@NonNull QModelIndex index); @QtUninvokable private native io.qt.core.QRect visualRect_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemView::visualRegionForSelection(QItemSelection)const

*/ @QtUninvokable protected abstract io.qt.gui.@NonNull QRegion visualRegionForSelection(io.qt.core.@NonNull QItemSelection selection); @QtUninvokable private native io.qt.gui.QRegion visualRegionForSelection_native_cref_QItemSelection_constfct(long __this__nativeId, long selection); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QAbstractItemView(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QAbstractItemView(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QAbstractItemView instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QAbstractItemView(io.qt.widgets.QWidget)} * with parent = null.

*/ public QAbstractItemView() { this((io.qt.widgets.QWidget)null); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getAlternatingRowColors() { return alternatingRowColors(); } /** * @hidden *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull DropAction getDefaultDropAction() { return defaultDropAction(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull DragDropMode getDragDropMode() { return dragDropMode(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getDragDropOverwriteMode() { return dragDropOverwriteMode(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getDragEnabled() { return dragEnabled(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull EditTriggers getEditTriggers() { return editTriggers(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getAutoScroll() { return hasAutoScroll(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull ScrollMode getHorizontalScrollMode() { return horizontalScrollMode(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QSize getIconSize() { return iconSize(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull SelectionBehavior getSelectionBehavior() { return selectionBehavior(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull SelectionMode getSelectionMode() { return selectionMode(); } /** *

Overloaded function for {@link #setDirtyRegion(io.qt.gui.QRegion)}.

*/ @QtUninvokable protected final void setDirtyRegion(io.qt.core.@NonNull QRect region) { setDirtyRegion(new io.qt.gui.QRegion(region)); } /** *

Overloaded function for {@link #setDirtyRegion(io.qt.gui.QRegion)}.

*/ @QtUninvokable protected final void setDirtyRegion(io.qt.gui.@NonNull QPolygon region) { setDirtyRegion(new io.qt.gui.QRegion(region)); } /** *

Overloaded function for {@link #setDirtyRegion(io.qt.gui.QRegion)}.

*/ @QtUninvokable protected final void setDirtyRegion(io.qt.gui.@NonNull QBitmap region) { setDirtyRegion(new io.qt.gui.QRegion(region)); } /** *

Overloaded function for {@link #setEditTriggers(io.qt.widgets.QAbstractItemView.EditTriggers)}.

*/ @QtUninvokable public final void setEditTriggers(io.qt.widgets.QAbstractItemView.@NonNull EditTrigger @NonNull... triggers) { setEditTriggers(new io.qt.widgets.QAbstractItemView.EditTriggers(triggers)); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getShowDropIndicator() { return showDropIndicator(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getTabKeyNavigation() { return tabKeyNavigation(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull TextElideMode getTextElideMode() { return textElideMode(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QAbstractItemView.@NonNull ScrollMode getVerticalScrollMode() { return verticalScrollMode(); } /** *

Overloaded function for {@link #dataChanged(io.qt.core.QModelIndex, io.qt.core.QModelIndex, java.util.Collection)} * with roles = java.util.Collections.emptyList().

*/ protected final void dataChanged(io.qt.core.@NonNull QModelIndex topLeft, io.qt.core.@NonNull QModelIndex bottomRight) { dataChanged(topLeft, bottomRight, java.util.Collections.emptyList()); } /** *

Overloaded function for {@link #moveCursor(io.qt.widgets.QAbstractItemView.CursorAction, io.qt.core.Qt.KeyboardModifiers)}.

*/ @QtUninvokable protected final io.qt.core.@NonNull QModelIndex moveCursor(io.qt.widgets.QAbstractItemView.@NonNull CursorAction cursorAction, io.qt.core.Qt.@NonNull KeyboardModifier @NonNull... modifiers) { return moveCursor(cursorAction, new io.qt.core.Qt.KeyboardModifiers(modifiers)); } /** *

Overloaded function for {@link #scrollTo(io.qt.core.QModelIndex, io.qt.widgets.QAbstractItemView.ScrollHint)} * with hint = io.qt.widgets.QAbstractItemView.ScrollHint.EnsureVisible.

*/ @QtUninvokable public final void scrollTo(io.qt.core.@NonNull QModelIndex index) { scrollTo(index, io.qt.widgets.QAbstractItemView.ScrollHint.EnsureVisible); } /** *

Overloaded function for {@link #selectionCommand(io.qt.core.QModelIndex, io.qt.core.QEvent)} * with event = null.

*/ @QtUninvokable protected final io.qt.core.QItemSelectionModel.@NonNull SelectionFlags selectionCommand(io.qt.core.@NonNull QModelIndex index) { return selectionCommand(index, (io.qt.core.QEvent)null); } /** *

Overloaded function for {@link #setSelection(io.qt.core.QRect, io.qt.core.QItemSelectionModel.SelectionFlags)}.

*/ @QtUninvokable protected final void setSelection(io.qt.core.@NonNull QRect rect, io.qt.core.QItemSelectionModel.@NonNull SelectionFlag @NonNull... command) { setSelection(rect, new io.qt.core.QItemSelectionModel.SelectionFlags(command)); } /** *

Overloaded function for {@link #startDrag(io.qt.core.Qt.DropActions)}.

*/ @QtUninvokable protected final void startDrag(io.qt.core.Qt.@NonNull DropAction @NonNull... supportedActions) { startDrag(new io.qt.core.Qt.DropActions(supportedActions)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy