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

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

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

import io.qt.*;


/**
 * 

Default model/view implementation of a tree view

*

Java wrapper for Qt class QTreeView

*/ public class QTreeView extends io.qt.widgets.QAbstractItemView { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTreeView.class); /** *

See QTreeView::collapsed(QModelIndex)

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

See QTreeView::expanded(QModelIndex)

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

See QTreeView::QTreeView(QWidget*)

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

See QTreeView::allColumnsShowFocus()const

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

See QTreeView::autoExpandDelay()const

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

See QTreeView::collapse(QModelIndex)

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

See QTreeView::collapseAll()

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

See QTreeView::columnAt(int)const

*/ @QtUninvokable public final int columnAt(int x){ return columnAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x); } @QtUninvokable private native int columnAt_native_int_constfct(long __this__nativeId, int x); /** *

See QTreeView::columnCountChanged(int,int)

*/ protected final void columnCountChanged(int oldCount, int newCount){ columnCountChanged_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), oldCount, newCount); } private native void columnCountChanged_native_int_int(long __this__nativeId, int oldCount, int newCount); /** *

See QTreeView::columnMoved()

*/ protected final void columnMoved(){ columnMoved_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void columnMoved_native(long __this__nativeId); /** *

See QTreeView::columnResized(int,int,int)

*/ protected final void columnResized(int column, int oldSize, int newSize){ columnResized_native_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), column, oldSize, newSize); } private native void columnResized_native_int_int_int(long __this__nativeId, int column, int oldSize, int newSize); /** *

See QTreeView::columnViewportPosition(int)const

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

See QTreeView::columnWidth(int)const

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

See QTreeView::drawTree(QPainter*,QRegion)const

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

See QTreeView::expand(QModelIndex)

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

See QTreeView::expandAll()

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

See QTreeView::expandRecursively(QModelIndex,int)

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

See QTreeView::expandToDepth(int)

*/ public final void expandToDepth(int depth){ expandToDepth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), depth); } private native void expandToDepth_native_int(long __this__nativeId, int depth); /** *

See QTreeView::expandsOnDoubleClick()const

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

See QTreeView::header()const

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

See QTreeView::hideColumn(int)

*/ public final void hideColumn(int column){ hideColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column); } private native void hideColumn_native_int(long __this__nativeId, int column); /** *

See QTreeView::indentation()const

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

See QTreeView::indexAbove(QModelIndex)const

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

See QTreeView::indexBelow(QModelIndex)const

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

See QTreeView::indexRowSizeHint(QModelIndex)const

*/ @QtUninvokable protected final int indexRowSizeHint(io.qt.core.@NonNull QModelIndex index){ return indexRowSizeHint_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native int indexRowSizeHint_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QTreeView::isAnimated()const

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

See QTreeView::isColumnHidden(int)const

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

See QTreeView::isExpanded(QModelIndex)const

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

See QTreeView::isFirstColumnSpanned(int,QModelIndex)const

*/ @QtUninvokable public final boolean isFirstColumnSpanned(int row, io.qt.core.@NonNull QModelIndex parent){ return isFirstColumnSpanned_native_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native boolean isFirstColumnSpanned_native_int_cref_QModelIndex_constfct(long __this__nativeId, int row, long parent); /** *

See QTreeView::isHeaderHidden()const

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

See QTreeView::isRowHidden(int,QModelIndex)const

*/ @QtUninvokable public final boolean isRowHidden(int row, io.qt.core.@NonNull QModelIndex parent){ return isRowHidden_native_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native boolean isRowHidden_native_int_cref_QModelIndex_constfct(long __this__nativeId, int row, long parent); /** *

See QTreeView::isSortingEnabled()const

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

See QTreeView::itemsExpandable()const

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

See QTreeView::reexpand()

*/ protected final void reexpand(){ reexpand_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void reexpand_native(long __this__nativeId); /** *

See QTreeView::resetIndentation()

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

See QTreeView::resizeColumnToContents(int)

*/ public final void resizeColumnToContents(int column){ resizeColumnToContents_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column); } private native void resizeColumnToContents_native_int(long __this__nativeId, int column); /** *

See QTreeView::rootIsDecorated()const

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

See QTreeView::rowHeight(QModelIndex)const

*/ @QtUninvokable protected final int rowHeight(io.qt.core.@NonNull QModelIndex index){ return rowHeight_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native int rowHeight_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QTreeView::rowsRemoved(QModelIndex,int,int)

*/ protected final void rowsRemoved(io.qt.core.@NonNull QModelIndex parent, int first, int last){ rowsRemoved_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent), first, last); } private native void rowsRemoved_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int first, int last); /** *

See QTreeView::setAllColumnsShowFocus(bool)

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

See QTreeView::setAnimated(bool)

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

See QTreeView::setAutoExpandDelay(int)

*/ @QtPropertyWriter(name="autoExpandDelay") @QtUninvokable public final void setAutoExpandDelay(int delay){ setAutoExpandDelay_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), delay); } @QtUninvokable private native void setAutoExpandDelay_native_int(long __this__nativeId, int delay); /** *

See QTreeView::setColumnHidden(int,bool)

*/ @QtUninvokable public final void setColumnHidden(int column, boolean hide){ setColumnHidden_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), column, hide); } @QtUninvokable private native void setColumnHidden_native_int_bool(long __this__nativeId, int column, boolean hide); /** *

See QTreeView::setColumnWidth(int,int)

*/ @QtUninvokable public final void setColumnWidth(int column, int width){ setColumnWidth_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), column, width); } @QtUninvokable private native void setColumnWidth_native_int_int(long __this__nativeId, int column, int width); /** *

See QTreeView::setExpanded(QModelIndex,bool)

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

See QTreeView::setExpandsOnDoubleClick(bool)

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

See QTreeView::setFirstColumnSpanned(int,QModelIndex,bool)

*/ @QtUninvokable public final void setFirstColumnSpanned(int row, io.qt.core.@NonNull QModelIndex parent, boolean span){ setFirstColumnSpanned_native_int_cref_QModelIndex_bool(QtJambi_LibraryUtilities.internal.nativeId(this), row, QtJambi_LibraryUtilities.internal.checkedNativeId(parent), span); } @QtUninvokable private native void setFirstColumnSpanned_native_int_cref_QModelIndex_bool(long __this__nativeId, int row, long parent, boolean span); /** *

See QTreeView::setHeader(QHeaderView*)

*/ @QtUninvokable public final void setHeader(io.qt.widgets.@Nullable QHeaderView header){ setHeader_native_QHeaderView_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(header)); } @QtUninvokable private native void setHeader_native_QHeaderView_ptr(long __this__nativeId, long header); /** *

See QTreeView::setHeaderHidden(bool)

*/ @QtPropertyWriter(name="headerHidden") @QtUninvokable public final void setHeaderHidden(boolean hide){ setHeaderHidden_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), hide); } @QtUninvokable private native void setHeaderHidden_native_bool(long __this__nativeId, boolean hide); /** *

See QTreeView::setIndentation(int)

*/ @QtPropertyWriter(name="indentation") @QtUninvokable public final void setIndentation(int i){ setIndentation_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), i); } @QtUninvokable private native void setIndentation_native_int(long __this__nativeId, int i); /** *

See QTreeView::setItemsExpandable(bool)

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

See QTreeView::setRootIsDecorated(bool)

*/ @QtPropertyWriter(name="rootIsDecorated") @QtUninvokable public final void setRootIsDecorated(boolean show){ setRootIsDecorated_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), show); } @QtUninvokable private native void setRootIsDecorated_native_bool(long __this__nativeId, boolean show); /** *

See QTreeView::setRowHidden(int,QModelIndex,bool)

*/ @QtUninvokable public final void setRowHidden(int row, io.qt.core.@NonNull QModelIndex parent, boolean hide){ setRowHidden_native_int_cref_QModelIndex_bool(QtJambi_LibraryUtilities.internal.nativeId(this), row, QtJambi_LibraryUtilities.internal.checkedNativeId(parent), hide); } @QtUninvokable private native void setRowHidden_native_int_cref_QModelIndex_bool(long __this__nativeId, int row, long parent, boolean hide); /** *

See QTreeView::setSortingEnabled(bool)

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

See QTreeView::setTreePosition(int)

*/ @QtUninvokable public final void setTreePosition(int logicalIndex){ setTreePosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @QtUninvokable private native void setTreePosition_native_int(long __this__nativeId, int logicalIndex); /** *

See QTreeView::setUniformRowHeights(bool)

*/ @QtPropertyWriter(name="uniformRowHeights") @QtUninvokable public final void setUniformRowHeights(boolean uniform){ setUniformRowHeights_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), uniform); } @QtUninvokable private native void setUniformRowHeights_native_bool(long __this__nativeId, boolean uniform); /** *

See QTreeView::setWordWrap(bool)

*/ @QtPropertyWriter(name="wordWrap") @QtUninvokable public final void setWordWrap(boolean on){ setWordWrap_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), on); } @QtUninvokable private native void setWordWrap_native_bool(long __this__nativeId, boolean on); /** *

See QTreeView::showColumn(int)

*/ public final void showColumn(int column){ showColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column); } private native void showColumn_native_int(long __this__nativeId, int column); /** *

See QTreeView::sortByColumn(int,Qt::SortOrder)

*/ public final void sortByColumn(int column, io.qt.core.Qt.@NonNull SortOrder order){ sortByColumn_native_int_Qt_SortOrder(QtJambi_LibraryUtilities.internal.nativeId(this), column, order.value()); } private native void sortByColumn_native_int_Qt_SortOrder(long __this__nativeId, int column, int order); /** *

See QTreeView::treePosition()const

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

See QTreeView::uniformRowHeights()const

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

See QTreeView::wordWrap()const

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

See QWidget::changeEvent(QEvent*)

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

See QAbstractItemView::currentChanged(QModelIndex,QModelIndex)

*/ @QtUninvokable @Override 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)); } @QtUninvokable private native void currentChanged_native_cref_QModelIndex_cref_QModelIndex(long __this__nativeId, long current, long previous); /** *

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

*/ @QtUninvokable @Override 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); } @QtUninvokable 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()

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

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 QTreeView::drawBranches(QPainter*,QRect,QModelIndex)const

*/ @QtUninvokable protected void drawBranches(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect, io.qt.core.@NonNull QModelIndex index){ drawBranches_native_QPainter_ptr_cref_QRect_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native void drawBranches_native_QPainter_ptr_cref_QRect_cref_QModelIndex_constfct(long __this__nativeId, long painter, long rect, long index); /** *

See QTreeView::drawRow(QPainter*,QStyleOptionViewItem,QModelIndex)const

*/ @QtUninvokable protected void drawRow(io.qt.gui.@Nullable QPainter painter, io.qt.widgets.@NonNull QStyleOptionViewItem options, io.qt.core.@NonNull QModelIndex index){ drawRow_native_QPainter_ptr_cref_QStyleOptionViewItem_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(options), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native void drawRow_native_QPainter_ptr_cref_QStyleOptionViewItem_cref_QModelIndex_constfct(long __this__nativeId, long painter, long options, long index); /** *

See QAbstractItemView::horizontalOffset()const

*/ @QtUninvokable @Override protected int horizontalOffset(){ return horizontalOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int horizontalOffset_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::horizontalScrollbarAction(int)

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

See QAbstractItemView::indexAt(QPoint)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QModelIndex indexAt(io.qt.core.@NonNull QPoint p){ return indexAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native io.qt.core.QModelIndex indexAt_native_cref_QPoint_constfct(long __this__nativeId, long p); /** *

See QAbstractItemView::isIndexHidden(QModelIndex)const

*/ @QtUninvokable @Override 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); /** *

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 @Override 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 @Override 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); /** *

See QWidget::paintEvent(QPaintEvent*)

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

See QAbstractItemView::reset()

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

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

*/ @QtUninvokable @Override 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); } @QtUninvokable private native void rowsAboutToBeRemoved_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int start, int end); /** *

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

*/ @QtUninvokable @Override 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); } @QtUninvokable private native void rowsInserted_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int start, int end); /** *

See QAbstractScrollArea::scrollContentsBy(int,int)

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

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

*/ @QtUninvokable @Override 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); /** *

See QAbstractItemView::selectAll()

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

See QAbstractItemView::selectedIndexes()const

*/ @QtUninvokable @Override 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)

*/ @QtUninvokable @Override 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)); } @QtUninvokable private native void selectionChanged_native_cref_QItemSelection_cref_QItemSelection(long __this__nativeId, long selected, long deselected); /** *

See QAbstractItemView::setModel(QAbstractItemModel*)

*/ @QtUninvokable @Override public void setModel(io.qt.core.@Nullable QAbstractItemModel model){ setModel_native_QAbstractItemModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(model)); QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.widgets.QAbstractItemView.class, "__rcItemModel", false, false, 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)

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

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

*/ @QtUninvokable @Override 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); /** *

See QAbstractItemView::setSelectionModel(QItemSelectionModel*)

*/ @QtUninvokable @Override 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)); QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.widgets.QAbstractItemView.class, "__rcItemSelectionModel", false, false, selectionModel); } @QtUninvokable private native void setSelectionModel_native_QItemSelectionModel_ptr(long __this__nativeId, long selectionModel); /** *

See QAbstractItemView::sizeHintForColumn(int)const

*/ @QtUninvokable @Override 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 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::updateGeometries()

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

See QAbstractItemView::verticalOffset()const

*/ @QtUninvokable @Override protected int verticalOffset(){ return verticalOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int verticalOffset_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::verticalScrollbarValueChanged(int)

*/ @Override 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 @Override 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); /** *

See QAbstractItemView::visualRegionForSelection(QItemSelection)const

*/ @QtUninvokable @Override 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); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTreeView(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QTreeView(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QTreeView instance, QDeclarativeConstructor constructor); /** *

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

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

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getAutoExpandDelay() { return autoExpandDelay(); } /** *

Overloaded function for {@link #drawTree(io.qt.gui.QPainter, io.qt.gui.QRegion)}.

*/ @QtUninvokable protected final void drawTree(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect region) { drawTree(painter, new io.qt.gui.QRegion(region)); } /** *

Overloaded function for {@link #drawTree(io.qt.gui.QPainter, io.qt.gui.QRegion)}.

*/ @QtUninvokable protected final void drawTree(io.qt.gui.@Nullable QPainter painter, io.qt.gui.@NonNull QPolygon region) { drawTree(painter, new io.qt.gui.QRegion(region)); } /** *

Overloaded function for {@link #drawTree(io.qt.gui.QPainter, io.qt.gui.QRegion)}.

*/ @QtUninvokable protected final void drawTree(io.qt.gui.@Nullable QPainter painter, io.qt.gui.@NonNull QBitmap region) { drawTree(painter, new io.qt.gui.QRegion(region)); } /** *

Overloaded function for {@link #expandRecursively(io.qt.core.QModelIndex, int)} * with depth = -1.

*/ public final void expandRecursively(io.qt.core.@NonNull QModelIndex index) { expandRecursively(index, (int)-1); } /** * @hidden *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy