
io.qt.widgets.QRadioButton Maven / Gradle / Ivy
package io.qt.widgets;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QRadioButton.class);
/**
* Overloaded constructor for {@link #QRadioButton(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QRadioButton() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QRadioButton::QRadioButton(QWidget*)
*/
public QRadioButton(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QRadioButton instance, io.qt.widgets.QWidget parent);
/**
* Overloaded constructor for {@link #QRadioButton(java.lang.String, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QRadioButton(java.lang.String text) {
this(text, (io.qt.widgets.QWidget)null);
}
/**
* See QRadioButton::QRadioButton(QString,QWidget*)
*/
public QRadioButton(java.lang.String text, io.qt.widgets.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);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent e){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long e);
/**
* See QAbstractButton::hitButton(QPoint)const
*/
@io.qt.QtUninvokable
protected boolean hitButton(io.qt.core.QPoint arg__1){
return hitButton_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native boolean hitButton_native_cref_QPoint_constfct(long __this__nativeId, long arg__1);
/**
* See QRadioButton::initStyleOption(QStyleOptionButton*)const
*/
@io.qt.QtUninvokable
protected void initStyleOption(io.qt.widgets.QStyleOptionButton button){
initStyleOption_native_QStyleOptionButton_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), button);
}
@io.qt.QtUninvokable
private native void initStyleOption_native_QStyleOptionButton_ptr_constfct(long __this__nativeId, io.qt.widgets.QStyleOptionButton button);
/**
* 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 arg__1){
mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::paintEvent(QPaintEvent*)
*/
@io.qt.QtUninvokable
protected void paintEvent(io.qt.gui.QPaintEvent arg__1){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.core.QSize sizeHint(){
return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QRadioButton(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 QRadioButton(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QRadioButton instance, QDeclarativeConstructor constructor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy