io.qt.widgets.QListView Maven / Gradle / Ivy
package io.qt.widgets;
/**
* List or icon view onto a model
* Java wrapper for Qt class QListView
*/
public class QListView 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(QListView.class);
/**
* Java wrapper for Qt enum QListView::Flow
*/
public enum Flow implements io.qt.QtEnumerator {
LeftToRight(0),
TopToBottom(1);
private Flow(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Flow resolve(int value) {
switch (value) {
case 0: return LeftToRight;
case 1: return TopToBottom;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QListView::LayoutMode
*/
public enum LayoutMode implements io.qt.QtEnumerator {
SinglePass(0),
Batched(1);
private LayoutMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static LayoutMode resolve(int value) {
switch (value) {
case 0: return SinglePass;
case 1: return Batched;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QListView::Movement
*/
public enum Movement implements io.qt.QtEnumerator {
Static(0),
Free(1),
Snap(2);
private Movement(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Movement resolve(int value) {
switch (value) {
case 0: return Static;
case 1: return Free;
case 2: return Snap;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QListView::ResizeMode
*/
public enum ResizeMode implements io.qt.QtEnumerator {
Fixed(0),
Adjust(1);
private ResizeMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static ResizeMode resolve(int value) {
switch (value) {
case 0: return Fixed;
case 1: return Adjust;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QListView::ViewMode
*/
public enum ViewMode implements io.qt.QtEnumerator {
ListMode(0),
IconMode(1);
private ViewMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static ViewMode resolve(int value) {
switch (value) {
case 0: return ListMode;
case 1: return IconMode;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QListView::indexesMoved(QModelIndexList)
*/
public final Signal1> indexesMoved = new Signal1<>();
/**
* Overloaded constructor for {@link #QListView(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QListView() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QListView::QListView(QWidget*)
*/
public QListView(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QListView instance, io.qt.widgets.QWidget parent);
/**
* See QListView::batchSize()const
*/
@io.qt.QtPropertyReader(name="batchSize")
@io.qt.QtUninvokable
public final int batchSize(){
return batchSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int batchSize_native_constfct(long __this__nativeId);
/**
* See QListView::clearPropertyFlags()
*/
@io.qt.QtUninvokable
public final void clearPropertyFlags(){
clearPropertyFlags_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clearPropertyFlags_native(long __this__nativeId);
@io.qt.QtUninvokable
protected final io.qt.core.QSize contentsSize(){
return contentsSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize contentsSize_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtPropertyReader(name="flow")
@io.qt.QtUninvokable
public final io.qt.widgets.QListView.Flow flow(){
return io.qt.widgets.QListView.Flow.resolve(flow_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int flow_native_constfct(long __this__nativeId);
/**
* See QListView::gridSize()const
*/
@io.qt.QtPropertyReader(name="gridSize")
@io.qt.QtUninvokable
public final io.qt.core.QSize gridSize(){
return gridSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize gridSize_native_constfct(long __this__nativeId);
/**
* See QListView::isRowHidden(int)const
*/
@io.qt.QtUninvokable
public final boolean isRowHidden(int row){
return isRowHidden_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
@io.qt.QtUninvokable
private native boolean isRowHidden_native_int_constfct(long __this__nativeId, int row);
/**
* See QListView::isSelectionRectVisible()const
*/
@io.qt.QtPropertyReader(name="selectionRectVisible")
@io.qt.QtUninvokable
public final boolean isSelectionRectVisible(){
return isSelectionRectVisible_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isSelectionRectVisible_native_constfct(long __this__nativeId);
/**
* See QListView::isWrapping()const
*/
@io.qt.QtPropertyReader(name="isWrapping")
@io.qt.QtUninvokable
public final boolean isWrapping(){
return isWrapping_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isWrapping_native_constfct(long __this__nativeId);
/**
* See QListView::itemAlignment()const
*/
@io.qt.QtPropertyReader(name="itemAlignment")
@io.qt.QtUninvokable
public final io.qt.core.Qt.Alignment itemAlignment(){
return new io.qt.core.Qt.Alignment(itemAlignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int itemAlignment_native_constfct(long __this__nativeId);
/**
* See QListView::layoutMode()const
*/
@io.qt.QtPropertyReader(name="layoutMode")
@io.qt.QtUninvokable
public final io.qt.widgets.QListView.LayoutMode layoutMode(){
return io.qt.widgets.QListView.LayoutMode.resolve(layoutMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int layoutMode_native_constfct(long __this__nativeId);
/**
* See QListView::modelColumn()const
*/
@io.qt.QtPropertyReader(name="modelColumn")
@io.qt.QtUninvokable
public final int modelColumn(){
return modelColumn_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int modelColumn_native_constfct(long __this__nativeId);
/**
* See QListView::movement()const
*/
@io.qt.QtPropertyReader(name="movement")
@io.qt.QtUninvokable
public final io.qt.widgets.QListView.Movement movement(){
return io.qt.widgets.QListView.Movement.resolve(movement_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int movement_native_constfct(long __this__nativeId);
/**
* See QListView::rectForIndex(QModelIndex)const
*/
@io.qt.QtUninvokable
protected final io.qt.core.QRect rectForIndex(io.qt.core.QModelIndex index){
return rectForIndex_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.core.QRect rectForIndex_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
@io.qt.QtUninvokable
protected final void resizeContents(int width, int height){
resizeContents_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), width, height);
}
@io.qt.QtUninvokable
private native void resizeContents_native_int_int(long __this__nativeId, int width, int height);
/**
* See QListView::resizeMode()const
*/
@io.qt.QtPropertyReader(name="resizeMode")
@io.qt.QtUninvokable
public final io.qt.widgets.QListView.ResizeMode resizeMode(){
return io.qt.widgets.QListView.ResizeMode.resolve(resizeMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int resizeMode_native_constfct(long __this__nativeId);
/**
* See QListView::setBatchSize(int)
*/
@io.qt.QtPropertyWriter(name="batchSize")
@io.qt.QtUninvokable
public final void setBatchSize(int batchSize){
setBatchSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), batchSize);
}
@io.qt.QtUninvokable
private native void setBatchSize_native_int(long __this__nativeId, int batchSize);
/**
* See QListView::setFlow(QListView::Flow)
*/
@io.qt.QtPropertyWriter(name="flow")
@io.qt.QtUninvokable
public final void setFlow(io.qt.widgets.QListView.Flow flow){
setFlow_native_QListView_Flow(QtJambi_LibraryUtilities.internal.nativeId(this), flow.value());
}
@io.qt.QtUninvokable
private native void setFlow_native_QListView_Flow(long __this__nativeId, int flow);
/**
* See QListView::setGridSize(QSize)
*/
@io.qt.QtPropertyWriter(name="gridSize")
@io.qt.QtUninvokable
public final void setGridSize(io.qt.core.QSize size){
setGridSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@io.qt.QtUninvokable
private native void setGridSize_native_cref_QSize(long __this__nativeId, long size);
/**
* Overloaded function for {@link #setItemAlignment(io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final void setItemAlignment(io.qt.core.Qt.AlignmentFlag ... alignment){
setItemAlignment(new io.qt.core.Qt.Alignment(alignment));
}
/**
* See QListView::setItemAlignment(Qt::Alignment)
*/
@io.qt.QtPropertyWriter(name="itemAlignment")
@io.qt.QtUninvokable
public final void setItemAlignment(io.qt.core.Qt.Alignment alignment){
setItemAlignment_native_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), alignment.value());
}
@io.qt.QtUninvokable
private native void setItemAlignment_native_QFlags_Qt_AlignmentFlag_(long __this__nativeId, int alignment);
/**
* See QListView::setLayoutMode(QListView::LayoutMode)
*/
@io.qt.QtPropertyWriter(name="layoutMode")
@io.qt.QtUninvokable
public final void setLayoutMode(io.qt.widgets.QListView.LayoutMode mode){
setLayoutMode_native_QListView_LayoutMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@io.qt.QtUninvokable
private native void setLayoutMode_native_QListView_LayoutMode(long __this__nativeId, int mode);
/**
* See QListView::setModelColumn(int)
*/
@io.qt.QtPropertyWriter(name="modelColumn")
@io.qt.QtUninvokable
public final void setModelColumn(int column){
setModelColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
@io.qt.QtUninvokable
private native void setModelColumn_native_int(long __this__nativeId, int column);
/**
* See QListView::setMovement(QListView::Movement)
*/
@io.qt.QtPropertyWriter(name="movement")
@io.qt.QtUninvokable
public final void setMovement(io.qt.widgets.QListView.Movement movement){
setMovement_native_QListView_Movement(QtJambi_LibraryUtilities.internal.nativeId(this), movement.value());
}
@io.qt.QtUninvokable
private native void setMovement_native_QListView_Movement(long __this__nativeId, int movement);
/**
* See QListView::setPositionForIndex(QPoint,QModelIndex)
*/
@io.qt.QtUninvokable
protected final void setPositionForIndex(io.qt.core.QPoint position, io.qt.core.QModelIndex index){
setPositionForIndex_native_cref_QPoint_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position), index);
}
@io.qt.QtUninvokable
private native void setPositionForIndex_native_cref_QPoint_cref_QModelIndex(long __this__nativeId, long position, io.qt.core.QModelIndex index);
/**
* See QListView::setResizeMode(QListView::ResizeMode)
*/
@io.qt.QtPropertyWriter(name="resizeMode")
@io.qt.QtUninvokable
public final void setResizeMode(io.qt.widgets.QListView.ResizeMode mode){
setResizeMode_native_QListView_ResizeMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@io.qt.QtUninvokable
private native void setResizeMode_native_QListView_ResizeMode(long __this__nativeId, int mode);
/**
* See QListView::setRowHidden(int,bool)
*/
@io.qt.QtUninvokable
public final void setRowHidden(int row, boolean hide){
setRowHidden_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), row, hide);
}
@io.qt.QtUninvokable
private native void setRowHidden_native_int_bool(long __this__nativeId, int row, boolean hide);
/**
* See QListView::setSelectionRectVisible(bool)
*/
@io.qt.QtPropertyWriter(name="selectionRectVisible")
@io.qt.QtUninvokable
public final void setSelectionRectVisible(boolean show){
setSelectionRectVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), show);
}
@io.qt.QtUninvokable
private native void setSelectionRectVisible_native_bool(long __this__nativeId, boolean show);
/**
* See QListView::setSpacing(int)
*/
@io.qt.QtPropertyWriter(name="spacing")
@io.qt.QtUninvokable
public final void setSpacing(int space){
setSpacing_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), space);
}
@io.qt.QtUninvokable
private native void setSpacing_native_int(long __this__nativeId, int space);
/**
* See QListView::setUniformItemSizes(bool)
*/
@io.qt.QtPropertyWriter(name="uniformItemSizes")
@io.qt.QtUninvokable
public final void setUniformItemSizes(boolean enable){
setUniformItemSizes_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@io.qt.QtUninvokable
private native void setUniformItemSizes_native_bool(long __this__nativeId, boolean enable);
/**
* See QListView::setViewMode(QListView::ViewMode)
*/
@io.qt.QtPropertyWriter(name="viewMode")
@io.qt.QtUninvokable
public final void setViewMode(io.qt.widgets.QListView.ViewMode mode){
setViewMode_native_QListView_ViewMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@io.qt.QtUninvokable
private native void setViewMode_native_QListView_ViewMode(long __this__nativeId, int mode);
/**
* See QListView::setWordWrap(bool)
*/
@io.qt.QtPropertyWriter(name="wordWrap")
@io.qt.QtUninvokable
public final void setWordWrap(boolean on){
setWordWrap_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), on);
}
@io.qt.QtUninvokable
private native void setWordWrap_native_bool(long __this__nativeId, boolean on);
/**
* See QListView::setWrapping(bool)
*/
@io.qt.QtPropertyWriter(name="isWrapping")
@io.qt.QtUninvokable
public final void setWrapping(boolean enable){
setWrapping_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@io.qt.QtUninvokable
private native void setWrapping_native_bool(long __this__nativeId, boolean enable);
/**
*
*/
@io.qt.QtPropertyReader(name="spacing")
@io.qt.QtUninvokable
public final int spacing(){
return spacing_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int spacing_native_constfct(long __this__nativeId);
/**
* See QListView::uniformItemSizes()const
*/
@io.qt.QtPropertyReader(name="uniformItemSizes")
@io.qt.QtUninvokable
public final boolean uniformItemSizes(){
return uniformItemSizes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean uniformItemSizes_native_constfct(long __this__nativeId);
/**
* See QListView::viewMode()const
*/
@io.qt.QtPropertyReader(name="viewMode")
@io.qt.QtUninvokable
public final io.qt.widgets.QListView.ViewMode viewMode(){
return io.qt.widgets.QListView.ViewMode.resolve(viewMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int viewMode_native_constfct(long __this__nativeId);
/**
* See QListView::wordWrap()const
*/
@io.qt.QtPropertyReader(name="wordWrap")
@io.qt.QtUninvokable
public final boolean wordWrap(){
return wordWrap_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean wordWrap_native_constfct(long __this__nativeId);
/**
* 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::dataChanged(QModelIndex,QModelIndex,QList<int>)
*/
@io.qt.QtUninvokable
protected void dataChanged(io.qt.core.QModelIndex topLeft, io.qt.core.QModelIndex bottomRight, java.util.Collection roles){
dataChanged_native_cref_QModelIndex_cref_QModelIndex_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), topLeft, bottomRight, roles);
}
@io.qt.QtUninvokable
private native void dataChanged_native_cref_QModelIndex_cref_QModelIndex_cref_QList(long __this__nativeId, io.qt.core.QModelIndex topLeft, io.qt.core.QModelIndex bottomRight, java.util.Collection roles);
@io.qt.QtUninvokable
public void doItemsLayout(){
doItemsLayout_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void doItemsLayout_native(long __this__nativeId);
/**
* See QWidget::dragLeaveEvent(QDragLeaveEvent*)
*/
@io.qt.QtUninvokable
protected void dragLeaveEvent(io.qt.gui.QDragLeaveEvent e){
dragLeaveEvent_native_QDragLeaveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void dragLeaveEvent_native_QDragLeaveEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget::dragMoveEvent(QDragMoveEvent*)
*/
@io.qt.QtUninvokable
protected void dragMoveEvent(io.qt.gui.QDragMoveEvent e){
dragMoveEvent_native_QDragMoveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void dragMoveEvent_native_QDragMoveEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget::dropEvent(QDropEvent*)
*/
@io.qt.QtUninvokable
protected void dropEvent(io.qt.gui.QDropEvent e){
dropEvent_native_QDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void dropEvent_native_QDropEvent_ptr(long __this__nativeId, long e);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent e){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long e);
/**
* 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 p){
return indexAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex indexAt_native_cref_QPoint_constfct(long __this__nativeId, long p);
/**
* See QAbstractItemView::initViewItemOption(QStyleOptionViewItem*)const
*/
@io.qt.QtUninvokable
protected void initViewItemOption(io.qt.widgets.QStyleOptionViewItem option){
initViewItemOption_native_QStyleOptionViewItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option);
}
@io.qt.QtUninvokable
private native void initViewItemOption_native_QStyleOptionViewItem_ptr_constfct(long __this__nativeId, io.qt.widgets.QStyleOptionViewItem option);
/**
* 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 QWidget::mouseMoveEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseMoveEvent(io.qt.gui.QMouseEvent e){
mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget::mouseReleaseEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseReleaseEvent(io.qt.gui.QMouseEvent e){
mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long e);
/**
* 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::paintEvent(QPaintEvent*)
*/
@io.qt.QtUninvokable
protected void paintEvent(io.qt.gui.QPaintEvent e){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long e);
/**
* See QAbstractItemView::reset()
*/
@io.qt.QtUninvokable
public void reset(){
reset_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void reset_native(long __this__nativeId);
/**
* See QWidget::resizeEvent(QResizeEvent*)
*/
@io.qt.QtUninvokable
protected void resizeEvent(io.qt.gui.QResizeEvent e){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long e);
/**
* See QAbstractItemView::rowsAboutToBeRemoved(QModelIndex,int,int)
*/
@io.qt.QtUninvokable
protected void rowsAboutToBeRemoved(io.qt.core.QModelIndex parent, int start, int end){
rowsAboutToBeRemoved_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), parent, start, end);
}
@io.qt.QtUninvokable
private native void rowsAboutToBeRemoved_native_cref_QModelIndex_int_int(long __this__nativeId, io.qt.core.QModelIndex parent, int start, int end);
/**
* 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::selectedIndexes()const
*/
@io.qt.QtUninvokable
protected java.util.List selectedIndexes(){
return selectedIndexes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.util.List selectedIndexes_native_constfct(long __this__nativeId);
/**
* See QAbstractItemView::selectionChanged(QItemSelection,QItemSelection)
*/
@io.qt.QtUninvokable
protected void selectionChanged(io.qt.core.QItemSelection selected, io.qt.core.QItemSelection deselected){
selectionChanged_native_cref_QItemSelection_cref_QItemSelection(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selected), QtJambi_LibraryUtilities.internal.checkedNativeId(deselected));
}
@io.qt.QtUninvokable
private native void selectionChanged_native_cref_QItemSelection_cref_QItemSelection(long __this__nativeId, long selected, long deselected);
/**
* 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::startDrag(Qt::DropActions)
*/
@io.qt.QtUninvokable
protected void startDrag(io.qt.core.Qt.DropActions supportedActions){
startDrag_native_QFlags_Qt_DropAction_(QtJambi_LibraryUtilities.internal.nativeId(this), supportedActions.value());
}
@io.qt.QtUninvokable
private native void startDrag_native_QFlags_Qt_DropAction_(long __this__nativeId, int supportedActions);
/**
* See QObject::timerEvent(QTimerEvent*)
*/
@io.qt.QtUninvokable
protected void timerEvent(io.qt.core.QTimerEvent e){
timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long e);
/**
* See QAbstractItemView::updateGeometries()
*/
@io.qt.QtUninvokable
protected void updateGeometries(){
updateGeometries_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void updateGeometries_native(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 QAbstractScrollArea::viewportSizeHint()const
*/
@io.qt.QtUninvokable
protected io.qt.core.QSize viewportSizeHint(){
return viewportSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize viewportSizeHint_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);
/**
* See QWidget::wheelEvent(QWheelEvent*)
*/
@io.qt.QtUninvokable
protected void wheelEvent(io.qt.gui.QWheelEvent e){
wheelEvent_native_QWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void wheelEvent_native_QWheelEvent_ptr(long __this__nativeId, long e);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QListView(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 QListView(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QListView instance, QDeclarativeConstructor constructor);
}