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

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

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

import io.qt.*;


/**
 * 

Radio button with a text label

*

Java wrapper for Qt class QRadioButton

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

See QRadioButton::QRadioButton(QString,QWidget*)

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

See QRadioButton::QRadioButton(QWidget*)

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

See QObject::event(QEvent*)

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

See QAbstractButton::hitButton(QPoint)const

*/ @QtUninvokable @Override protected boolean hitButton(io.qt.core.@NonNull QPoint arg__1){ return hitButton_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native boolean hitButton_native_cref_QPoint_constfct(long __this__nativeId, long arg__1); /** *

See QRadioButton::initStyleOption(QStyleOptionButton*)const

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

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 arg__1){ mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1); /** *

See QWidget::paintEvent(QPaintEvent*)

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

See QWidget::sizeHint()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize sizeHint(){ return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRadioButton(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QRadioButton(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QRadioButton instance, QDeclarativeConstructor constructor); /** *

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

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

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

*/ public QRadioButton() { this((io.qt.widgets.QWidget)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy