io.qt.widgets.QStyleOptionGroupBox Maven / Gradle / Ivy
package io.qt.widgets;
/**
* 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.QStyleOptionGroupBox other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QStyleOptionGroupBox instance, io.qt.widgets.QStyleOptionGroupBox other);
@io.qt.QtUninvokable
public final void set(io.qt.widgets.QStyleOptionGroupBox arg__1){
set_native_cref_QStyleOptionGroupBox(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void set_native_cref_QStyleOptionGroupBox(long __this__nativeId, long arg__1);
/**
* Overloaded function for {@link #setFeatures(io.qt.widgets.QStyleOptionFrame.FrameFeatures)}.
*/
@io.qt.QtUninvokable
public final void setFeatures(io.qt.widgets.QStyleOptionFrame.FrameFeature ... features){
setFeatures(new io.qt.widgets.QStyleOptionFrame.FrameFeatures(features));
}
/**
* The features of the group box frame
* See QStyleOptionGroupBox::features
*/
@io.qt.QtUninvokable
public final void setFeatures(io.qt.widgets.QStyleOptionFrame.FrameFeatures features){
setFeatures_native_cref_QFlags_QStyleOptionFrame_FrameFeature_(QtJambi_LibraryUtilities.internal.nativeId(this), features.value());
}
@io.qt.QtUninvokable
private native void setFeatures_native_cref_QFlags_QStyleOptionFrame_FrameFeature_(long __this__nativeId, int features);
/**
* The features of the group box frame
* See QStyleOptionGroupBox::features
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QStyleOptionFrame.FrameFeatures features(){
return new io.qt.widgets.QStyleOptionFrame.FrameFeatures(features_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int features_native(long __this__nativeId);
/**
* The line width for drawing the panel
* See QStyleOptionGroupBox::lineWidth
*/
@io.qt.QtUninvokable
public final void setLineWidth(int lineWidth){
setLineWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), lineWidth);
}
@io.qt.QtUninvokable
private native void setLineWidth_native_int(long __this__nativeId, int lineWidth);
/**
* The line width for drawing the panel
* See QStyleOptionGroupBox::lineWidth
*/
@io.qt.QtUninvokable
public final int lineWidth(){
return lineWidth_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int lineWidth_native(long __this__nativeId);
/**
* The mid-line width for drawing the panel
* See QStyleOptionGroupBox::midLineWidth
*/
@io.qt.QtUninvokable
public final void setMidLineWidth(int midLineWidth){
setMidLineWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), midLineWidth);
}
@io.qt.QtUninvokable
private native void setMidLineWidth_native_int(long __this__nativeId, int midLineWidth);
/**
* The mid-line width for drawing the panel
* See QStyleOptionGroupBox::midLineWidth
*/
@io.qt.QtUninvokable
public final int midLineWidth(){
return midLineWidth_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int midLineWidth_native(long __this__nativeId);
/**
* The text of the group box
* See QStyleOptionGroupBox::text
*/
@io.qt.QtUninvokable
public final void setText(java.lang.String text){
setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@io.qt.QtUninvokable
private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* The text of the group box
* See QStyleOptionGroupBox::text
*/
@io.qt.QtUninvokable
public final java.lang.String text(){
return text_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String text_native(long __this__nativeId);
/**
* Overloaded function for {@link #setTextAlignment(io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final void setTextAlignment(io.qt.core.Qt.AlignmentFlag ... textAlignment){
setTextAlignment(new io.qt.core.Qt.Alignment(textAlignment));
}
/**
* The alignment of the group box title
* See QStyleOptionGroupBox::textAlignment
*/
@io.qt.QtUninvokable
public final void setTextAlignment(io.qt.core.Qt.Alignment textAlignment){
setTextAlignment_native_cref_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), textAlignment.value());
}
@io.qt.QtUninvokable
private native void setTextAlignment_native_cref_QFlags_Qt_AlignmentFlag_(long __this__nativeId, int textAlignment);
/**
* The alignment of the group box title
* See QStyleOptionGroupBox::textAlignment
*/
@io.qt.QtUninvokable
public final io.qt.core.Qt.Alignment textAlignment(){
return new io.qt.core.Qt.Alignment(textAlignment_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int textAlignment_native(long __this__nativeId);
/**
* The color of the group box title
* See QStyleOptionGroupBox::textColor
*/
@io.qt.QtUninvokable
public final void setTextColor(io.qt.gui.QColor textColor){
setTextColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(textColor));
}
@io.qt.QtUninvokable
private native void setTextColor_native_cref_QColor(long __this__nativeId, long textColor);
/**
* The color of the group box title
* See QStyleOptionGroupBox::textColor
*/
@io.qt.QtUninvokable
public final io.qt.gui.QColor textColor(){
return textColor_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QColor textColor_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QStyleOptionGroupBox(QPrivateConstructor p) { super(p); }
@Override
public QStyleOptionGroupBox clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QStyleOptionGroupBox clone_native(long __this_nativeId);
}