io.qt.widgets.QGridLayout Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
/**
* Lays out widgets in a grid
* Java wrapper for Qt class QGridLayout
*/
public class QGridLayout extends io.qt.widgets.QLayout
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGridLayout.class);
/**
* Overloaded constructor for {@link #QGridLayout(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QGridLayout() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QGridLayout::QGridLayout(QWidget*)
*/
public QGridLayout(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QGridLayout instance, io.qt.widgets.QWidget parent);
/**
* Overloaded function for {@link #addItem(io.qt.widgets.QLayoutItem, int, int, int, int, io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final void addItem(io.qt.widgets.QLayoutItem item, int row, int column, int rowSpan, int columnSpan, io.qt.core.Qt.AlignmentFlag ... arg__6){
addItem(item, row, column, rowSpan, columnSpan, new io.qt.core.Qt.Alignment(arg__6));
}
/**
* Overloaded function for {@link #addItem(io.qt.widgets.QLayoutItem, int, int, int, int, io.qt.core.Qt.Alignment)}
* with arg__6 = new io.qt.core.Qt.Alignment(0)
.
*/
@io.qt.QtUninvokable
public final void addItem(io.qt.widgets.QLayoutItem item, int row, int column, int rowSpan, int columnSpan) {
addItem(item, row, column, rowSpan, columnSpan, new io.qt.core.Qt.Alignment(0));
}
/**
* Overloaded function for {@link #addItem(io.qt.widgets.QLayoutItem, int, int, int, int, io.qt.core.Qt.Alignment)}
* with:
* columnSpan = 1
* arg__6 = new io.qt.core.Qt.Alignment(0)
*
*/
@io.qt.QtUninvokable
public final void addItem(io.qt.widgets.QLayoutItem item, int row, int column, int rowSpan) {
addItem(item, row, column, rowSpan, (int)1, new io.qt.core.Qt.Alignment(0));
}
/**
* Overloaded function for {@link #addItem(io.qt.widgets.QLayoutItem, int, int, int, int, io.qt.core.Qt.Alignment)}
* with:
* rowSpan = 1
* columnSpan = 1
* arg__6 = new io.qt.core.Qt.Alignment(0)
*
*/
@io.qt.QtUninvokable
public final void addItem(io.qt.widgets.QLayoutItem item, int row, int column) {
addItem(item, row, column, (int)1, (int)1, new io.qt.core.Qt.Alignment(0));
}
/**
* See QGridLayout::addItem(QLayoutItem*,int,int,int,int,Qt::Alignment)
*/
@io.qt.QtUninvokable
public final void addItem(io.qt.widgets.QLayoutItem item, int row, int column, int rowSpan, int columnSpan, io.qt.core.Qt.Alignment arg__6){
java.util.Objects.requireNonNull(item, "Argument 'item': null not expected.");
QWidget widget = item.widget();
addItem_native_QLayoutItem_ptr_int_int_int_int_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), row, column, rowSpan, columnSpan, arg__6.value());
QtJambi_LibraryUtilities.internal.setCppOwnership(item);
if(widget!=null && widget.parent()==null){
QtJambi_LibraryUtilities.internal.addReferenceCount(this, io.qt.widgets.QLayout.class, "__rcLayoutedObjects", false, false, widget);
}
}
@io.qt.QtUninvokable
private native void addItem_native_QLayoutItem_ptr_int_int_int_int_QFlags_Qt_AlignmentFlag_(long __this__nativeId, long item, int row, int column, int rowSpan, int columnSpan, int arg__6);
/**
* Overloaded function for {@link #addLayout(io.qt.widgets.QLayout, int, int, io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final void addLayout(io.qt.widgets.QLayout arg__1, int row, int column, io.qt.core.Qt.AlignmentFlag ... arg__4){
addLayout(arg__1, row, column, new io.qt.core.Qt.Alignment(arg__4));
}
/**
* Overloaded function for {@link #addLayout(io.qt.widgets.QLayout, int, int, io.qt.core.Qt.Alignment)}
* with arg__4 = new io.qt.core.Qt.Alignment(0)
.
*/
@io.qt.QtUninvokable
public final void addLayout(io.qt.widgets.QLayout arg__1, int row, int column) {
addLayout(arg__1, row, column, new io.qt.core.Qt.Alignment(0));
}
/**
* See QGridLayout::addLayout(QLayout*,int,int,Qt::Alignment)
*/
@io.qt.QtUninvokable
public final void addLayout(io.qt.widgets.QLayout arg__1, int row, int column, io.qt.core.Qt.Alignment arg__4){
addLayout_native_QLayout_ptr_int_int_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1), row, column, arg__4.value());
}
@io.qt.QtUninvokable
private native void addLayout_native_QLayout_ptr_int_int_QFlags_Qt_AlignmentFlag_(long __this__nativeId, long arg__1, int row, int column, int arg__4);
/**
* Overloaded function for {@link #addLayout(io.qt.widgets.QLayout, int, int, int, int, io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final void addLayout(io.qt.widgets.QLayout arg__1, int row, int column, int rowSpan, int columnSpan, io.qt.core.Qt.AlignmentFlag ... arg__6){
addLayout(arg__1, row, column, rowSpan, columnSpan, new io.qt.core.Qt.Alignment(arg__6));
}
/**
* Overloaded function for {@link #addLayout(io.qt.widgets.QLayout, int, int, int, int, io.qt.core.Qt.Alignment)}
* with arg__6 = new io.qt.core.Qt.Alignment(0)
.
*/
@io.qt.QtUninvokable
public final void addLayout(io.qt.widgets.QLayout arg__1, int row, int column, int rowSpan, int columnSpan) {
addLayout(arg__1, row, column, rowSpan, columnSpan, new io.qt.core.Qt.Alignment(0));
}
/**
* See QGridLayout::addLayout(QLayout*,int,int,int,int,Qt::Alignment)
*/
@io.qt.QtUninvokable
public final void addLayout(io.qt.widgets.QLayout arg__1, int row, int column, int rowSpan, int columnSpan, io.qt.core.Qt.Alignment arg__6){
addLayout_native_QLayout_ptr_int_int_int_int_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1), row, column, rowSpan, columnSpan, arg__6.value());
}
@io.qt.QtUninvokable
private native void addLayout_native_QLayout_ptr_int_int_int_int_QFlags_Qt_AlignmentFlag_(long __this__nativeId, long arg__1, int row, int column, int rowSpan, int columnSpan, int arg__6);
/**
* Overloaded function for {@link #addWidget(io.qt.widgets.QWidget, int, int, io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final void addWidget(io.qt.widgets.QWidget arg__1, int row, int column, io.qt.core.Qt.AlignmentFlag ... arg__4){
addWidget(arg__1, row, column, new io.qt.core.Qt.Alignment(arg__4));
}
/**
* Overloaded function for {@link #addWidget(io.qt.widgets.QWidget, int, int, io.qt.core.Qt.Alignment)}
* with arg__4 = new io.qt.core.Qt.Alignment(0)
.
*/
@io.qt.QtUninvokable
public final void addWidget(io.qt.widgets.QWidget arg__1, int row, int column) {
addWidget(arg__1, row, column, new io.qt.core.Qt.Alignment(0));
}
/**
* See QGridLayout::addWidget(QWidget*,int,int,Qt::Alignment)
*/
@io.qt.QtUninvokable
public final void addWidget(io.qt.widgets.QWidget arg__1, int row, int column, io.qt.core.Qt.Alignment arg__4){
if(QWidgetItem.hasWidgetItemV2(arg__1))
throw new IllegalArgumentException("Widget is already a layout member.");
addWidget_native_QWidget_ptr_int_int_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1), row, column, arg__4.value());
if (arg__1 != null && arg__1.parent()==null) {
QtJambi_LibraryUtilities.internal.addReferenceCount(this, io.qt.widgets.QLayout.class, "__rcLayoutedObjects", false, false, arg__1);
}
}
@io.qt.QtUninvokable
private native void addWidget_native_QWidget_ptr_int_int_QFlags_Qt_AlignmentFlag_(long __this__nativeId, long arg__1, int row, int column, int arg__4);
/**
* Overloaded function for {@link #addWidget(io.qt.widgets.QWidget, int, int, int, int, io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final void addWidget(io.qt.widgets.QWidget arg__1, int row, int column, int rowSpan, int columnSpan, io.qt.core.Qt.AlignmentFlag ... arg__6){
addWidget(arg__1, row, column, rowSpan, columnSpan, new io.qt.core.Qt.Alignment(arg__6));
}
/**
* Overloaded function for {@link #addWidget(io.qt.widgets.QWidget, int, int, int, int, io.qt.core.Qt.Alignment)}
* with arg__6 = new io.qt.core.Qt.Alignment(0)
.
*/
@io.qt.QtUninvokable
public final void addWidget(io.qt.widgets.QWidget arg__1, int row, int column, int rowSpan, int columnSpan) {
addWidget(arg__1, row, column, rowSpan, columnSpan, new io.qt.core.Qt.Alignment(0));
}
/**
* See QGridLayout::addWidget(QWidget*,int,int,int,int,Qt::Alignment)
*/
@io.qt.QtUninvokable
public final void addWidget(io.qt.widgets.QWidget arg__1, int row, int column, int rowSpan, int columnSpan, io.qt.core.Qt.Alignment arg__6){
if(QWidgetItem.hasWidgetItemV2(arg__1))
throw new IllegalArgumentException("Widget is already a layout member.");
addWidget_native_QWidget_ptr_int_int_int_int_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1), row, column, rowSpan, columnSpan, arg__6.value());
if (arg__1 != null && arg__1.parent()==null) {
QtJambi_LibraryUtilities.internal.addReferenceCount(this, io.qt.widgets.QLayout.class, "__rcLayoutedObjects", false, false, arg__1);
}
}
@io.qt.QtUninvokable
private native void addWidget_native_QWidget_ptr_int_int_int_int_QFlags_Qt_AlignmentFlag_(long __this__nativeId, long arg__1, int row, int column, int rowSpan, int columnSpan, int arg__6);
/**
* See QGridLayout::cellRect(int,int)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect cellRect(int row, int column){
return cellRect_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column);
}
@io.qt.QtUninvokable
private native io.qt.core.QRect cellRect_native_int_int_constfct(long __this__nativeId, int row, int column);
/**
* See QGridLayout::columnCount()const
*/
@io.qt.QtUninvokable
public final int columnCount(){
return columnCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int columnCount_native_constfct(long __this__nativeId);
/**
* See QGridLayout::columnMinimumWidth(int)const
*/
@io.qt.QtUninvokable
public final int columnMinimumWidth(int column){
return columnMinimumWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
@io.qt.QtUninvokable
private native int columnMinimumWidth_native_int_constfct(long __this__nativeId, int column);
/**
* See QGridLayout::columnStretch(int)const
*/
@io.qt.QtUninvokable
public final int columnStretch(int column){
return columnStretch_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column);
}
@io.qt.QtUninvokable
private native int columnStretch_native_int_constfct(long __this__nativeId, int column);
/**
* See QGridLayout::getItemPosition(int,int*,int*,int*,int*)const
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QGridLayout.ItemInfo getItemPosition(int idx){
return getItemPosition_native_int_int_ptr_int_ptr_int_ptr_int_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), idx);
}
@io.qt.QtUninvokable
private native io.qt.widgets.QGridLayout.ItemInfo getItemPosition_native_int_int_ptr_int_ptr_int_ptr_int_ptr_constfct(long __this__nativeId, int idx);
/**
* See QGridLayout::horizontalSpacing()const
*/
@io.qt.QtUninvokable
public final int horizontalSpacing(){
return horizontalSpacing_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int horizontalSpacing_native_constfct(long __this__nativeId);
/**
* See QGridLayout::itemAtPosition(int,int)const
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QLayoutItem itemAtPosition(int row, int column){
return itemAtPosition_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column);
}
@io.qt.QtUninvokable
private native io.qt.widgets.QLayoutItem itemAtPosition_native_int_int_constfct(long __this__nativeId, int row, int column);
/**
* See QGridLayout::originCorner()const
*/
@io.qt.QtUninvokable
public final io.qt.core.Qt.Corner originCorner(){
return io.qt.core.Qt.Corner.resolve(originCorner_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int originCorner_native_constfct(long __this__nativeId);
/**
* See QGridLayout::rowCount()const
*/
@io.qt.QtUninvokable
public final int rowCount(){
return rowCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int rowCount_native_constfct(long __this__nativeId);
/**
* See QGridLayout::rowMinimumHeight(int)const
*/
@io.qt.QtUninvokable
public final int rowMinimumHeight(int row){
return rowMinimumHeight_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
@io.qt.QtUninvokable
private native int rowMinimumHeight_native_int_constfct(long __this__nativeId, int row);
/**
* See QGridLayout::rowStretch(int)const
*/
@io.qt.QtUninvokable
public final int rowStretch(int row){
return rowStretch_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row);
}
@io.qt.QtUninvokable
private native int rowStretch_native_int_constfct(long __this__nativeId, int row);
/**
* See QGridLayout::setColumnMinimumWidth(int,int)
*/
@io.qt.QtUninvokable
public final void setColumnMinimumWidth(int column, int minSize){
setColumnMinimumWidth_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), column, minSize);
}
@io.qt.QtUninvokable
private native void setColumnMinimumWidth_native_int_int(long __this__nativeId, int column, int minSize);
/**
* See QGridLayout::setColumnStretch(int,int)
*/
@io.qt.QtUninvokable
public final void setColumnStretch(int column, int stretch){
setColumnStretch_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), column, stretch);
}
@io.qt.QtUninvokable
private native void setColumnStretch_native_int_int(long __this__nativeId, int column, int stretch);
@io.qt.QtUninvokable
public final void setDefaultPositioning(int n, io.qt.core.Qt.Orientation orient){
setDefaultPositioning_native_int_Qt_Orientation(QtJambi_LibraryUtilities.internal.nativeId(this), n, orient.value());
}
@io.qt.QtUninvokable
private native void setDefaultPositioning_native_int_Qt_Orientation(long __this__nativeId, int n, int orient);
/**
* See QGridLayout::setHorizontalSpacing(int)
*/
@io.qt.QtUninvokable
public final void setHorizontalSpacing(int spacing){
setHorizontalSpacing_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), spacing);
}
@io.qt.QtUninvokable
private native void setHorizontalSpacing_native_int(long __this__nativeId, int spacing);
/**
* See QGridLayout::setOriginCorner(Qt::Corner)
*/
@io.qt.QtUninvokable
public final void setOriginCorner(io.qt.core.Qt.Corner arg__1){
setOriginCorner_native_Qt_Corner(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@io.qt.QtUninvokable
private native void setOriginCorner_native_Qt_Corner(long __this__nativeId, int arg__1);
/**
* See QGridLayout::setRowMinimumHeight(int,int)
*/
@io.qt.QtUninvokable
public final void setRowMinimumHeight(int row, int minSize){
setRowMinimumHeight_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, minSize);
}
@io.qt.QtUninvokable
private native void setRowMinimumHeight_native_int_int(long __this__nativeId, int row, int minSize);
/**
* See QGridLayout::setRowStretch(int,int)
*/
@io.qt.QtUninvokable
public final void setRowStretch(int row, int stretch){
setRowStretch_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, stretch);
}
@io.qt.QtUninvokable
private native void setRowStretch_native_int_int(long __this__nativeId, int row, int stretch);
/**
* See QGridLayout::setSpacing(int)
*/
@io.qt.QtUninvokable
public final void setSpacing(int spacing){
setSpacing_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), spacing);
}
@io.qt.QtUninvokable
private native void setSpacing_native_int(long __this__nativeId, int spacing);
/**
* See QGridLayout::setVerticalSpacing(int)
*/
@io.qt.QtUninvokable
public final void setVerticalSpacing(int spacing){
setVerticalSpacing_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), spacing);
}
@io.qt.QtUninvokable
private native void setVerticalSpacing_native_int(long __this__nativeId, int spacing);
/**
* See QGridLayout::spacing()const
*/
@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 QGridLayout::verticalSpacing()const
*/
@io.qt.QtUninvokable
public final int verticalSpacing(){
return verticalSpacing_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int verticalSpacing_native_constfct(long __this__nativeId);
/**
* See QLayout::addItem(QLayoutItem*)
*/
@io.qt.QtUninvokable
public void addItem(io.qt.widgets.QLayoutItem arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
QWidget widget = arg__1.widget();
addItem_native_QLayoutItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
QtJambi_LibraryUtilities.internal.setCppOwnership(arg__1);
if(widget!=null && widget.parent()==null){
QtJambi_LibraryUtilities.internal.addReferenceCount(this, io.qt.widgets.QLayout.class, "__rcLayoutedObjects", false, false, widget);
}
}
@io.qt.QtUninvokable
private native void addItem_native_QLayoutItem_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtUninvokable
public int count(){
return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int count_native_constfct(long __this__nativeId);
/**
* See QLayoutItem::expandingDirections()const
*/
@io.qt.QtUninvokable
public io.qt.core.Qt.Orientations expandingDirections(){
return new io.qt.core.Qt.Orientations(expandingDirections_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
private native static int expandingDirections_native_constfct(long __this__nativeId);
/**
* See QLayoutItem::hasHeightForWidth()const
*/
@io.qt.QtUninvokable
public boolean hasHeightForWidth(){
return hasHeightForWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean hasHeightForWidth_native_constfct(long __this__nativeId);
/**
* See QLayoutItem::heightForWidth(int)const
*/
@io.qt.QtUninvokable
public int heightForWidth(int arg__1){
return heightForWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
private native static int heightForWidth_native_int_constfct(long __this__nativeId, int arg__1);
/**
*
*/
@io.qt.QtUninvokable
public void invalidate(){
invalidate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static void invalidate_native(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.widgets.QLayoutItem itemAt(int index){
return itemAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.widgets.QLayoutItem itemAt_native_int_constfct(long __this__nativeId, int index);
/**
* See QLayoutItem::maximumSize()const
*/
@io.qt.QtUninvokable
public io.qt.core.QSize maximumSize(){
return maximumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QSize maximumSize_native_constfct(long __this__nativeId);
/**
* See QLayoutItem::minimumHeightForWidth(int)const
*/
@io.qt.QtUninvokable
public int minimumHeightForWidth(int arg__1){
return minimumHeightForWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
private native static int minimumHeightForWidth_native_int_constfct(long __this__nativeId, int arg__1);
/**
* See QLayoutItem::minimumSize()const
*/
@io.qt.QtUninvokable
public io.qt.core.QSize minimumSize(){
return minimumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QSize minimumSize_native_constfct(long __this__nativeId);
/**
* See QLayoutItem::setGeometry(QRect)
*/
@io.qt.QtUninvokable
public void setGeometry(io.qt.core.QRect arg__1){
setGeometry_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
private native static void setGeometry_native_cref_QRect(long __this__nativeId, long arg__1);
/**
* See QLayoutItem::sizeHint()const
*/
@io.qt.QtUninvokable
public io.qt.core.QSize sizeHint(){
return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.widgets.QLayoutItem takeAt(int index){
io.qt.widgets.QLayoutItem __qt_return_value = takeAt_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
if(__qt_return_value != null){
QtJambi_LibraryUtilities.internal.setDefaultOwnership(__qt_return_value);
}
if(__qt_return_value != null){
QtJambi_LibraryUtilities.internal.setDefaultOwnership(__qt_return_value);
}
return __qt_return_value;
}
@io.qt.QtUninvokable
private native io.qt.widgets.QLayoutItem takeAt_native_int(long __this__nativeId, int index);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QGridLayout(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 QGridLayout(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QGridLayout instance, QDeclarativeConstructor constructor);
/**
* Result class for QGridLayout::getItemPosition(int,int*,int*,int*,int*)const.
*/
public static final class ItemInfo{
private ItemInfo(int row, int column, int rowSpan, int columnSpan){
this.row = row;
this.column = column;
this.rowSpan = rowSpan;
this.columnSpan = columnSpan;
}
public final int row;
public final int column;
public final int rowSpan;
public final int columnSpan;
}
}