__rcLayoutedObjects;
@io.qt.QtPropertyMember(enabled=false)
private Object __rcMenuBar = null;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QLayout.class);
@io.qt.NativeAccess
private static final class ConcreteWrapper extends QLayout {
@io.qt.NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@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);
@Override
@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);
@Override
@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);
@Override
@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);
@Override
@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);
}
return __qt_return_value;
}
@io.qt.QtUninvokable
private native io.qt.widgets.QLayoutItem takeAt_native_int(long __this__nativeId, int index);
}
/**
* Java wrapper for Qt enum QLayout::SizeConstraint
*/
public enum SizeConstraint implements io.qt.QtEnumerator {
SetDefaultConstraint(0),
SetNoConstraint(1),
SetMinimumSize(2),
SetFixedSize(3),
SetMaximumSize(4),
SetMinAndMaxSize(5);
private SizeConstraint(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 SizeConstraint resolve(int value) {
switch (value) {
case 0: return SetDefaultConstraint;
case 1: return SetNoConstraint;
case 2: return SetMinimumSize;
case 3: return SetFixedSize;
case 4: return SetMaximumSize;
case 5: return SetMinAndMaxSize;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Overloaded constructor for {@link #QLayout(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QLayout() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QLayout::QLayout(QWidget*)
*/
public QLayout(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QLayout instance, io.qt.widgets.QWidget parent);
/**
* See QLayout::activate()
*/
@io.qt.QtUninvokable
public final boolean activate(){
return activate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean activate_native(long __this__nativeId);
/**
* See QLayout::addChildLayout(QLayout*)
*/
@io.qt.QtUninvokable
protected final void addChildLayout(io.qt.widgets.QLayout l){
addChildLayout_native_QLayout_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(l));
}
@io.qt.QtUninvokable
private native void addChildLayout_native_QLayout_ptr(long __this__nativeId, long l);
/**
* See QLayout::addChildWidget(QWidget*)
*/
@io.qt.QtUninvokable
protected final void addChildWidget(io.qt.widgets.QWidget w){
java.util.Objects.requireNonNull(w, "Argument 'w': null not expected.");
addChildWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
if (w.parent()==null) {
if(__rcLayoutedObjects==null)
__rcLayoutedObjects = QtJambi_LibraryUtilities.internal.newRCList();
__rcLayoutedObjects.add(w);
}
}
@io.qt.QtUninvokable
private native void addChildWidget_native_QWidget_ptr(long __this__nativeId, long w);
/**
* See QLayout::addWidget(QWidget*)
*/
@io.qt.QtDeclaredFinal
@io.qt.QtUninvokable
void add_widget(io.qt.widgets.QWidget w){
if(QWidgetItem.hasWidgetItemV2(w))
throw new IllegalArgumentException("Widget is already a layout member.");
java.util.Objects.requireNonNull(w, "Argument 'w': null not expected.");
add_widget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
if (w.parent()==null) {
if(__rcLayoutedObjects==null)
__rcLayoutedObjects = QtJambi_LibraryUtilities.internal.newRCList();
__rcLayoutedObjects.add(w);
}
}
@io.qt.QtUninvokable
private native void add_widget_native_QWidget_ptr(long __this__nativeId, long w);
@io.qt.QtUninvokable
protected final boolean adoptLayout(io.qt.widgets.QLayout layout){
return adoptLayout_native_QLayout_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(layout));
}
@io.qt.QtUninvokable
private native boolean adoptLayout_native_QLayout_ptr(long __this__nativeId, long layout);
/**
* See QLayoutItem::alignment()const
*/
@io.qt.QtUninvokable
public final io.qt.core.Qt.Alignment alignment(){
return new io.qt.core.Qt.Alignment(alignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
private native static int alignment_native_constfct(long __this__nativeId);
/**
* See QLayout::alignmentRect(QRect)const
*/
@io.qt.QtUninvokable
protected final io.qt.core.QRect alignmentRect(io.qt.core.QRect arg__1){
return alignmentRect_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect alignmentRect_native_cref_QRect_constfct(long __this__nativeId, long arg__1);
/**
* See QLayout::contentsMargins()const
*/
@io.qt.QtPropertyReader(name="contentsMargins")
@io.qt.QtUninvokable
public final io.qt.core.QMargins contentsMargins(){
return contentsMargins_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QMargins contentsMargins_native_constfct(long __this__nativeId);
/**
* See QLayout::contentsRect()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect contentsRect(){
return contentsRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect contentsRect_native_constfct(long __this__nativeId);
/**
* See QLayout::getContentsMargins(int*,int*,int*,int*)const
*/
@io.qt.QtUninvokable
public final void getContentsMargins(int[] margins){
if(margins.length<4) throw new IllegalArgumentException("An array of length 4 expected.");
getContentsMargins_native_int_ptr_int_ptr_int_ptr_int_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), margins);
}
@io.qt.QtUninvokable
private native void getContentsMargins_native_int_ptr_int_ptr_int_ptr_int_ptr_constfct(long __this__nativeId, int[] margins);
/**
* See QLayout::isEnabled()const
*/
@io.qt.QtUninvokable
public final boolean isEnabled(){
return isEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isEnabled_native_constfct(long __this__nativeId);
/**
* See QLayout::menuBar()const
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QWidget menuBar(){
return menuBar_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.widgets.QWidget menuBar_native_constfct(long __this__nativeId);
/**
* See QLayout::parentWidget()const
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QWidget parentWidget(){
return parentWidget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.widgets.QWidget parentWidget_native_constfct(long __this__nativeId);
/**
* See QLayout::removeItem(QLayoutItem*)
*/
@io.qt.QtUninvokable
public final void removeItem(io.qt.widgets.QLayoutItem arg__1){
QWidget widget = arg__1.widget();
removeItem_native_QLayoutItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
QtJambi_LibraryUtilities.internal.setDefaultOwnership(arg__1);
if(widget!=null && __rcLayoutedObjects!=null){
__rcLayoutedObjects.remove(widget);
}
}
@io.qt.QtUninvokable
private native void removeItem_native_QLayoutItem_ptr(long __this__nativeId, long arg__1);
/**
* See QLayout::removeWidget(QWidget*)
*/
@io.qt.QtUninvokable
public final void removeWidget(io.qt.widgets.QWidget w){
java.util.Objects.requireNonNull(w, "Argument 'w': null not expected.");
removeWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
while (__rcLayoutedObjects != null && __rcLayoutedObjects.remove(w)) ;
}
@io.qt.QtUninvokable
private native void removeWidget_native_QWidget_ptr(long __this__nativeId, long w);
/**
* Overloaded function for {@link #setAlignment(io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final void setAlignment(io.qt.core.Qt.AlignmentFlag ... a){
setAlignment(new io.qt.core.Qt.Alignment(a));
}
/**
* See QLayoutItem::setAlignment(QFlags<Qt::AlignmentFlag>)
*/
@io.qt.QtUninvokable
public final void setAlignment(io.qt.core.Qt.Alignment a){
setAlignment_native_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), a.value());
}
private native static void setAlignment_native_QFlags_Qt_AlignmentFlag_(long __this__nativeId, int a);
/**
* Overloaded function for {@link #setAlignment(io.qt.widgets.QLayout, io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final boolean setAlignment(io.qt.widgets.QLayout l, io.qt.core.Qt.AlignmentFlag ... alignment){
return setAlignment(l, new io.qt.core.Qt.Alignment(alignment));
}
/**
* See QLayout::setAlignment(QLayout*,Qt::Alignment)
*/
@io.qt.QtUninvokable
public final boolean setAlignment(io.qt.widgets.QLayout l, io.qt.core.Qt.Alignment alignment){
return setAlignment_native_QLayout_ptr_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(l), alignment.value());
}
@io.qt.QtUninvokable
private native boolean setAlignment_native_QLayout_ptr_QFlags_Qt_AlignmentFlag_(long __this__nativeId, long l, int alignment);
/**
* Overloaded function for {@link #setAlignment(io.qt.widgets.QWidget, io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final boolean setAlignment(io.qt.widgets.QWidget w, io.qt.core.Qt.AlignmentFlag ... alignment){
return setAlignment(w, new io.qt.core.Qt.Alignment(alignment));
}
/**
* See QLayout::setAlignment(QWidget*,Qt::Alignment)
*/
@io.qt.QtUninvokable
public final boolean setAlignment(io.qt.widgets.QWidget w, io.qt.core.Qt.Alignment alignment){
return setAlignment_native_QWidget_ptr_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(w), alignment.value());
}
@io.qt.QtUninvokable
private native boolean setAlignment_native_QWidget_ptr_QFlags_Qt_AlignmentFlag_(long __this__nativeId, long w, int alignment);
/**
* See QLayout::setContentsMargins(QMargins)
*/
@io.qt.QtPropertyWriter(name="contentsMargins")
@io.qt.QtUninvokable
public final void setContentsMargins(io.qt.core.QMargins margins){
setContentsMargins_native_cref_QMargins(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins));
}
@io.qt.QtUninvokable
private native void setContentsMargins_native_cref_QMargins(long __this__nativeId, long margins);
/**
* See QLayout::setContentsMargins(int,int,int,int)
*/
@io.qt.QtPropertyWriter(name="contentsMargins")
@io.qt.QtUninvokable
public final void setContentsMargins(int left, int top, int right, int bottom){
setContentsMargins_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), left, top, right, bottom);
}
@io.qt.QtUninvokable
private native void setContentsMargins_native_int_int_int_int(long __this__nativeId, int left, int top, int right, int bottom);
/**
* See QLayout::setEnabled(bool)
*/
@io.qt.QtUninvokable
public final void setEnabled(boolean arg__1){
setEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void setEnabled_native_bool(long __this__nativeId, boolean arg__1);
/**
* See QLayout::setMenuBar(QWidget*)
*/
@io.qt.QtUninvokable
public final void setMenuBar(io.qt.widgets.QWidget w){
setMenuBar_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
__rcMenuBar = w;
}
@io.qt.QtUninvokable
private native void setMenuBar_native_QWidget_ptr(long __this__nativeId, long w);
/**
* See QLayout::setSizeConstraint(QLayout::SizeConstraint)
*/
@io.qt.QtPropertyWriter(name="sizeConstraint")
@io.qt.QtUninvokable
public final void setSizeConstraint(io.qt.widgets.QLayout.SizeConstraint arg__1){
setSizeConstraint_native_QLayout_SizeConstraint(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@io.qt.QtUninvokable
private native void setSizeConstraint_native_QLayout_SizeConstraint(long __this__nativeId, int arg__1);
/**
* See QLayout::sizeConstraint()const
*/
@io.qt.QtPropertyReader(name="sizeConstraint")
@io.qt.QtUninvokable
public final io.qt.widgets.QLayout.SizeConstraint sizeConstraint(){
return io.qt.widgets.QLayout.SizeConstraint.resolve(sizeConstraint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int sizeConstraint_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public final int totalHeightForWidth(int w){
return totalHeightForWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), w);
}
@io.qt.QtUninvokable
private native int totalHeightForWidth_native_int_constfct(long __this__nativeId, int w);
@io.qt.QtUninvokable
public final io.qt.core.QSize totalMaximumSize(){
return totalMaximumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize totalMaximumSize_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public final int totalMinimumHeightForWidth(int w){
return totalMinimumHeightForWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), w);
}
@io.qt.QtUninvokable
private native int totalMinimumHeightForWidth_native_int_constfct(long __this__nativeId, int w);
@io.qt.QtUninvokable
public final io.qt.core.QSize totalMinimumSize(){
return totalMinimumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize totalMinimumSize_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public final io.qt.core.QSize totalSizeHint(){
return totalSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize totalSizeHint_native_constfct(long __this__nativeId);
/**
* See QLayout::unsetContentsMargins()
*/
@io.qt.QtPropertyResetter(name="contentsMargins")
@io.qt.QtUninvokable
public final void unsetContentsMargins(){
unsetContentsMargins_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void unsetContentsMargins_native(long __this__nativeId);
/**
* See QLayout::update()
*/
@io.qt.QtUninvokable
public final void update(){
update_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void update_native(long __this__nativeId);
@io.qt.QtUninvokable
protected final void widgetEvent(io.qt.core.QEvent arg__1){
widgetEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void widgetEvent_native_QEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QLayout::addItem(QLayoutItem*)
*/
@io.qt.QtUninvokable
public abstract void addItem(io.qt.widgets.QLayoutItem arg__1);
@io.qt.QtUninvokable
private native void addItem_native_QLayoutItem_ptr(long __this__nativeId, long arg__1);
/**
* See QObject::childEvent(QChildEvent*)
*/
@io.qt.QtUninvokable
protected void childEvent(io.qt.core.QChildEvent e){
childEvent_native_QChildEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void childEvent_native_QChildEvent_ptr(long __this__nativeId, long e);
/**
* See QLayoutItem::controlTypes()const
*/
@io.qt.QtUninvokable
public io.qt.widgets.QSizePolicy.ControlTypes controlTypes(){
return new io.qt.widgets.QSizePolicy.ControlTypes(controlTypes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
private native static int controlTypes_native_constfct(long __this__nativeId);
/**
* See QLayout::count()const
*/
@io.qt.QtUninvokable
public abstract int count();
@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::geometry()const
*/
@io.qt.QtUninvokable
public io.qt.core.QRect geometry(){
return geometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QRect geometry_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 int indexOf(io.qt.widgets.QLayoutItem arg__1){
return indexOf_native_const_QLayoutItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native int indexOf_native_const_QLayoutItem_ptr_constfct(long __this__nativeId, long arg__1);
@io.qt.QtUninvokable
public int indexOf(io.qt.widgets.QWidget arg__1){
return indexOf_native_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native int indexOf_native_const_QWidget_ptr_constfct(long __this__nativeId, long arg__1);
/**
* See QLayoutItem::invalidate()
*/
@io.qt.QtUninvokable
public void invalidate(){
invalidate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static void invalidate_native(long __this__nativeId);
/**
* See QLayoutItem::isEmpty()const
*/
@io.qt.QtUninvokable
public boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean isEmpty_native_constfct(long __this__nativeId);
/**
* See QLayout::itemAt(int)const
*/
@io.qt.QtUninvokable
public abstract io.qt.widgets.QLayoutItem itemAt(int index);
@io.qt.QtUninvokable
private native io.qt.widgets.QLayoutItem itemAt_native_int_constfct(long __this__nativeId, int index);
/**
* See QLayoutItem::layout()
*/
@io.qt.QtUninvokable
public io.qt.widgets.QLayout layout(){
return layout_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.widgets.QLayout layout_native(long __this__nativeId);
/**
* 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);
/**
* Overloaded function for {@link #replaceWidget(io.qt.widgets.QWidget, io.qt.widgets.QWidget, io.qt.core.Qt.FindChildOptions)}.
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QLayoutItem replaceWidget(io.qt.widgets.QWidget from, io.qt.widgets.QWidget to, io.qt.core.Qt.FindChildOption ... options){
return replaceWidget(from, to, new io.qt.core.Qt.FindChildOptions(options));
}
/**
* Overloaded function for {@link #replaceWidget(io.qt.widgets.QWidget, io.qt.widgets.QWidget, io.qt.core.Qt.FindChildOptions)}
* with options = new io.qt.core.Qt.FindChildOptions(1)
.
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QLayoutItem replaceWidget(io.qt.widgets.QWidget from, io.qt.widgets.QWidget to) {
return replaceWidget(from, to, new io.qt.core.Qt.FindChildOptions(1));
}
/**
* See QLayout::replaceWidget(QWidget*,QWidget*,Qt::FindChildOptions)
*/
@io.qt.QtUninvokable
public io.qt.widgets.QLayoutItem replaceWidget(io.qt.widgets.QWidget from, io.qt.widgets.QWidget to, io.qt.core.Qt.FindChildOptions options){
return replaceWidget_native_QWidget_ptr_QWidget_ptr_QFlags_Qt_FindChildOption_(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(from), QtJambi_LibraryUtilities.internal.checkedNativeId(to), options.value());
}
@io.qt.QtUninvokable
private native io.qt.widgets.QLayoutItem replaceWidget_native_QWidget_ptr_QWidget_ptr_QFlags_Qt_FindChildOption_(long __this__nativeId, long from, long to, int options);
/**
* 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 QLayout::setSpacing(int)
*/
@io.qt.QtUninvokable
public void setWidgetSpacing(int arg__1){
setWidgetSpacing_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void setWidgetSpacing_native_int(long __this__nativeId, int arg__1);
/**
* See QLayoutItem::sizeHint()const
*/
@io.qt.QtUninvokable
public abstract io.qt.core.QSize sizeHint();
private native static io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
* See QLayoutItem::spacerItem()
*/
@io.qt.QtUninvokable
public io.qt.widgets.QSpacerItem spacerItem(){
return spacerItem_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.widgets.QSpacerItem spacerItem_native(long __this__nativeId);
/**
* See QLayout::spacing()const
*/
@io.qt.QtUninvokable
public int widgetSpacing(){
return widgetSpacing_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int widgetSpacing_native_constfct(long __this__nativeId);
/**
* See QLayout::takeAt(int)
*/
@io.qt.QtUninvokable
public abstract io.qt.widgets.QLayoutItem takeAt(int index);
@io.qt.QtUninvokable
private native io.qt.widgets.QLayoutItem takeAt_native_int(long __this__nativeId, int index);
/**
* See QLayoutItem::widget()const
*/
@io.qt.QtUninvokable
public io.qt.widgets.QWidget widget(){
return widget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.widgets.QWidget widget_native_constfct(long __this__nativeId);
/**
* See QLayout::closestAcceptableSize(const QWidget*,QSize)
*/
public static io.qt.core.QSize closestAcceptableSize(io.qt.widgets.QWidget w, io.qt.core.QSize s){
return closestAcceptableSize_native_const_QWidget_ptr_cref_QSize(QtJambi_LibraryUtilities.internal.checkedNativeId(w), QtJambi_LibraryUtilities.internal.checkedNativeId(s));
}
private native static io.qt.core.QSize closestAcceptableSize_native_const_QWidget_ptr_cref_QSize(long w, long s);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QLayout(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 QLayout(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QLayout instance, QDeclarativeConstructor constructor);
@io.qt.QtUninvokable
public final void addWidget(io.qt.widgets.QWidget w){
add_widget(w);
}
}