io.qt.widgets.QGraphicsLayout Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* The base class for all layouts in Graphics View
* Java wrapper for Qt class QGraphicsLayout
*/
public abstract class QGraphicsLayout extends QtObject
implements io.qt.widgets.QGraphicsLayoutItem
{
static {
QtJambi_LibraryUtilities.initialize();
}
@QtPropertyMember(enabled=false)
private Object __rcItem = null;
@NativeAccess
private static final class ConcreteWrapper extends QGraphicsLayout {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public int count(){
return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int count_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public io.qt.widgets.@Nullable QGraphicsLayoutItem itemAt(int i){
return itemAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native io.qt.widgets.QGraphicsLayoutItem itemAt_native_int_constfct(long __this__nativeId, int i);
@Override
@QtUninvokable
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);
@Override
@QtUninvokable
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);
}
/**
* See QGraphicsLayout:: QGraphicsLayout(QGraphicsLayoutItem*)
*/
public QGraphicsLayout(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(QGraphicsLayout instance, io.qt.widgets.QGraphicsLayoutItem parent);
/**
* See QGraphicsLayout:: activate()
*/
@QtUninvokable
public final void activate(){
activate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void activate_native(long __this__nativeId);
/**
* See QGraphicsLayout:: addChildLayoutItem(QGraphicsLayoutItem*)
*/
@QtUninvokable
protected final void addChildLayoutItem(io.qt.widgets.@Nullable QGraphicsLayoutItem layoutItem){
addChildLayoutItem_native_QGraphicsLayoutItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(layoutItem));
QtJambi_LibraryUtilities.internal.setCppOwnership(layoutItem);
}
@QtUninvokable
private native void addChildLayoutItem_native_QGraphicsLayoutItem_ptr(long __this__nativeId, long layoutItem);
/**
* See QGraphicsLayoutItem:: contentsRect()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QRectF contentsRect(){
return contentsRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QRectF contentsRect_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: effectiveSizeHint(Qt::SizeHint, QSizeF)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSizeF effectiveSizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSizeF constraint){
return effectiveSizeHint_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 effectiveSizeHint_native_Qt_SizeHint_cref_QSizeF_constfct(long __this__nativeId, int which, long constraint);
/**
* See QGraphicsLayoutItem:: geometry()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QRectF geometry(){
return geometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QRectF geometry_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: graphicsItem()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QGraphicsItem graphicsItem(){
return graphicsItem_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.widgets.QGraphicsItem graphicsItem_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayout:: isActivated()const
*/
@QtUninvokable
public final boolean isActivated(){
return isActivated_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isActivated_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: isLayout()const
*/
@QtUninvokable
public final boolean isLayout(){
return isLayout_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean isLayout_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: maximumHeight()const
*/
@QtUninvokable
public final double maximumHeight(){
return maximumHeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static double maximumHeight_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: maximumSize()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSizeF maximumSize(){
return maximumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QSizeF maximumSize_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: maximumWidth()const
*/
@QtUninvokable
public final double maximumWidth(){
return maximumWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static double maximumWidth_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: minimumHeight()const
*/
@QtUninvokable
public final double minimumHeight(){
return minimumHeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static double minimumHeight_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: minimumSize()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSizeF minimumSize(){
return minimumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QSizeF minimumSize_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: minimumWidth()const
*/
@QtUninvokable
public final double minimumWidth(){
return minimumWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static double minimumWidth_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: ownedByLayout()const
*/
@QtUninvokable
public final boolean ownedByLayout(){
return ownedByLayout_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean ownedByLayout_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: parentLayoutItem()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QGraphicsLayoutItem parentLayoutItem(){
return parentLayoutItem_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.widgets.QGraphicsLayoutItem parentLayoutItem_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: preferredHeight()const
*/
@QtUninvokable
public final double preferredHeight(){
return preferredHeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static double preferredHeight_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: preferredSize()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSizeF preferredSize(){
return preferredSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QSizeF preferredSize_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: preferredWidth()const
*/
@QtUninvokable
public final double preferredWidth(){
return preferredWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static double preferredWidth_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayout:: setContentsMargins(qreal, qreal, qreal, qreal)
*/
@QtUninvokable
public final void setContentsMargins(double left, double top, double right, double bottom){
setContentsMargins_native_qreal_qreal_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), left, top, right, bottom);
}
@QtUninvokable
private native void setContentsMargins_native_qreal_qreal_qreal_qreal(long __this__nativeId, double left, double top, double right, double bottom);
/**
* See QGraphicsLayoutItem:: setGraphicsItem(QGraphicsItem*)
*/
@QtUninvokable
protected final void setGraphicsItem(io.qt.widgets.@Nullable QGraphicsItem item){
setGraphicsItem_native_QGraphicsItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
__rcItem = item;
}
private native static void setGraphicsItem_native_QGraphicsItem_ptr(long __this__nativeId, long item);
/**
* See QGraphicsLayoutItem:: setMaximumHeight(qreal)
*/
@QtUninvokable
public final void setMaximumHeight(double height){
setMaximumHeight_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), height);
}
private native static void setMaximumHeight_native_qreal(long __this__nativeId, double height);
/**
* See QGraphicsLayoutItem:: setMaximumSize(QSizeF)
*/
@QtUninvokable
public final void setMaximumSize(io.qt.core.@NonNull QSizeF size){
setMaximumSize_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
private native static void setMaximumSize_native_cref_QSizeF(long __this__nativeId, long size);
/**
* See QGraphicsLayoutItem:: setMaximumSize(qreal, qreal)
*/
@QtUninvokable
public final void setMaximumSize(double w, double h){
setMaximumSize_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), w, h);
}
private native static void setMaximumSize_native_qreal_qreal(long __this__nativeId, double w, double h);
/**
* See QGraphicsLayoutItem:: setMaximumWidth(qreal)
*/
@QtUninvokable
public final void setMaximumWidth(double width){
setMaximumWidth_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), width);
}
private native static void setMaximumWidth_native_qreal(long __this__nativeId, double width);
/**
* See QGraphicsLayoutItem:: setMinimumHeight(qreal)
*/
@QtUninvokable
public final void setMinimumHeight(double height){
setMinimumHeight_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), height);
}
private native static void setMinimumHeight_native_qreal(long __this__nativeId, double height);
/**
* See QGraphicsLayoutItem:: setMinimumSize(QSizeF)
*/
@QtUninvokable
public final void setMinimumSize(io.qt.core.@NonNull QSizeF size){
setMinimumSize_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
private native static void setMinimumSize_native_cref_QSizeF(long __this__nativeId, long size);
/**
* See QGraphicsLayoutItem:: setMinimumSize(qreal, qreal)
*/
@QtUninvokable
public final void setMinimumSize(double w, double h){
setMinimumSize_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), w, h);
}
private native static void setMinimumSize_native_qreal_qreal(long __this__nativeId, double w, double h);
/**
* See QGraphicsLayoutItem:: setMinimumWidth(qreal)
*/
@QtUninvokable
public final void setMinimumWidth(double width){
setMinimumWidth_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), width);
}
private native static void setMinimumWidth_native_qreal(long __this__nativeId, double width);
/**
* See QGraphicsLayoutItem:: setOwnedByLayout(bool)
*/
@QtUninvokable
protected final void setOwnedByLayout(boolean ownedByLayout){
boolean oldValue = this.ownedByLayout();
setOwnedByLayout_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), ownedByLayout);
if(oldValue!=ownedByLayout) {
if(ownedByLayout) {
if(this.parentLayoutItem()!=null && QtJambi_LibraryUtilities.internal.isJavaOwnership(this)) {
QtJambi_LibraryUtilities.internal.setCppOwnership(this);
}
}else {
QtJambi_LibraryUtilities.internal.setDefaultOwnership(this);
}
}
}
private native static void setOwnedByLayout_native_bool(long __this__nativeId, boolean ownedByLayout);
/**
* See QGraphicsLayoutItem:: setParentLayoutItem(QGraphicsLayoutItem*)
*/
@QtUninvokable
public final void setParentLayoutItem(io.qt.widgets.@Nullable QGraphicsLayoutItem parent){
if (parent instanceof QGraphicsWidget)
QtJambi_LibraryUtilities.internal.setCppOwnership(this);
else
QtJambi_LibraryUtilities.internal.setDefaultOwnership(this);
setParentLayoutItem_native_QGraphicsLayoutItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent));
}
private native static void setParentLayoutItem_native_QGraphicsLayoutItem_ptr(long __this__nativeId, long parent);
/**
* See QGraphicsLayoutItem:: setPreferredHeight(qreal)
*/
@QtUninvokable
public final void setPreferredHeight(double height){
setPreferredHeight_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), height);
}
private native static void setPreferredHeight_native_qreal(long __this__nativeId, double height);
/**
* See QGraphicsLayoutItem:: setPreferredSize(QSizeF)
*/
@QtUninvokable
public final void setPreferredSize(io.qt.core.@NonNull QSizeF size){
setPreferredSize_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
private native static void setPreferredSize_native_cref_QSizeF(long __this__nativeId, long size);
/**
* See QGraphicsLayoutItem:: setPreferredSize(qreal, qreal)
*/
@QtUninvokable
public final void setPreferredSize(double w, double h){
setPreferredSize_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), w, h);
}
private native static void setPreferredSize_native_qreal_qreal(long __this__nativeId, double w, double h);
/**
* See QGraphicsLayoutItem:: setPreferredWidth(qreal)
*/
@QtUninvokable
public final void setPreferredWidth(double width){
setPreferredWidth_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), width);
}
private native static void setPreferredWidth_native_qreal(long __this__nativeId, double width);
/**
* See QGraphicsLayoutItem:: setSizePolicy(QSizePolicy)
*/
@QtUninvokable
public final void setSizePolicy(io.qt.widgets.@NonNull QSizePolicy policy){
setSizePolicy_native_cref_QSizePolicy(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(policy));
}
private native static void setSizePolicy_native_cref_QSizePolicy(long __this__nativeId, long policy);
/**
* See QGraphicsLayoutItem:: setSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)
*/
@QtUninvokable
public final void setSizePolicy(io.qt.widgets.QSizePolicy.@NonNull Policy hPolicy, io.qt.widgets.QSizePolicy.@NonNull Policy vPolicy, io.qt.widgets.QSizePolicy.@NonNull ControlType controlType){
setSizePolicy_native_QSizePolicy_Policy_QSizePolicy_Policy_QSizePolicy_ControlType(QtJambi_LibraryUtilities.internal.nativeId(this), hPolicy.value(), vPolicy.value(), controlType.value());
}
private native static void setSizePolicy_native_QSizePolicy_Policy_QSizePolicy_Policy_QSizePolicy_ControlType(long __this__nativeId, int hPolicy, int vPolicy, int controlType);
/**
* See QGraphicsLayoutItem:: sizePolicy()const
*/
@QtUninvokable
public final io.qt.widgets.@NonNull QSizePolicy sizePolicy(){
return sizePolicy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.widgets.QSizePolicy sizePolicy_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayout:: count()const
*/
@QtUninvokable
public abstract int count();
@QtUninvokable
private native int count_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: getContentsMargins(qreal*, qreal*, qreal*, qreal*)const
*/
@QtUninvokable
@Override
public void getContentsMargins(double @NonNull[] margins){
if(margins.length<4) throw new IllegalArgumentException("An array of length 4 expected.");
getContentsMargins_native_qreal_ptr_qreal_ptr_qreal_ptr_qreal_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), margins);
}
private native static void getContentsMargins_native_qreal_ptr_qreal_ptr_qreal_ptr_qreal_ptr_constfct(long __this__nativeId, double[] margins);
/**
* See QGraphicsLayout:: invalidate()
*/
@QtUninvokable
public void invalidate(){
invalidate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void invalidate_native(long __this__nativeId);
/**
* See QGraphicsLayoutItem:: isEmpty()const
*/
@QtUninvokable
public boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean isEmpty_native_constfct(long __this__nativeId);
/**
* See QGraphicsLayout:: itemAt(int)const
*/
@QtUninvokable
public abstract io.qt.widgets.@Nullable QGraphicsLayoutItem itemAt(int i);
@QtUninvokable
private native io.qt.widgets.QGraphicsLayoutItem itemAt_native_int_constfct(long __this__nativeId, int i);
/**
* See QGraphicsLayout:: removeAt(int)
*/
@QtUninvokable
public abstract void removeAt(int index);
@QtUninvokable
private native void removeAt_native_int(long __this__nativeId, int index);
/**
* See QGraphicsLayoutItem:: setGeometry(QRectF)
*/
@QtUninvokable
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
protected abstract io.qt.core.@NonNull QSizeF sizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSizeF constraint);
private native static io.qt.core.QSizeF sizeHint_native_Qt_SizeHint_cref_QSizeF_constfct(long __this__nativeId, int which, long constraint);
/**
* See QGraphicsLayoutItem:: updateGeometry()
*/
@QtUninvokable
public void updateGeometry(){
updateGeometry_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static void updateGeometry_native(long __this__nativeId);
/**
* See QGraphicsLayout:: widgetEvent(QEvent*)
*/
@QtUninvokable
public void widgetEvent(io.qt.core.@Nullable QEvent e){
widgetEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void widgetEvent_native_QEvent_ptr(long __this__nativeId, long e);
/**
* See QGraphicsLayout:: instantInvalidatePropagation()
*/
public native static boolean instantInvalidatePropagation();
/**
* See QGraphicsLayout:: setInstantInvalidatePropagation(bool)
*/
public native static void setInstantInvalidatePropagation(boolean enable);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QGraphicsLayout(QPrivateConstructor p) { super(p); }
/**
* Overloaded constructor for {@link #QGraphicsLayout(io.qt.widgets.QGraphicsLayoutItem)}
* with parent = null
.
*/
public QGraphicsLayout() {
this((io.qt.widgets.QGraphicsLayoutItem)null);
}
/**
* Overloaded function for {@link #effectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)}
* with constraint = new io.qt.core.QSizeF()
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QSizeF effectiveSizeHint(io.qt.core.Qt.@NonNull SizeHint which) {
return effectiveSizeHint(which, new io.qt.core.QSizeF());
}
/**
* Overloaded function for {@link #effectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QSizeF effectiveSizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSize constraint) {
return effectiveSizeHint(which, new io.qt.core.QSizeF(constraint));
}
/**
* Overloaded function for {@link #setMaximumSize(io.qt.core.QSizeF)}.
*/
@QtUninvokable
public final void setMaximumSize(io.qt.core.@NonNull QSize size) {
setMaximumSize(new io.qt.core.QSizeF(size));
}
/**
* Overloaded function for {@link #setMinimumSize(io.qt.core.QSizeF)}.
*/
@QtUninvokable
public final void setMinimumSize(io.qt.core.@NonNull QSize size) {
setMinimumSize(new io.qt.core.QSizeF(size));
}
/**
* Overloaded function for {@link #setPreferredSize(io.qt.core.QSizeF)}.
*/
@QtUninvokable
public final void setPreferredSize(io.qt.core.@NonNull QSize size) {
setPreferredSize(new io.qt.core.QSizeF(size));
}
/**
* Overloaded function for {@link #setSizePolicy(io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.ControlType)}
* with controlType = io.qt.widgets.QSizePolicy.ControlType.DefaultType
.
*/
@QtUninvokable
public final void setSizePolicy(io.qt.widgets.QSizePolicy.@NonNull Policy hPolicy, io.qt.widgets.QSizePolicy.@NonNull Policy vPolicy) {
setSizePolicy(hPolicy, vPolicy, io.qt.widgets.QSizePolicy.ControlType.DefaultType);
}
/**
* Overloaded function for {@link #setGeometry(io.qt.core.QRectF)}.
*/
@QtUninvokable
public final void setGeometry(io.qt.core.@NonNull QRect rect) {
setGeometry(new io.qt.core.QRectF(rect));
}
/**
* Overloaded function for {@link #sizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)}
* with constraint = new io.qt.core.QSizeF()
.
*/
@QtUninvokable
protected final io.qt.core.@NonNull QSizeF sizeHint(io.qt.core.Qt.@NonNull SizeHint which) {
return sizeHint(which, new io.qt.core.QSizeF());
}
/**
* Overloaded function for {@link #sizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)}.
*/
@QtUninvokable
protected final io.qt.core.@NonNull QSizeF sizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSize constraint) {
return sizeHint(which, new io.qt.core.QSizeF(constraint));
}
}