io.qt.widgets.QTableWidget Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Item-based table view with a default model
* Java wrapper for Qt class QTableWidget
*/
public class QTableWidget extends io.qt.widgets.QTableView
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTableWidget.class);
/**
* See QTableWidget:: cellActivated(int, int)
*/
public final @NonNull Signal2 cellActivated = new Signal2<>();
/**
* See QTableWidget:: cellChanged(int, int)
*/
public final @NonNull Signal2 cellChanged = new Signal2<>();
/**
* See QTableWidget:: cellClicked(int, int)
*/
public final @NonNull Signal2 cellClicked = new Signal2<>();
/**
* See QTableWidget:: cellDoubleClicked(int, int)
*/
public final @NonNull Signal2 cellDoubleClicked = new Signal2<>();
/**
* See QTableWidget:: cellEntered(int, int)
*/
public final @NonNull Signal2 cellEntered = new Signal2<>();
/**
* See QTableWidget:: cellPressed(int, int)
*/
public final @NonNull Signal2 cellPressed = new Signal2<>();
/**
* See QTableWidget:: currentCellChanged(int, int, int, int)
*/
public final @NonNull Signal4 currentCellChanged = new Signal4<>();
/**
* See QTableWidget:: currentItemChanged(QTableWidgetItem*, QTableWidgetItem*)
*/
public final @NonNull Signal2 currentItemChanged = new Signal2<>();
/**
* See QTableWidget:: itemActivated(QTableWidgetItem*)
*/
public final @NonNull Signal1 itemActivated = new Signal1<>();
/**
* See QTableWidget:: itemChanged(QTableWidgetItem*)
*/
public final @NonNull Signal1 itemChanged = new Signal1<>();
/**
* See QTableWidget:: itemClicked(QTableWidgetItem*)
*/
public final @NonNull Signal1 itemClicked = new Signal1<>();
/**
* See QTableWidget:: itemDoubleClicked(QTableWidgetItem*)
*/
public final @NonNull Signal1 itemDoubleClicked = new Signal1<>();
/**
* See QTableWidget:: itemEntered(QTableWidgetItem*)
*/
public final @NonNull Signal1 itemEntered = new Signal1<>();
/**
* See QTableWidget:: itemPressed(QTableWidgetItem*)
*/
public final @NonNull Signal1 itemPressed = new Signal1<>();
/**
* See QTableWidget:: itemSelectionChanged()
*/
public final @NonNull Signal0 itemSelectionChanged = new Signal0();
/**
* See QTableWidget:: QTableWidget(QWidget*)
*/
public QTableWidget(io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QTableWidget instance, io.qt.widgets.QWidget parent);
/**
* See QTableWidget:: QTableWidget(int, int, QWidget*)
*/
public QTableWidget(int rows, int columns, io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, rows, columns, parent);
}
private native static void initialize_native(QTableWidget instance, int rows, int columns, io.qt.widgets.QWidget parent);
/**
* See QTableWidget:: cellWidget(int, int)const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QWidget cellWidget(int row, int column){
return cellWidget_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column);
}
@QtUninvokable
private native io.qt.widgets.QWidget cellWidget_native_int_int_constfct(long __this__nativeId, int row, int column);
/**
*
*/
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void clear_native(long __this__nativeId);
/**
* See QTableWidget:: clearContents()
*/
public final void clearContents(){
clearContents_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void clearContents_native(long __this__nativeId);
/**
* See QTableWidget:: closePersistentEditor(QTableWidgetItem*)
*/
@QtUninvokable
public final void closePersistentEditor(io.qt.widgets.@Nullable QTableWidgetItem item){
closePersistentEditor_native_QTableWidgetItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native void closePersistentEditor_native_QTableWidgetItem_ptr(long __this__nativeId, long item);
/**
* See QTableWidget:: column(const QTableWidgetItem*)const
*/
@QtUninvokable
public final int column(io.qt.widgets.@Nullable QTableWidgetItem item){
return column_native_const_QTableWidgetItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native int column_native_const_QTableWidgetItem_ptr_constfct(long __this__nativeId, long item);
/**
* See QTableWidget:: columnCount()const
*/
@QtPropertyReader(name="columnCount")
@QtUninvokable
public final int columnCount(){
return columnCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int columnCount_native_constfct(long __this__nativeId);
/**
* See QTableWidget:: currentColumn()const
*/
@QtUninvokable
public final int currentColumn(){
return currentColumn_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int currentColumn_native_constfct(long __this__nativeId);
/**
* See QTableWidget:: currentItem()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem currentItem(){
return currentItem_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem currentItem_native_constfct(long __this__nativeId);
/**
* See QTableWidget:: currentRow()const
*/
@QtUninvokable
public final int currentRow(){
return currentRow_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int currentRow_native_constfct(long __this__nativeId);
/**
* See QTableWidget:: editItem(QTableWidgetItem*)
*/
@QtUninvokable
public final void editItem(io.qt.widgets.@Nullable QTableWidgetItem item){
editItem_native_QTableWidgetItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native void editItem_native_QTableWidgetItem_ptr(long __this__nativeId, long item);
/**
* See QTableWidget:: findItems(QString, Qt::MatchFlags)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList findItems(java.lang.@NonNull String text, io.qt.core.Qt.@NonNull MatchFlags flags){
return findItems_native_cref_QString_Qt_MatchFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), text, flags.value());
}
@QtUninvokable
private native io.qt.core.QList findItems_native_cref_QString_Qt_MatchFlags_constfct(long __this__nativeId, java.lang.String text, int flags);
/**
* See QTableWidget:: horizontalHeaderItem(int)const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem horizontalHeaderItem(int column){
return horizontalHeaderItem_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem horizontalHeaderItem_native_int_constfct(long __this__nativeId, int column);
/**
* See QTableWidget:: indexFromItem(const QTableWidgetItem*)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QModelIndex indexFromItem(io.qt.widgets.@Nullable QTableWidgetItem item){
return indexFromItem_native_const_QTableWidgetItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native io.qt.core.QModelIndex indexFromItem_native_const_QTableWidgetItem_ptr_constfct(long __this__nativeId, long item);
/**
* See QTableWidget:: insertColumn(int)
*/
public final void insertColumn(int column){
insertColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
private native void insertColumn_native_int(long __this__nativeId, int column);
/**
* See QTableWidget:: insertRow(int)
*/
public final void insertRow(int row){
insertRow_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
private native void insertRow_native_int(long __this__nativeId, int row);
/**
* See QTableWidget:: isPersistentEditorOpen(QTableWidgetItem*)const
*/
@QtUninvokable
public final boolean isPersistentEditorOpen(io.qt.widgets.@Nullable QTableWidgetItem item){
return isPersistentEditorOpen_native_QTableWidgetItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native boolean isPersistentEditorOpen_native_QTableWidgetItem_ptr_constfct(long __this__nativeId, long item);
/**
* See QTableWidget:: item(int, int)const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem item(int row, int column){
return item_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column);
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem item_native_int_int_constfct(long __this__nativeId, int row, int column);
/**
* See QTableWidget:: itemAt(QPoint)const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem itemAt(io.qt.core.@NonNull QPoint p){
return itemAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem itemAt_native_cref_QPoint_constfct(long __this__nativeId, long p);
/**
* See QTableWidget:: itemAt(int, int)const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem itemAt(int x, int y){
return itemAt_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y);
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem itemAt_native_int_int_constfct(long __this__nativeId, int x, int y);
/**
* See QTableWidget:: itemFromIndex(QModelIndex)const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem itemFromIndex(io.qt.core.@NonNull QModelIndex index){
return itemFromIndex_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index));
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem itemFromIndex_native_cref_QModelIndex_constfct(long __this__nativeId, long index);
/**
* See QTableWidget:: itemPrototype()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem itemPrototype(){
return itemPrototype_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem itemPrototype_native_constfct(long __this__nativeId);
/**
* See QTableWidget:: items(const QMimeData*)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList items(io.qt.core.@Nullable QMimeData data){
return items_native_const_QMimeData_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(data));
}
@QtUninvokable
private native io.qt.core.QList items_native_const_QMimeData_ptr_constfct(long __this__nativeId, long data);
/**
* See QTableWidget:: openPersistentEditor(QTableWidgetItem*)
*/
@QtUninvokable
public final void openPersistentEditor(io.qt.widgets.@Nullable QTableWidgetItem item){
openPersistentEditor_native_QTableWidgetItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native void openPersistentEditor_native_QTableWidgetItem_ptr(long __this__nativeId, long item);
/**
* See QTableWidget:: removeCellWidget(int, int)
*/
@QtUninvokable
public final void removeCellWidget(int row, int column){
removeCellWidget_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, column);
}
@QtUninvokable
private native void removeCellWidget_native_int_int(long __this__nativeId, int row, int column);
/**
* See QTableWidget:: removeColumn(int)
*/
public final void removeColumn(int column){
removeColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
private native void removeColumn_native_int(long __this__nativeId, int column);
/**
* See QTableWidget:: removeRow(int)
*/
public final void removeRow(int row){
removeRow_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
private native void removeRow_native_int(long __this__nativeId, int row);
/**
* See QTableWidget:: row(const QTableWidgetItem*)const
*/
@QtUninvokable
public final int row(io.qt.widgets.@Nullable QTableWidgetItem item){
return row_native_const_QTableWidgetItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native int row_native_const_QTableWidgetItem_ptr_constfct(long __this__nativeId, long item);
/**
* See QTableWidget:: rowCount()const
*/
@QtPropertyReader(name="rowCount")
@QtUninvokable
public final int rowCount(){
return rowCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int rowCount_native_constfct(long __this__nativeId);
/**
* See QTableWidget:: scrollToItem(const QTableWidgetItem*, QAbstractItemView::ScrollHint)
*/
public final void scrollToItem(io.qt.widgets.@Nullable QTableWidgetItem item, io.qt.widgets.QAbstractItemView.@NonNull ScrollHint hint){
scrollToItem_native_const_QTableWidgetItem_ptr_QAbstractItemView_ScrollHint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), hint.value());
}
private native void scrollToItem_native_const_QTableWidgetItem_ptr_QAbstractItemView_ScrollHint(long __this__nativeId, long item, int hint);
/**
* See QTableWidget:: selectedItems()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList selectedItems(){
return selectedItems_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList selectedItems_native_constfct(long __this__nativeId);
/**
* See QTableWidget:: selectedRanges()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList selectedRanges(){
return selectedRanges_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList selectedRanges_native_constfct(long __this__nativeId);
/**
* See QTableWidget:: setCellWidget(int, int, QWidget*)
*/
@QtUninvokable
public final void setCellWidget(int row, int column, io.qt.widgets.@Nullable QWidget widget){
setCellWidget_native_int_int_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native void setCellWidget_native_int_int_QWidget_ptr(long __this__nativeId, int row, int column, long widget);
/**
* See QTableWidget:: setColumnCount(int)
*/
@QtPropertyWriter(name="columnCount")
@QtUninvokable
public final void setColumnCount(int columns){
setColumnCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), columns);
}
@QtUninvokable
private native void setColumnCount_native_int(long __this__nativeId, int columns);
/**
* See QTableWidget:: setCurrentCell(int, int)
*/
@QtUninvokable
public final void setCurrentCell(int row, int column){
setCurrentCell_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, column);
}
@QtUninvokable
private native void setCurrentCell_native_int_int(long __this__nativeId, int row, int column);
/**
* See QTableWidget:: setCurrentCell(int, int, QItemSelectionModel::SelectionFlags)
*/
@QtUninvokable
public final void setCurrentCell(int row, int column, io.qt.core.QItemSelectionModel.@NonNull SelectionFlags command){
setCurrentCell_native_int_int_QItemSelectionModel_SelectionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, command.value());
}
@QtUninvokable
private native void setCurrentCell_native_int_int_QItemSelectionModel_SelectionFlags(long __this__nativeId, int row, int column, int command);
/**
* See QTableWidget:: setCurrentItem(QTableWidgetItem*)
*/
@QtUninvokable
public final void setCurrentItem(io.qt.widgets.@Nullable QTableWidgetItem item){
setCurrentItem_native_QTableWidgetItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native void setCurrentItem_native_QTableWidgetItem_ptr(long __this__nativeId, long item);
/**
* See QTableWidget:: setCurrentItem(QTableWidgetItem*, QItemSelectionModel::SelectionFlags)
*/
@QtUninvokable
public final void setCurrentItem(io.qt.widgets.@Nullable QTableWidgetItem item, io.qt.core.QItemSelectionModel.@NonNull SelectionFlags command){
setCurrentItem_native_QTableWidgetItem_ptr_QItemSelectionModel_SelectionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), command.value());
}
@QtUninvokable
private native void setCurrentItem_native_QTableWidgetItem_ptr_QItemSelectionModel_SelectionFlags(long __this__nativeId, long item, int command);
/**
* See QTableWidget:: setHorizontalHeaderItem(int, QTableWidgetItem*)
*/
@QtUninvokable
public final void setHorizontalHeaderItem(int column, io.qt.widgets.@Nullable QTableWidgetItem item){
setHorizontalHeaderItem_native_int_QTableWidgetItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), column, QtJambi_LibraryUtilities.internal.checkedNativeId(item));
QtJambi_LibraryUtilities.internal.setCppOwnership(item);
}
@QtUninvokable
private native void setHorizontalHeaderItem_native_int_QTableWidgetItem_ptr(long __this__nativeId, int column, long item);
/**
* See QTableWidget:: setHorizontalHeaderLabels(QStringList)
*/
@QtUninvokable
public final void setHorizontalHeaderLabels(java.util.@NonNull Collection labels){
setHorizontalHeaderLabels_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), labels);
}
@QtUninvokable
private native void setHorizontalHeaderLabels_native_cref_QStringList(long __this__nativeId, java.util.Collection labels);
/**
* See QTableWidget:: setItem(int, int, QTableWidgetItem*)
*/
@QtUninvokable
public final void setItem(int row, int column, io.qt.widgets.@Nullable QTableWidgetItem item){
setItem_native_int_int_QTableWidgetItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(item));
QtJambi_LibraryUtilities.internal.setCppOwnership(item);
}
@QtUninvokable
private native void setItem_native_int_int_QTableWidgetItem_ptr(long __this__nativeId, int row, int column, long item);
/**
* See QTableWidget:: setItemPrototype(const QTableWidgetItem*)
*/
@QtUninvokable
public final void setItemPrototype(io.qt.widgets.@Nullable QTableWidgetItem item){
setItemPrototype_native_const_QTableWidgetItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
QtJambi_LibraryUtilities.internal.setCppOwnership(item);
}
@QtUninvokable
private native void setItemPrototype_native_const_QTableWidgetItem_ptr(long __this__nativeId, long item);
/**
* Function has no implementation because its native counterpart is private.
*/
@Deprecated
@QtUninvokable
@Override
public final void setModel(io.qt.core.@Nullable QAbstractItemModel model) throws QNoImplementationException {
throw new QNoImplementationException();
}
/**
* See QTableWidget:: setRangeSelected(QTableWidgetSelectionRange, bool)
*/
@QtUninvokable
public final void setRangeSelected(io.qt.widgets.@NonNull QTableWidgetSelectionRange range, boolean select){
setRangeSelected_native_cref_QTableWidgetSelectionRange_bool(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(range), select);
}
@QtUninvokable
private native void setRangeSelected_native_cref_QTableWidgetSelectionRange_bool(long __this__nativeId, long range, boolean select);
/**
* See QTableWidget:: setRowCount(int)
*/
@QtPropertyWriter(name="rowCount")
@QtUninvokable
public final void setRowCount(int rows){
setRowCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), rows);
}
@QtUninvokable
private native void setRowCount_native_int(long __this__nativeId, int rows);
/**
* See QTableWidget:: setVerticalHeaderItem(int, QTableWidgetItem*)
*/
@QtUninvokable
public final void setVerticalHeaderItem(int row, io.qt.widgets.@Nullable QTableWidgetItem item){
setVerticalHeaderItem_native_int_QTableWidgetItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), row, QtJambi_LibraryUtilities.internal.checkedNativeId(item));
QtJambi_LibraryUtilities.internal.setCppOwnership(item);
}
@QtUninvokable
private native void setVerticalHeaderItem_native_int_QTableWidgetItem_ptr(long __this__nativeId, int row, long item);
/**
* See QTableWidget:: setVerticalHeaderLabels(QStringList)
*/
@QtUninvokable
public final void setVerticalHeaderLabels(java.util.@NonNull Collection labels){
setVerticalHeaderLabels_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), labels);
}
@QtUninvokable
private native void setVerticalHeaderLabels_native_cref_QStringList(long __this__nativeId, java.util.Collection labels);
/**
* See QTableWidget:: sortItems(int, Qt::SortOrder)
*/
@QtUninvokable
public final void sortItems(int column, io.qt.core.Qt.@NonNull SortOrder order){
sortItems_native_int_Qt_SortOrder(QtJambi_LibraryUtilities.internal.nativeId(this), column, order.value());
}
@QtUninvokable
private native void sortItems_native_int_Qt_SortOrder(long __this__nativeId, int column, int order);
/**
* See QTableWidget:: takeHorizontalHeaderItem(int)
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem takeHorizontalHeaderItem(int column){
return takeHorizontalHeaderItem_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem takeHorizontalHeaderItem_native_int(long __this__nativeId, int column);
/**
* See QTableWidget:: takeItem(int, int)
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem takeItem(int row, int column){
return takeItem_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, column);
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem takeItem_native_int_int(long __this__nativeId, int row, int column);
/**
* See QTableWidget:: takeVerticalHeaderItem(int)
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem takeVerticalHeaderItem(int row){
return takeVerticalHeaderItem_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem takeVerticalHeaderItem_native_int(long __this__nativeId, int row);
/**
* See QTableWidget:: verticalHeaderItem(int)const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QTableWidgetItem verticalHeaderItem(int row){
return verticalHeaderItem_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
@QtUninvokable
private native io.qt.widgets.QTableWidgetItem verticalHeaderItem_native_int_constfct(long __this__nativeId, int row);
/**
* See QTableWidget:: visualColumn(int)const
*/
@QtUninvokable
public final int visualColumn(int logicalColumn){
return visualColumn_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalColumn);
}
@QtUninvokable
private native int visualColumn_native_int_constfct(long __this__nativeId, int logicalColumn);
/**
* See QTableWidget:: visualItemRect(const QTableWidgetItem*)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect visualItemRect(io.qt.widgets.@Nullable QTableWidgetItem item){
return visualItemRect_native_const_QTableWidgetItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native io.qt.core.QRect visualItemRect_native_const_QTableWidgetItem_ptr_constfct(long __this__nativeId, long item);
/**
* See QTableWidget:: visualRow(int)const
*/
@QtUninvokable
public final int visualRow(int logicalRow){
return visualRow_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalRow);
}
@QtUninvokable
private native int visualRow_native_int_constfct(long __this__nativeId, int logicalRow);
/**
* 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 QTableWidget:: dropMimeData(int, int, const QMimeData*, Qt::DropAction)
*/
@QtUninvokable
protected boolean dropMimeData(int row, int column, io.qt.core.@Nullable QMimeData data, io.qt.core.Qt.@NonNull DropAction action){
return dropMimeData_native_int_int_const_QMimeData_ptr_Qt_DropAction(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, QtJambi_LibraryUtilities.internal.checkedNativeId(data), action.value());
}
@QtUninvokable
private native boolean dropMimeData_native_int_int_const_QMimeData_ptr_Qt_DropAction(long __this__nativeId, int row, int column, long data, int action);
/**
*
*/
@QtUninvokable
@Override
public boolean event(io.qt.core.@Nullable QEvent e){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long e);
/**
* See QTableWidget:: mimeData(QList<QTableWidgetItem*>)const
*/
@QtUninvokable
protected io.qt.core.@Nullable QMimeData mimeData(java.util.@NonNull Collection extends io.qt.widgets.@Nullable QTableWidgetItem> items){
return mimeData_native_cref_QList_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), items);
}
@QtUninvokable
private native io.qt.core.QMimeData mimeData_native_cref_QList_constfct(long __this__nativeId, java.util.Collection extends io.qt.widgets.QTableWidgetItem> items);
/**
* See QTableWidget:: mimeTypes()const
*/
@QtUninvokable
protected java.util.@NonNull List mimeTypes(){
return mimeTypes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.util.List mimeTypes_native_constfct(long __this__nativeId);
/**
* See QTableWidget:: supportedDropActions()const
*/
@QtUninvokable
protected io.qt.core.Qt.@NonNull DropActions supportedDropActions(){
return new io.qt.core.Qt.DropActions(supportedDropActions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int supportedDropActions_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QTableWidget(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QTableWidget(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QTableWidget instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QTableWidget(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QTableWidget() {
this((io.qt.widgets.QWidget)null);
}
/**
* Overloaded constructor for {@link #QTableWidget(int, int, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QTableWidget(int rows, int columns) {
this(rows, columns, (io.qt.widgets.QWidget)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #columnCount()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getColumnCount() {
return columnCount();
}
/**
* Overloaded function for {@link #findItems(java.lang.String, io.qt.core.Qt.MatchFlags)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QList findItems(java.lang.@NonNull String text, io.qt.core.Qt.@NonNull MatchFlag @NonNull... flags) {
return findItems(text, new io.qt.core.Qt.MatchFlags(flags));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #rowCount()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getRowCount() {
return rowCount();
}
/**
* Overloaded function for {@link #scrollToItem(io.qt.widgets.QTableWidgetItem, io.qt.widgets.QAbstractItemView.ScrollHint)}
* with hint = io.qt.widgets.QAbstractItemView.ScrollHint.EnsureVisible
.
*/
public final void scrollToItem(io.qt.widgets.@Nullable QTableWidgetItem item) {
scrollToItem(item, io.qt.widgets.QAbstractItemView.ScrollHint.EnsureVisible);
}
/**
* Overloaded function for {@link #setCurrentCell(int, int, io.qt.core.QItemSelectionModel.SelectionFlags)}.
*/
@QtUninvokable
public final void setCurrentCell(int row, int column, io.qt.core.QItemSelectionModel.@NonNull SelectionFlag @NonNull... command) {
setCurrentCell(row, column, new io.qt.core.QItemSelectionModel.SelectionFlags(command));
}
/**
* Overloaded function for {@link #setCurrentItem(io.qt.widgets.QTableWidgetItem, io.qt.core.QItemSelectionModel.SelectionFlags)}.
*/
@QtUninvokable
public final void setCurrentItem(io.qt.widgets.@Nullable QTableWidgetItem item, io.qt.core.QItemSelectionModel.@NonNull SelectionFlag @NonNull... command) {
setCurrentItem(item, new io.qt.core.QItemSelectionModel.SelectionFlags(command));
}
/**
* Overloaded function for {@link #sortItems(int, io.qt.core.Qt.SortOrder)}
* with order = io.qt.core.Qt.SortOrder.AscendingOrder
.
*/
@QtUninvokable
public final void sortItems(int column) {
sortItems(column, io.qt.core.Qt.SortOrder.AscendingOrder);
}
}