io.qt.widgets.QGroupBox Maven / Gradle / Ivy
package io.qt.widgets;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGroupBox.class);
/**
*
*/
public final Signal1Default1<@io.qt.QtPrimitiveType Boolean> clicked = new Signal1Default1<>(()->false);
/**
*
*/
@io.qt.QtPropertyNotify(name="checked")
public final Signal1<@io.qt.QtPrimitiveType Boolean> toggled = new Signal1<>();
/**
* Overloaded constructor for {@link #QGroupBox(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QGroupBox() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QGroupBox::QGroupBox(QWidget*)
*/
public QGroupBox(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QGroupBox instance, io.qt.widgets.QWidget parent);
/**
* Overloaded constructor for {@link #QGroupBox(java.lang.String, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QGroupBox(java.lang.String title) {
this(title, (io.qt.widgets.QWidget)null);
}
/**
* See QGroupBox::QGroupBox(QString,QWidget*)
*/
public QGroupBox(java.lang.String title, io.qt.widgets.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::alignment()const
*/
@io.qt.QtPropertyReader(name="alignment")
@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)));
}
@io.qt.QtUninvokable
private native int alignment_native_constfct(long __this__nativeId);
/**
* See QGroupBox::isCheckable()const
*/
@io.qt.QtPropertyReader(name="checkable")
@io.qt.QtUninvokable
public final boolean isCheckable(){
return isCheckable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isCheckable_native_constfct(long __this__nativeId);
/**
* See QGroupBox::isChecked()const
*/
@io.qt.QtPropertyReader(name="checked")
@io.qt.QtPropertyUser
@io.qt.QtUninvokable
public final boolean isChecked(){
return isChecked_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isChecked_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtPropertyReader(name="flat")
@io.qt.QtUninvokable
public final boolean isFlat(){
return isFlat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isFlat_native_constfct(long __this__nativeId);
/**
* See QGroupBox::setAlignment(int)
*/
@io.qt.QtPropertyWriter(name="alignment")
@io.qt.QtUninvokable
public final void setAlignment(int alignment){
setAlignment_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), alignment);
}
@io.qt.QtUninvokable
private native void setAlignment_native_int(long __this__nativeId, int alignment);
/**
* See QGroupBox::setCheckable(bool)
*/
@io.qt.QtPropertyWriter(name="checkable")
@io.qt.QtUninvokable
public final void setCheckable(boolean checkable){
setCheckable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), checkable);
}
@io.qt.QtUninvokable
private native void setCheckable_native_bool(long __this__nativeId, boolean checkable);
/**
* See QGroupBox::setChecked(bool)
*/
@io.qt.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);
/**
*
*/
@io.qt.QtPropertyWriter(name="flat")
@io.qt.QtUninvokable
public final void setFlat(boolean flat){
setFlat_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), flat);
}
@io.qt.QtUninvokable
private native void setFlat_native_bool(long __this__nativeId, boolean flat);
/**
* See QGroupBox::setTitle(QString)
*/
@io.qt.QtPropertyWriter(name="title")
@io.qt.QtUninvokable
public final void setTitle(java.lang.String title){
setTitle_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), title);
}
@io.qt.QtUninvokable
private native void setTitle_native_cref_QString(long __this__nativeId, java.lang.String title);
/**
*
*/
@io.qt.QtPropertyReader(name="title")
@io.qt.QtUninvokable
public final java.lang.String title(){
return title_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String title_native_constfct(long __this__nativeId);
/**
* See QWidget::changeEvent(QEvent*)
*/
@io.qt.QtUninvokable
protected void changeEvent(io.qt.core.QEvent event){
changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QObject::childEvent(QChildEvent*)
*/
@io.qt.QtUninvokable
protected void childEvent(io.qt.core.QChildEvent event){
childEvent_native_QChildEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void childEvent_native_QChildEvent_ptr(long __this__nativeId, long event);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent event){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::focusInEvent(QFocusEvent*)
*/
@io.qt.QtUninvokable
protected void focusInEvent(io.qt.gui.QFocusEvent event){
focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long event);
/**
* See QGroupBox::initStyleOption(QStyleOptionGroupBox*)const
*/
@io.qt.QtUninvokable
protected void initStyleOption(io.qt.widgets.QStyleOptionGroupBox option){
initStyleOption_native_QStyleOptionGroupBox_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option);
}
@io.qt.QtUninvokable
private native void initStyleOption_native_QStyleOptionGroupBox_ptr_constfct(long __this__nativeId, io.qt.widgets.QStyleOptionGroupBox option);
/**
* See QWidget::minimumSizeHint()const
*/
@io.qt.QtUninvokable
public io.qt.core.QSize minimumSizeHint(){
return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId);
/**
* See QWidget::mouseMoveEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseMoveEvent(io.qt.gui.QMouseEvent event){
mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::mousePressEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mousePressEvent(io.qt.gui.QMouseEvent event){
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::mouseReleaseEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseReleaseEvent(io.qt.gui.QMouseEvent event){
mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::paintEvent(QPaintEvent*)
*/
@io.qt.QtUninvokable
protected void paintEvent(io.qt.gui.QPaintEvent event){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::resizeEvent(QResizeEvent*)
*/
@io.qt.QtUninvokable
protected void resizeEvent(io.qt.gui.QResizeEvent event){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long event);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QGroupBox(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 QGroupBox(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QGroupBox instance, QDeclarativeConstructor constructor);
}