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

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

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

import io.qt.*;


/**
 * 

Grid layout for managing widgets in Graphics View

*

Java wrapper for Qt class QGraphicsGridLayout

*/ public class QGraphicsGridLayout extends io.qt.widgets.QGraphicsLayout { /** *

See QGraphicsGridLayout::QGraphicsGridLayout(QGraphicsLayoutItem*)

*/ public QGraphicsGridLayout(io.qt.widgets.@Nullable QGraphicsLayoutItem parent){ super((QPrivateConstructor)null); if (parent instanceof QGraphicsWidget) QtJambi_LibraryUtilities.internal.setCppOwnership(this); initialize_native(this, parent); } private native static void initialize_native(QGraphicsGridLayout instance, io.qt.widgets.QGraphicsLayoutItem parent); /** *

See QGraphicsGridLayout::addItem(QGraphicsLayoutItem*,int,int,Qt::Alignment)

*/ @QtUninvokable public final void addItem(io.qt.widgets.@Nullable QGraphicsLayoutItem item, int row, int column, io.qt.core.Qt.@NonNull Alignment alignment){ addItem_native_QGraphicsLayoutItem_ptr_int_int_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), row, column, alignment.value()); QtJambi_LibraryUtilities.internal.setCppOwnership(item); } @QtUninvokable private native void addItem_native_QGraphicsLayoutItem_ptr_int_int_Qt_Alignment(long __this__nativeId, long item, int row, int column, int alignment); /** *

See QGraphicsGridLayout::addItem(QGraphicsLayoutItem*,int,int,int,int,Qt::Alignment)

*/ @QtUninvokable public final void addItem(io.qt.widgets.@Nullable QGraphicsLayoutItem item, int row, int column, int rowSpan, int columnSpan, io.qt.core.Qt.@NonNull Alignment alignment){ addItem_native_QGraphicsLayoutItem_ptr_int_int_int_int_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), row, column, rowSpan, columnSpan, alignment.value()); QtJambi_LibraryUtilities.internal.setCppOwnership(item); } @QtUninvokable private native void addItem_native_QGraphicsLayoutItem_ptr_int_int_int_int_Qt_Alignment(long __this__nativeId, long item, int row, int column, int rowSpan, int columnSpan, int alignment); /** *

See QGraphicsGridLayout::alignment(QGraphicsLayoutItem*)const

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment alignment(io.qt.widgets.@Nullable QGraphicsLayoutItem item){ return new io.qt.core.Qt.Alignment(alignment_native_QGraphicsLayoutItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item))); } @QtUninvokable private native int alignment_native_QGraphicsLayoutItem_ptr_constfct(long __this__nativeId, long item); /** *

See QGraphicsGridLayout::columnAlignment(int)const

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment columnAlignment(int column){ return new io.qt.core.Qt.Alignment(columnAlignment_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column)); } @QtUninvokable private native int columnAlignment_native_int_constfct(long __this__nativeId, int column); /** *

See QGraphicsGridLayout::columnCount()const

*/ @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 QGraphicsGridLayout::columnMaximumWidth(int)const

*/ @QtUninvokable public final double columnMaximumWidth(int column){ return columnMaximumWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native double columnMaximumWidth_native_int_constfct(long __this__nativeId, int column); /** *

See QGraphicsGridLayout::columnMinimumWidth(int)const

*/ @QtUninvokable public final double columnMinimumWidth(int column){ return columnMinimumWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native double columnMinimumWidth_native_int_constfct(long __this__nativeId, int column); /** *

See QGraphicsGridLayout::columnPreferredWidth(int)const

*/ @QtUninvokable public final double columnPreferredWidth(int column){ return columnPreferredWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native double columnPreferredWidth_native_int_constfct(long __this__nativeId, int column); /** *

See QGraphicsGridLayout::columnSpacing(int)const

*/ @QtUninvokable public final double columnSpacing(int column){ return columnSpacing_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native double columnSpacing_native_int_constfct(long __this__nativeId, int column); /** *

See QGraphicsGridLayout::columnStretchFactor(int)const

*/ @QtUninvokable public final int columnStretchFactor(int column){ return columnStretchFactor_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), column); } @QtUninvokable private native int columnStretchFactor_native_int_constfct(long __this__nativeId, int column); /** *

See QGraphicsGridLayout::horizontalSpacing()const

*/ @QtUninvokable public final double horizontalSpacing(){ return horizontalSpacing_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double horizontalSpacing_native_constfct(long __this__nativeId); /** *

See QGraphicsGridLayout::itemAt(int,int)const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsLayoutItem itemAt(int row, int column){ return itemAt_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column); } @QtUninvokable private native io.qt.widgets.QGraphicsLayoutItem itemAt_native_int_int_constfct(long __this__nativeId, int row, int column); /** *

See QGraphicsGridLayout::removeItem(QGraphicsLayoutItem*)

*/ @QtUninvokable public final void removeItem(io.qt.widgets.@Nullable QGraphicsLayoutItem item){ removeItem_native_QGraphicsLayoutItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item)); QtJambi_LibraryUtilities.internal.setDefaultOwnership(item); } @QtUninvokable private native void removeItem_native_QGraphicsLayoutItem_ptr(long __this__nativeId, long item); /** *

See QGraphicsGridLayout::rowAlignment(int)const

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment rowAlignment(int row){ return new io.qt.core.Qt.Alignment(rowAlignment_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row)); } @QtUninvokable private native int rowAlignment_native_int_constfct(long __this__nativeId, int row); /** *

See QGraphicsGridLayout::rowCount()const

*/ @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 QGraphicsGridLayout::rowMaximumHeight(int)const

*/ @QtUninvokable public final double rowMaximumHeight(int row){ return rowMaximumHeight_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native double rowMaximumHeight_native_int_constfct(long __this__nativeId, int row); /** *

See QGraphicsGridLayout::rowMinimumHeight(int)const

*/ @QtUninvokable public final double rowMinimumHeight(int row){ return rowMinimumHeight_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native double rowMinimumHeight_native_int_constfct(long __this__nativeId, int row); /** *

See QGraphicsGridLayout::rowPreferredHeight(int)const

*/ @QtUninvokable public final double rowPreferredHeight(int row){ return rowPreferredHeight_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native double rowPreferredHeight_native_int_constfct(long __this__nativeId, int row); /** *

See QGraphicsGridLayout::rowSpacing(int)const

*/ @QtUninvokable public final double rowSpacing(int row){ return rowSpacing_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native double rowSpacing_native_int_constfct(long __this__nativeId, int row); /** *

See QGraphicsGridLayout::rowStretchFactor(int)const

*/ @QtUninvokable public final int rowStretchFactor(int row){ return rowStretchFactor_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row); } @QtUninvokable private native int rowStretchFactor_native_int_constfct(long __this__nativeId, int row); /** *

See QGraphicsGridLayout::setAlignment(QGraphicsLayoutItem*,Qt::Alignment)

*/ @QtUninvokable public final void setAlignment(io.qt.widgets.@Nullable QGraphicsLayoutItem item, io.qt.core.Qt.@NonNull Alignment alignment){ setAlignment_native_QGraphicsLayoutItem_ptr_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), alignment.value()); } @QtUninvokable private native void setAlignment_native_QGraphicsLayoutItem_ptr_Qt_Alignment(long __this__nativeId, long item, int alignment); /** *

See QGraphicsGridLayout::setColumnAlignment(int,Qt::Alignment)

*/ @QtUninvokable public final void setColumnAlignment(int column, io.qt.core.Qt.@NonNull Alignment alignment){ setColumnAlignment_native_int_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), column, alignment.value()); } @QtUninvokable private native void setColumnAlignment_native_int_Qt_Alignment(long __this__nativeId, int column, int alignment); /** *

See QGraphicsGridLayout::setColumnFixedWidth(int,qreal)

*/ @QtUninvokable public final void setColumnFixedWidth(int column, double width){ setColumnFixedWidth_native_int_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), column, width); } @QtUninvokable private native void setColumnFixedWidth_native_int_qreal(long __this__nativeId, int column, double width); /** *

See QGraphicsGridLayout::setColumnMaximumWidth(int,qreal)

*/ @QtUninvokable public final void setColumnMaximumWidth(int column, double width){ setColumnMaximumWidth_native_int_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), column, width); } @QtUninvokable private native void setColumnMaximumWidth_native_int_qreal(long __this__nativeId, int column, double width); /** *

See QGraphicsGridLayout::setColumnMinimumWidth(int,qreal)

*/ @QtUninvokable public final void setColumnMinimumWidth(int column, double width){ setColumnMinimumWidth_native_int_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), column, width); } @QtUninvokable private native void setColumnMinimumWidth_native_int_qreal(long __this__nativeId, int column, double width); /** *

See QGraphicsGridLayout::setColumnPreferredWidth(int,qreal)

*/ @QtUninvokable public final void setColumnPreferredWidth(int column, double width){ setColumnPreferredWidth_native_int_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), column, width); } @QtUninvokable private native void setColumnPreferredWidth_native_int_qreal(long __this__nativeId, int column, double width); /** *

See QGraphicsGridLayout::setColumnSpacing(int,qreal)

*/ @QtUninvokable public final void setColumnSpacing(int column, double spacing){ setColumnSpacing_native_int_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), column, spacing); } @QtUninvokable private native void setColumnSpacing_native_int_qreal(long __this__nativeId, int column, double spacing); /** *

See QGraphicsGridLayout::setColumnStretchFactor(int,int)

*/ @QtUninvokable public final void setColumnStretchFactor(int column, int stretch){ setColumnStretchFactor_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), column, stretch); } @QtUninvokable private native void setColumnStretchFactor_native_int_int(long __this__nativeId, int column, int stretch); /** *

See QGraphicsGridLayout::setHorizontalSpacing(qreal)

*/ @QtUninvokable public final void setHorizontalSpacing(double spacing){ setHorizontalSpacing_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), spacing); } @QtUninvokable private native void setHorizontalSpacing_native_qreal(long __this__nativeId, double spacing); /** *

See QGraphicsGridLayout::setRowAlignment(int,Qt::Alignment)

*/ @QtUninvokable public final void setRowAlignment(int row, io.qt.core.Qt.@NonNull Alignment alignment){ setRowAlignment_native_int_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), row, alignment.value()); } @QtUninvokable private native void setRowAlignment_native_int_Qt_Alignment(long __this__nativeId, int row, int alignment); /** *

See QGraphicsGridLayout::setRowFixedHeight(int,qreal)

*/ @QtUninvokable public final void setRowFixedHeight(int row, double height){ setRowFixedHeight_native_int_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), row, height); } @QtUninvokable private native void setRowFixedHeight_native_int_qreal(long __this__nativeId, int row, double height); /** *

See QGraphicsGridLayout::setRowMaximumHeight(int,qreal)

*/ @QtUninvokable public final void setRowMaximumHeight(int row, double height){ setRowMaximumHeight_native_int_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), row, height); } @QtUninvokable private native void setRowMaximumHeight_native_int_qreal(long __this__nativeId, int row, double height); /** *

See QGraphicsGridLayout::setRowMinimumHeight(int,qreal)

*/ @QtUninvokable public final void setRowMinimumHeight(int row, double height){ setRowMinimumHeight_native_int_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), row, height); } @QtUninvokable private native void setRowMinimumHeight_native_int_qreal(long __this__nativeId, int row, double height); /** *

See QGraphicsGridLayout::setRowPreferredHeight(int,qreal)

*/ @QtUninvokable public final void setRowPreferredHeight(int row, double height){ setRowPreferredHeight_native_int_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), row, height); } @QtUninvokable private native void setRowPreferredHeight_native_int_qreal(long __this__nativeId, int row, double height); /** *

See QGraphicsGridLayout::setRowSpacing(int,qreal)

*/ @QtUninvokable public final void setRowSpacing(int row, double spacing){ setRowSpacing_native_int_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), row, spacing); } @QtUninvokable private native void setRowSpacing_native_int_qreal(long __this__nativeId, int row, double spacing); /** *

See QGraphicsGridLayout::setRowStretchFactor(int,int)

*/ @QtUninvokable public final void setRowStretchFactor(int row, int stretch){ setRowStretchFactor_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, stretch); } @QtUninvokable private native void setRowStretchFactor_native_int_int(long __this__nativeId, int row, int stretch); /** *

See QGraphicsGridLayout::setSpacing(qreal)

*/ @QtUninvokable public final void setSpacing(double spacing){ setSpacing_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), spacing); } @QtUninvokable private native void setSpacing_native_qreal(long __this__nativeId, double spacing); /** *

See QGraphicsGridLayout::setVerticalSpacing(qreal)

*/ @QtUninvokable public final void setVerticalSpacing(double spacing){ setVerticalSpacing_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), spacing); } @QtUninvokable private native void setVerticalSpacing_native_qreal(long __this__nativeId, double spacing); /** *

See QGraphicsGridLayout::verticalSpacing()const

*/ @QtUninvokable public final double verticalSpacing(){ return verticalSpacing_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double verticalSpacing_native_constfct(long __this__nativeId); /** *

See QGraphicsLayout::count()const

*/ @QtUninvokable @Override public int count(){ return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int count_native_constfct(long __this__nativeId); /** *

See QGraphicsLayout::invalidate()

*/ @QtUninvokable @Override public void invalidate(){ invalidate_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void invalidate_native(long __this__nativeId); /** *

See QGraphicsLayout::itemAt(int)const

*/ @QtUninvokable @Override public io.qt.widgets.@Nullable QGraphicsLayoutItem itemAt(int index){ return itemAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native io.qt.widgets.QGraphicsLayoutItem itemAt_native_int_constfct(long __this__nativeId, int index); /** *

See QGraphicsLayout::removeAt(int)

*/ @QtUninvokable @Override public void removeAt(int index){ QGraphicsLayoutItem __item = itemAt(index); removeAt_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index); if(__item != null){ QtJambi_LibraryUtilities.internal.setDefaultOwnership(__item); } } @QtUninvokable private native void removeAt_native_int(long __this__nativeId, int index); /** *

See QGraphicsLayoutItem::setGeometry(QRectF)

*/ @QtUninvokable @Override public void setGeometry(io.qt.core.@NonNull QRectF rect){ setGeometry_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } private native static void setGeometry_native_cref_QRectF(long __this__nativeId, long rect); /** *

See QGraphicsLayoutItem::sizeHint(Qt::SizeHint,QSizeF)const

*/ @QtUninvokable @Override protected io.qt.core.@NonNull QSizeF sizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSizeF constraint){ return sizeHint_native_Qt_SizeHint_cref_QSizeF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), which.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(constraint)); } private native static io.qt.core.QSizeF sizeHint_native_Qt_SizeHint_cref_QSizeF_constfct(long __this__nativeId, int which, long constraint); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QGraphicsGridLayout(QPrivateConstructor p) { super(p); } /** *

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

*/ public QGraphicsGridLayout() { this((io.qt.widgets.QGraphicsLayoutItem)null); } /** *

Overloaded function for {@link #addItem(io.qt.widgets.QGraphicsLayoutItem, int, int, io.qt.core.Qt.Alignment)} * with alignment = new io.qt.core.Qt.Alignment(0).

*/ @QtUninvokable public final void addItem(io.qt.widgets.@Nullable QGraphicsLayoutItem item, int row, int column) { addItem(item, row, column, new io.qt.core.Qt.Alignment(0)); } /** *

Overloaded function for {@link #addItem(io.qt.widgets.QGraphicsLayoutItem, int, int, io.qt.core.Qt.Alignment)}.

*/ @QtUninvokable public final void addItem(io.qt.widgets.@Nullable QGraphicsLayoutItem item, int row, int column, io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... alignment) { addItem(item, row, column, new io.qt.core.Qt.Alignment(alignment)); } /** *

Overloaded function for {@link #addItem(io.qt.widgets.QGraphicsLayoutItem, int, int, int, int, io.qt.core.Qt.Alignment)} * with alignment = new io.qt.core.Qt.Alignment(0).

*/ @QtUninvokable public final void addItem(io.qt.widgets.@Nullable QGraphicsLayoutItem 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.QGraphicsLayoutItem, int, int, int, int, io.qt.core.Qt.Alignment)}.

*/ @QtUninvokable public final void addItem(io.qt.widgets.@Nullable QGraphicsLayoutItem item, int row, int column, int rowSpan, int columnSpan, io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... alignment) { addItem(item, row, column, rowSpan, columnSpan, new io.qt.core.Qt.Alignment(alignment)); } /** *

Overloaded function for {@link #setAlignment(io.qt.widgets.QGraphicsLayoutItem, io.qt.core.Qt.Alignment)}.

*/ @QtUninvokable public final void setAlignment(io.qt.widgets.@Nullable QGraphicsLayoutItem item, io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... alignment) { setAlignment(item, new io.qt.core.Qt.Alignment(alignment)); } /** *

Overloaded function for {@link #setColumnAlignment(int, io.qt.core.Qt.Alignment)}.

*/ @QtUninvokable public final void setColumnAlignment(int column, io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... alignment) { setColumnAlignment(column, new io.qt.core.Qt.Alignment(alignment)); } /** *

Overloaded function for {@link #setRowAlignment(int, io.qt.core.Qt.Alignment)}.

*/ @QtUninvokable public final void setRowAlignment(int row, io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... alignment) { setRowAlignment(row, new io.qt.core.Qt.Alignment(alignment)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy