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

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

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


/**
 * 

Model/view implementation of a column view

*

Java wrapper for Qt class QColumnView

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

See QColumnView::updatePreviewWidget(QModelIndex)

*/ public final Signal1 updatePreviewWidget = new Signal1<>(); /** *

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

*/ public QColumnView() { this((io.qt.widgets.QWidget)null); } /** *

See QColumnView::QColumnView(QWidget*)

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

See QColumnView::columnWidths()const

*/ @io.qt.QtUninvokable public final io.qt.core.QList columnWidths(){ return columnWidths_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QList columnWidths_native_constfct(long __this__nativeId); /** *

See QColumnView::initializeColumn(QAbstractItemView*)const

*/ @io.qt.QtUninvokable protected final void initializeColumn(io.qt.widgets.QAbstractItemView column){ initializeColumn_native_QAbstractItemView_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(column)); } @io.qt.QtUninvokable private native void initializeColumn_native_QAbstractItemView_ptr_constfct(long __this__nativeId, long column); /** *

See QColumnView::previewWidget()const

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

See QColumnView::resizeGripsVisible()const

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

See QColumnView::setColumnWidths(QList<int>)

*/ @io.qt.QtUninvokable public final void setColumnWidths(java.util.Collection list){ setColumnWidths_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), list); } @io.qt.QtUninvokable private native void setColumnWidths_native_cref_QList(long __this__nativeId, java.util.Collection list); /** *

See QColumnView::setPreviewWidget(QWidget*)

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

See QColumnView::setResizeGripsVisible(bool)

*/ @io.qt.QtPropertyWriter(name="resizeGripsVisible") @io.qt.QtUninvokable public final void setResizeGripsVisible(boolean visible){ setResizeGripsVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), visible); } @io.qt.QtUninvokable private native void setResizeGripsVisible_native_bool(long __this__nativeId, boolean visible); /** *

See QColumnView::createColumn(QModelIndex)

*/ @io.qt.QtUninvokable protected io.qt.widgets.QAbstractItemView createColumn(io.qt.core.QModelIndex rootIndex){ return createColumn_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), rootIndex); } @io.qt.QtUninvokable private native io.qt.widgets.QAbstractItemView createColumn_native_cref_QModelIndex(long __this__nativeId, io.qt.core.QModelIndex rootIndex); /** *

See QAbstractItemView::currentChanged(QModelIndex,QModelIndex)

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

See QAbstractItemView::horizontalOffset()const

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

See QAbstractItemView::indexAt(QPoint)const

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

See QAbstractItemView::isIndexHidden(QModelIndex)const

*/ @io.qt.QtUninvokable protected boolean isIndexHidden(io.qt.core.QModelIndex index){ return isIndexHidden_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @io.qt.QtUninvokable private native boolean isIndexHidden_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index); /** *

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

*/ @io.qt.QtUninvokable protected io.qt.core.QModelIndex moveCursor(io.qt.widgets.QAbstractItemView.CursorAction cursorAction, io.qt.core.Qt.KeyboardModifiers modifiers){ return moveCursor_native_QAbstractItemView_CursorAction_QFlags_Qt_KeyboardModifier_(QtJambi_LibraryUtilities.internal.nativeId(this), cursorAction.value(), modifiers.value()); } @io.qt.QtUninvokable private native io.qt.core.QModelIndex moveCursor_native_QAbstractItemView_CursorAction_QFlags_Qt_KeyboardModifier_(long __this__nativeId, int cursorAction, int modifiers); /** *

See QWidget::resizeEvent(QResizeEvent*)

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

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

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

See QAbstractScrollArea::scrollContentsBy(int,int)

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

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

*/ @io.qt.QtUninvokable public void scrollTo(io.qt.core.QModelIndex index, io.qt.widgets.QAbstractItemView.ScrollHint hint){ scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(QtJambi_LibraryUtilities.internal.nativeId(this), index, hint.value()); } @io.qt.QtUninvokable private native void scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(long __this__nativeId, io.qt.core.QModelIndex index, int hint); /** *

See QAbstractItemView::selectAll()

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

See QAbstractItemView::setModel(QAbstractItemModel*)

*/ @io.qt.QtUninvokable public void setModel(io.qt.core.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); } @io.qt.QtUninvokable private native void setModel_native_QAbstractItemModel_ptr(long __this__nativeId, long model); /** *

See QAbstractItemView::setRootIndex(QModelIndex)

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

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

*/ @io.qt.QtUninvokable protected void setSelection(io.qt.core.QRect rect, io.qt.core.QItemSelectionModel.SelectionFlags command){ setSelection_native_cref_QRect_QFlags_QItemSelectionModel_SelectionFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), command.value()); } @io.qt.QtUninvokable private native void setSelection_native_cref_QRect_QFlags_QItemSelectionModel_SelectionFlag_(long __this__nativeId, long rect, int command); /** *

See QAbstractItemView::setSelectionModel(QItemSelectionModel*)

*/ @io.qt.QtUninvokable public void setSelectionModel(io.qt.core.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); } @io.qt.QtUninvokable private native void setSelectionModel_native_QItemSelectionModel_ptr(long __this__nativeId, long selectionModel); /** *

See QWidget::sizeHint()const

*/ @io.qt.QtUninvokable public io.qt.core.QSize sizeHint(){ return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::verticalOffset()const

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

See QAbstractItemView::visualRect(QModelIndex)const

*/ @io.qt.QtUninvokable public io.qt.core.QRect visualRect(io.qt.core.QModelIndex index){ return visualRect_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @io.qt.QtUninvokable private native io.qt.core.QRect visualRect_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index); /** *

See QAbstractItemView::visualRegionForSelection(QItemSelection)const

*/ @io.qt.QtUninvokable protected io.qt.gui.QRegion visualRegionForSelection(io.qt.core.QItemSelection selection){ return visualRegionForSelection_native_cref_QItemSelection_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selection)); } @io.qt.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. */ @io.qt.NativeAccess protected QColumnView(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. */ @io.qt.NativeAccess protected QColumnView(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QColumnView instance, QDeclarativeConstructor constructor); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy