io.qt.widgets.QCommandLinkButton Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Vista style command link button
* Java wrapper for Qt class QCommandLinkButton
*/
public class QCommandLinkButton extends io.qt.widgets.QPushButton
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCommandLinkButton.class);
/**
* See QCommandLinkButton:: QCommandLinkButton(QString, QString, QWidget*)
*/
public QCommandLinkButton(java.lang.@NonNull String text, java.lang.@NonNull String description, io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, text, description, parent);
}
private native static void initialize_native(QCommandLinkButton instance, java.lang.String text, java.lang.String description, io.qt.widgets.QWidget parent);
/**
* See QCommandLinkButton:: QCommandLinkButton(QString, QWidget*)
*/
public QCommandLinkButton(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(QCommandLinkButton instance, java.lang.String text, io.qt.widgets.QWidget parent);
/**
* See QCommandLinkButton:: QCommandLinkButton(QWidget*)
*/
public QCommandLinkButton(io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QCommandLinkButton instance, io.qt.widgets.QWidget parent);
/**
* See QCommandLinkButton:: description()const
*/
@QtPropertyReader(name="description")
@QtUninvokable
public final java.lang.@NonNull String description(){
return description_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String description_native_constfct(long __this__nativeId);
/**
* See QCommandLinkButton:: setDescription(QString)
*/
@QtPropertyWriter(name="description")
@QtUninvokable
public final void setDescription(java.lang.@NonNull String description){
setDescription_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), description);
}
@QtUninvokable
private native void setDescription_native_cref_QString(long __this__nativeId, java.lang.String description);
/**
*
*/
@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 QWidget:: heightForWidth(int)const
*/
@QtUninvokable
@Override
public int heightForWidth(int arg__1){
return heightForWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native int heightForWidth_native_int_constfct(long __this__nativeId, int arg__1);
/**
* See QPushButton:: initStyleOption(QStyleOptionButton*)const
*/
@QtUninvokable
@Override
protected void initStyleOption(io.qt.widgets.@Nullable QStyleOptionButton option){
initStyleOption_native_QStyleOptionButton_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option));
}
@QtUninvokable
private native void initStyleOption_native_QStyleOptionButton_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:: 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);
/**
*
*/
@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 QCommandLinkButton(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QCommandLinkButton(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QCommandLinkButton instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QCommandLinkButton(java.lang.String, java.lang.String, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QCommandLinkButton(java.lang.@NonNull String text, java.lang.@NonNull String description) {
this(text, description, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded constructor for {@link #QCommandLinkButton(java.lang.String, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QCommandLinkButton(java.lang.@NonNull String text) {
this(text, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded constructor for {@link #QCommandLinkButton(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QCommandLinkButton() {
this((io.qt.widgets.QWidget)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #description()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getDescription() {
return description();
}
}