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

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

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

import io.qt.*;


/**
 * 

Describes the parameters for drawing a group box

*

Java wrapper for Qt class QStyleOptionGroupBox

*/ public class QStyleOptionGroupBox extends io.qt.widgets.QStyleOptionComplex implements java.lang.Cloneable { /** *

See QStyleOptionGroupBox::QStyleOptionGroupBox()

*/ public QStyleOptionGroupBox(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QStyleOptionGroupBox instance); /** *

See QStyleOptionGroupBox::QStyleOptionGroupBox(QStyleOptionGroupBox)

*/ public QStyleOptionGroupBox(io.qt.widgets.@NonNull QStyleOptionGroupBox other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QStyleOptionGroupBox instance, io.qt.widgets.QStyleOptionGroupBox other); /** *

See QStyleOptionGroupBox::operator=(QStyleOptionGroupBox)

*/ @QtUninvokable public final void assign(io.qt.widgets.@NonNull QStyleOptionGroupBox arg__1){ assign_native_cref_QStyleOptionGroupBox(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QStyleOptionGroupBox(long __this__nativeId, long arg__1); /** *

The features of the group box frame

*

See QStyleOptionGroupBox::features

*/ @QtUninvokable public final void setFeatures(io.qt.widgets.QStyleOptionFrame.@NonNull FrameFeatures features){ setFeatures_native_cref_QStyleOptionFrame_FrameFeatures(QtJambi_LibraryUtilities.internal.nativeId(this), features.value()); } @QtUninvokable private native void setFeatures_native_cref_QStyleOptionFrame_FrameFeatures(long __this__nativeId, int features); /** *

The features of the group box frame

*

See QStyleOptionGroupBox::features

*/ @QtUninvokable public final io.qt.widgets.QStyleOptionFrame.@NonNull FrameFeatures features(){ return new io.qt.widgets.QStyleOptionFrame.FrameFeatures(features_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int features_native(long __this__nativeId); /** *

The line width for drawing the panel

*

See QStyleOptionGroupBox::lineWidth

*/ @QtUninvokable public final void setLineWidth(int lineWidth){ setLineWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), lineWidth); } @QtUninvokable private native void setLineWidth_native_int(long __this__nativeId, int lineWidth); /** *

The line width for drawing the panel

*

See QStyleOptionGroupBox::lineWidth

*/ @QtUninvokable public final int lineWidth(){ return lineWidth_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int lineWidth_native(long __this__nativeId); /** *

The mid-line width for drawing the panel

*

See QStyleOptionGroupBox::midLineWidth

*/ @QtUninvokable public final void setMidLineWidth(int midLineWidth){ setMidLineWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), midLineWidth); } @QtUninvokable private native void setMidLineWidth_native_int(long __this__nativeId, int midLineWidth); /** *

The mid-line width for drawing the panel

*

See QStyleOptionGroupBox::midLineWidth

*/ @QtUninvokable public final int midLineWidth(){ return midLineWidth_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int midLineWidth_native(long __this__nativeId); /** *

The text of the group box

*

See QStyleOptionGroupBox::text

*/ @QtUninvokable public final void setText(java.lang.@NonNull String text){ setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

The text of the group box

*

See QStyleOptionGroupBox::text

*/ @QtUninvokable public final java.lang.@NonNull String text(){ return text_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String text_native(long __this__nativeId); /** *

The alignment of the group box title

*

See QStyleOptionGroupBox::textAlignment

*/ @QtUninvokable public final void setTextAlignment(io.qt.core.Qt.@NonNull Alignment textAlignment){ setTextAlignment_native_cref_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), textAlignment.value()); } @QtUninvokable private native void setTextAlignment_native_cref_Qt_Alignment(long __this__nativeId, int textAlignment); /** *

The alignment of the group box title

*

See QStyleOptionGroupBox::textAlignment

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment textAlignment(){ return new io.qt.core.Qt.Alignment(textAlignment_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int textAlignment_native(long __this__nativeId); /** *

The color of the group box title

*

See QStyleOptionGroupBox::textColor

*/ @QtUninvokable public final void setTextColor(io.qt.gui.@NonNull QColor textColor){ setTextColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(textColor)); } @QtUninvokable private native void setTextColor_native_cref_QColor(long __this__nativeId, long textColor); /** *

The color of the group box title

*

See QStyleOptionGroupBox::textColor

*/ @QtUninvokable public final io.qt.gui.@NonNull QColor textColor(){ return textColor_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QColor textColor_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QStyleOptionGroupBox(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QStyleOptionGroupBox::QStyleOptionGroupBox(QStyleOptionGroupBox)

*/ @QtUninvokable @Override public QStyleOptionGroupBox clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QStyleOptionGroupBox clone_native(long __this_nativeId); /** * @deprecated Use {@link #assign(io.qt.widgets.QStyleOptionGroupBox)} instead. */ @Deprecated @QtUninvokable public final void set(io.qt.widgets.@NonNull QStyleOptionGroupBox arg__1) { assign(arg__1); } /** *

Overloaded function for {@link #setFeatures(io.qt.widgets.QStyleOptionFrame.FrameFeatures)}.

*/ @QtUninvokable public final void setFeatures(io.qt.widgets.QStyleOptionFrame.@NonNull FrameFeature @NonNull... features) { setFeatures(new io.qt.widgets.QStyleOptionFrame.FrameFeatures(features)); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.widgets.QStyleOptionFrame.@NonNull FrameFeatures getFeatures() { return features(); } /** * @hidden *

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

*/ @QtUninvokable public final int getLineWidth() { return lineWidth(); } /** * @hidden *

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

*/ @QtUninvokable public final int getMidLineWidth() { return midLineWidth(); } /** * @hidden *

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

*/ @QtUninvokable public final java.lang.@NonNull String getText() { return text(); } /** *

Overloaded function for {@link #setTextAlignment(io.qt.core.Qt.Alignment)}.

*/ @QtUninvokable public final void setTextAlignment(io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... textAlignment) { setTextAlignment(new io.qt.core.Qt.Alignment(textAlignment)); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment getTextAlignment() { return textAlignment(); } /** *

Overloaded function for {@link #setTextColor(io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setTextColor(io.qt.core.Qt.@NonNull GlobalColor textColor) { setTextColor(new io.qt.gui.QColor(textColor)); } /** *

Overloaded function for {@link #setTextColor(io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setTextColor(io.qt.gui.@NonNull QRgba64 textColor) { setTextColor(new io.qt.gui.QColor(textColor)); } /** *

Overloaded function for {@link #setTextColor(io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setTextColor(java.lang.@NonNull String textColor) { setTextColor(new io.qt.gui.QColor(textColor)); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.gui.@NonNull QColor getTextColor() { return textColor(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy