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

io.qt.core.QTransposeProxyModel Maven / Gradle / Ivy

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

import io.qt.*;


/**
 * 

This proxy transposes the source model

*

Java wrapper for Qt class QTransposeProxyModel

*/ public class QTransposeProxyModel extends io.qt.core.QAbstractProxyModel { @QtPropertyMember(enabled=false) private Object __rcSourceModel = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTransposeProxyModel.class); /** *

See QTransposeProxyModel::QTransposeProxyModel(QObject*)

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

See QAbstractItemModel::columnCount(QModelIndex)const

*/ @QtUninvokable @Override public int columnCount(io.qt.core.@NonNull QModelIndex parent){ return columnCount_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native int columnCount_native_cref_QModelIndex_constfct(long __this__nativeId, long parent); /** *

See QAbstractItemModel::headerData(int,Qt::Orientation,int)const

*/ @QtUninvokable @Override public java.lang.Object headerData(int section, io.qt.core.Qt.@NonNull Orientation orientation, int role){ return headerData_native_int_Qt_Orientation_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), section, orientation.value(), role); } @QtUninvokable private native java.lang.Object headerData_native_int_Qt_Orientation_int_constfct(long __this__nativeId, int section, int orientation, int role); /** *

See QAbstractItemModel::index(int,int,QModelIndex)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QModelIndex index(int row, int column, io.qt.core.@NonNull QModelIndex parent){ return index_native_int_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native io.qt.core.QModelIndex index_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, long parent); /** *

See QAbstractItemModel::insertColumns(int,int,QModelIndex)

*/ @QtUninvokable @Override public boolean insertColumns(int column, int count, io.qt.core.@NonNull QModelIndex parent){ return insertColumns_native_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), column, count, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native boolean insertColumns_native_int_int_cref_QModelIndex(long __this__nativeId, int column, int count, long parent); /** *

See QAbstractItemModel::insertRows(int,int,QModelIndex)

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

See QAbstractItemModel::itemData(QModelIndex)const

*/ @QtUninvokable @Override public java.util.@NonNull NavigableMap itemData(io.qt.core.@NonNull QModelIndex index){ return itemData_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native java.util.NavigableMap itemData_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractProxyModel::mapFromSource(QModelIndex)const

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

See QAbstractProxyModel::mapToSource(QModelIndex)const

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

See QAbstractItemModel::moveColumns(QModelIndex,int,int,QModelIndex,int)

*/ @QtUninvokable @Override public boolean moveColumns(io.qt.core.@NonNull QModelIndex sourceParent, int sourceColumn, int count, io.qt.core.@NonNull QModelIndex destinationParent, int destinationChild){ return moveColumns_native_cref_QModelIndex_int_int_cref_QModelIndex_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sourceParent), sourceColumn, count, QtJambi_LibraryUtilities.internal.checkedNativeId(destinationParent), destinationChild); } @QtUninvokable private native boolean moveColumns_native_cref_QModelIndex_int_int_cref_QModelIndex_int(long __this__nativeId, long sourceParent, int sourceColumn, int count, long destinationParent, int destinationChild); /** *

See QAbstractItemModel::moveRows(QModelIndex,int,int,QModelIndex,int)

*/ @QtUninvokable @Override public boolean moveRows(io.qt.core.@NonNull QModelIndex sourceParent, int sourceRow, int count, io.qt.core.@NonNull QModelIndex destinationParent, int destinationChild){ return moveRows_native_cref_QModelIndex_int_int_cref_QModelIndex_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sourceParent), sourceRow, count, QtJambi_LibraryUtilities.internal.checkedNativeId(destinationParent), destinationChild); } @QtUninvokable private native boolean moveRows_native_cref_QModelIndex_int_int_cref_QModelIndex_int(long __this__nativeId, long sourceParent, int sourceRow, int count, long destinationParent, int destinationChild); /** *

See QAbstractItemModel::parent(QModelIndex)const

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

See QAbstractItemModel::removeColumns(int,int,QModelIndex)

*/ @QtUninvokable @Override public boolean removeColumns(int column, int count, io.qt.core.@NonNull QModelIndex parent){ return removeColumns_native_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), column, count, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native boolean removeColumns_native_int_int_cref_QModelIndex(long __this__nativeId, int column, int count, long parent); /** *

See QAbstractItemModel::removeRows(int,int,QModelIndex)

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

See QAbstractItemModel::rowCount(QModelIndex)const

*/ @QtUninvokable @Override public int rowCount(io.qt.core.@NonNull QModelIndex parent){ return rowCount_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native int rowCount_native_cref_QModelIndex_constfct(long __this__nativeId, long parent); /** *

See QAbstractItemModel::setHeaderData(int,Qt::Orientation,QVariant,int)

*/ @QtUninvokable @Override public boolean setHeaderData(int section, io.qt.core.Qt.@NonNull Orientation orientation, java.lang.Object value, int role){ return setHeaderData_native_int_Qt_Orientation_cref_QVariant_int(QtJambi_LibraryUtilities.internal.nativeId(this), section, orientation.value(), value, role); } @QtUninvokable private native boolean setHeaderData_native_int_Qt_Orientation_cref_QVariant_int(long __this__nativeId, int section, int orientation, java.lang.Object value, int role); /** *

See QAbstractItemModel::setItemData(QModelIndex,QMap<int,QVariant>)

*/ @QtUninvokable @Override public boolean setItemData(io.qt.core.@NonNull QModelIndex index, java.util.@NonNull Map roles){ return setItemData_native_cref_QModelIndex_cref_QMap(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), roles); } @QtUninvokable private native boolean setItemData_native_cref_QModelIndex_cref_QMap(long __this__nativeId, long index, java.util.Map roles); /** *

See QAbstractProxyModel::setSourceModel(QAbstractItemModel*)

*/ @QtUninvokable @Override public void setSourceModel(io.qt.core.@Nullable QAbstractItemModel newSourceModel){ setSourceModel_native_QAbstractItemModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newSourceModel)); __rcSourceModel = newSourceModel; } @QtUninvokable private native void setSourceModel_native_QAbstractItemModel_ptr(long __this__nativeId, long newSourceModel); /** *

See QAbstractItemModel::sort(int,Qt::SortOrder)

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

See QAbstractItemModel::span(QModelIndex)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize span(io.qt.core.@NonNull QModelIndex index){ return span_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native io.qt.core.QSize span_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTransposeProxyModel(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QTransposeProxyModel(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QTransposeProxyModel instance, QDeclarativeConstructor constructor); /** *

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy