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

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

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

import io.qt.*;


/**
 * 

Group box frame with a title

*

Java wrapper for Qt class QGroupBox

*/ public class QGroupBox extends io.qt.widgets.QWidget { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGroupBox.class); /** *

See QGroupBox::clicked(bool)

*/ public final @NonNull Signal1Default1 clicked = new Signal1Default1<>(()->false); /** *

See QGroupBox::toggled(bool)

*/ @QtPropertyNotify(name="checked") public final @NonNull Signal1 toggled = new Signal1<>(); /** *

See QGroupBox::QGroupBox(QString,QWidget*)

*/ public QGroupBox(java.lang.@NonNull String title, io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, title, parent); } private native static void initialize_native(QGroupBox instance, java.lang.String title, io.qt.widgets.QWidget parent); /** *

See QGroupBox::QGroupBox(QWidget*)

*/ public QGroupBox(io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QGroupBox instance, io.qt.widgets.QWidget parent); /** *

See QGroupBox::alignment()const

*/ @QtPropertyReader(name="alignment") @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment alignment(){ return new io.qt.core.Qt.Alignment(alignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int alignment_native_constfct(long __this__nativeId); /** *

See QGroupBox::isCheckable()const

*/ @QtPropertyReader(name="checkable") @QtUninvokable public final boolean isCheckable(){ return isCheckable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isCheckable_native_constfct(long __this__nativeId); /** *

See QGroupBox::isChecked()const

*/ @QtPropertyReader(name="checked") @QtPropertyUser @QtUninvokable public final boolean isChecked(){ return isChecked_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isChecked_native_constfct(long __this__nativeId); /** *

See QGroupBox::isFlat()const

*/ @QtPropertyReader(name="flat") @QtUninvokable public final boolean isFlat(){ return isFlat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isFlat_native_constfct(long __this__nativeId); /** *

See QGroupBox::setAlignment(int)

*/ @QtPropertyWriter(name="alignment") @QtUninvokable public final void setAlignment(int alignment){ setAlignment_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), alignment); } @QtUninvokable private native void setAlignment_native_int(long __this__nativeId, int alignment); /** *

See QGroupBox::setCheckable(bool)

*/ @QtPropertyWriter(name="checkable") @QtUninvokable public final void setCheckable(boolean checkable){ setCheckable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), checkable); } @QtUninvokable private native void setCheckable_native_bool(long __this__nativeId, boolean checkable); /** *

See QGroupBox::setChecked(bool)

*/ @QtPropertyWriter(name="checked") public final void setChecked(boolean checked){ setChecked_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), checked); } private native void setChecked_native_bool(long __this__nativeId, boolean checked); /** *

See QGroupBox::setFlat(bool)

*/ @QtPropertyWriter(name="flat") @QtUninvokable public final void setFlat(boolean flat){ setFlat_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), flat); } @QtUninvokable private native void setFlat_native_bool(long __this__nativeId, boolean flat); /** *

See QGroupBox::setTitle(QString)

*/ @QtPropertyWriter(name="title") @QtUninvokable public final void setTitle(java.lang.@NonNull String title){ setTitle_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), title); } @QtUninvokable private native void setTitle_native_cref_QString(long __this__nativeId, java.lang.String title); /** *

See QGroupBox::title()const

*/ @QtPropertyReader(name="title") @QtUninvokable public final java.lang.@NonNull String title(){ return title_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String title_native_constfct(long __this__nativeId); /** *

See QWidget::changeEvent(QEvent*)

*/ @QtUninvokable @Override protected void changeEvent(io.qt.core.@Nullable QEvent event){ changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QObject::childEvent(QChildEvent*)

*/ @QtUninvokable @Override protected void childEvent(io.qt.core.@Nullable QChildEvent event){ childEvent_native_QChildEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void childEvent_native_QChildEvent_ptr(long __this__nativeId, long event); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent event){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::focusInEvent(QFocusEvent*)

*/ @QtUninvokable @Override protected void focusInEvent(io.qt.gui.@Nullable QFocusEvent event){ focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long event); /** *

See QGroupBox::initStyleOption(QStyleOptionGroupBox*)const

*/ @QtUninvokable protected void initStyleOption(io.qt.widgets.@Nullable QStyleOptionGroupBox option){ initStyleOption_native_QStyleOptionGroupBox_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option)); } @QtUninvokable private native void initStyleOption_native_QStyleOptionGroupBox_ptr_constfct(long __this__nativeId, long option); /** *

See QWidget::minimumSizeHint()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize minimumSizeHint(){ return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId); /** *

See QWidget::mouseMoveEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mouseMoveEvent(io.qt.gui.@Nullable QMouseEvent event){ mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::mousePressEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent event){ mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::mouseReleaseEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mouseReleaseEvent(io.qt.gui.@Nullable QMouseEvent event){ mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::paintEvent(QPaintEvent*)

*/ @QtUninvokable @Override protected void paintEvent(io.qt.gui.@Nullable QPaintEvent event){ paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::resizeEvent(QResizeEvent*)

*/ @QtUninvokable @Override protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent event){ resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long event); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QGroupBox(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QGroupBox(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QGroupBox instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QGroupBox(java.lang.String, io.qt.widgets.QWidget)} * with parent = null.

*/ public QGroupBox(java.lang.@NonNull String title) { this(title, (io.qt.widgets.QWidget)null); } /** *

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

*/ public QGroupBox() { this((io.qt.widgets.QWidget)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #alignment()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment getAlignment() { return alignment(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isCheckable()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getCheckable() { return isCheckable(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isChecked()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getChecked() { return isChecked(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isFlat()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getFlat() { return isFlat(); } /** * @hidden *

Kotlin property getter. In Java use {@link #title()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getTitle() { return title(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy