io.qt.widgets.QStyleOptionTabWidgetFrame Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Used to describe the parameters for drawing the frame around a tab widget
* Java wrapper for Qt class QStyleOptionTabWidgetFrame
*/
public class QStyleOptionTabWidgetFrame extends io.qt.widgets.QStyleOption
implements java.lang.Cloneable
{
/**
* See QStyleOptionTabWidgetFrame:: QStyleOptionTabWidgetFrame()
*/
public QStyleOptionTabWidgetFrame(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QStyleOptionTabWidgetFrame instance);
/**
* See QStyleOptionTabWidgetFrame:: QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame)
*/
public QStyleOptionTabWidgetFrame(io.qt.widgets.@NonNull QStyleOptionTabWidgetFrame other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QStyleOptionTabWidgetFrame instance, io.qt.widgets.QStyleOptionTabWidgetFrame other);
/**
* See QStyleOptionTabWidgetFrame:: operator=(QStyleOptionTabWidgetFrame)
*/
@QtUninvokable
public final void assign(io.qt.widgets.@NonNull QStyleOptionTabWidgetFrame arg__1){
assign_native_cref_QStyleOptionTabWidgetFrame(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void assign_native_cref_QStyleOptionTabWidgetFrame(long __this__nativeId, long arg__1);
/**
* The size of the left-corner widget
* See QStyleOptionTabWidgetFrame:: leftCornerWidgetSize
*/
@QtUninvokable
public final void setLeftCornerWidgetSize(io.qt.core.@NonNull QSize leftCornerWidgetSize){
setLeftCornerWidgetSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(leftCornerWidgetSize));
}
@QtUninvokable
private native void setLeftCornerWidgetSize_native_cref_QSize(long __this__nativeId, long leftCornerWidgetSize);
/**
* The size of the left-corner widget
* See QStyleOptionTabWidgetFrame:: leftCornerWidgetSize
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize leftCornerWidgetSize(){
return leftCornerWidgetSize_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize leftCornerWidgetSize_native(long __this__nativeId);
/**
* The line width for drawing the panel
* See QStyleOptionTabWidgetFrame:: 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 QStyleOptionTabWidgetFrame:: 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 QStyleOptionTabWidgetFrame:: 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 QStyleOptionTabWidgetFrame:: midLineWidth
*/
@QtUninvokable
public final int midLineWidth(){
return midLineWidth_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int midLineWidth_native(long __this__nativeId);
/**
* The size of the right-corner widget
* See QStyleOptionTabWidgetFrame:: rightCornerWidgetSize
*/
@QtUninvokable
public final void setRightCornerWidgetSize(io.qt.core.@NonNull QSize rightCornerWidgetSize){
setRightCornerWidgetSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rightCornerWidgetSize));
}
@QtUninvokable
private native void setRightCornerWidgetSize_native_cref_QSize(long __this__nativeId, long rightCornerWidgetSize);
/**
* The size of the right-corner widget
* See QStyleOptionTabWidgetFrame:: rightCornerWidgetSize
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize rightCornerWidgetSize(){
return rightCornerWidgetSize_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize rightCornerWidgetSize_native(long __this__nativeId);
/**
* The rectangle containing the selected tab
* See QStyleOptionTabWidgetFrame:: selectedTabRect
*/
@QtUninvokable
public final void setSelectedTabRect(io.qt.core.@NonNull QRect selectedTabRect){
setSelectedTabRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selectedTabRect));
}
@QtUninvokable
private native void setSelectedTabRect_native_cref_QRect(long __this__nativeId, long selectedTabRect);
/**
* The rectangle containing the selected tab
* See QStyleOptionTabWidgetFrame:: selectedTabRect
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect selectedTabRect(){
return selectedTabRect_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRect selectedTabRect_native(long __this__nativeId);
/**
* The tab shape used to draw the tabs
* See QStyleOptionTabWidgetFrame:: shape
*/
@QtUninvokable
public final void setShape(io.qt.widgets.QTabBar.@NonNull Shape shape){
setShape_native_cref_QTabBar_Shape(QtJambi_LibraryUtilities.internal.nativeId(this), shape.value());
}
@QtUninvokable
private native void setShape_native_cref_QTabBar_Shape(long __this__nativeId, int shape);
/**
* The tab shape used to draw the tabs
* See QStyleOptionTabWidgetFrame:: shape
*/
@QtUninvokable
public final io.qt.widgets.QTabBar.@NonNull Shape shape(){
return io.qt.widgets.QTabBar.Shape.resolve(shape_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int shape_native(long __this__nativeId);
/**
* The rectangle containing all the tabs
* See QStyleOptionTabWidgetFrame:: tabBarRect
*/
@QtUninvokable
public final void setTabBarRect(io.qt.core.@NonNull QRect tabBarRect){
setTabBarRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(tabBarRect));
}
@QtUninvokable
private native void setTabBarRect_native_cref_QRect(long __this__nativeId, long tabBarRect);
/**
* The rectangle containing all the tabs
* See QStyleOptionTabWidgetFrame:: tabBarRect
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect tabBarRect(){
return tabBarRect_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRect tabBarRect_native(long __this__nativeId);
/**
* The size of the tab bar
* See QStyleOptionTabWidgetFrame:: tabBarSize
*/
@QtUninvokable
public final void setTabBarSize(io.qt.core.@NonNull QSize tabBarSize){
setTabBarSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(tabBarSize));
}
@QtUninvokable
private native void setTabBarSize_native_cref_QSize(long __this__nativeId, long tabBarSize);
/**
* The size of the tab bar
* See QStyleOptionTabWidgetFrame:: tabBarSize
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize tabBarSize(){
return tabBarSize_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize tabBarSize_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QStyleOptionTabWidgetFrame(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QStyleOptionTabWidgetFrame:: QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame)
*/
@QtUninvokable
@Override
public QStyleOptionTabWidgetFrame clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QStyleOptionTabWidgetFrame clone_native(long __this_nativeId);
/**
* @deprecated Use {@link #assign(io.qt.widgets.QStyleOptionTabWidgetFrame)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.widgets.@NonNull QStyleOptionTabWidgetFrame arg__1) {
assign(arg__1);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #leftCornerWidgetSize()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize getLeftCornerWidgetSize() {
return leftCornerWidgetSize();
}
/**
* @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 #rightCornerWidgetSize()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize getRightCornerWidgetSize() {
return rightCornerWidgetSize();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #selectedTabRect()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect getSelectedTabRect() {
return selectedTabRect();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #shape()} instead.
*/
@QtUninvokable
public final io.qt.widgets.QTabBar.@NonNull Shape getShape() {
return shape();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #tabBarRect()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect getTabBarRect() {
return tabBarRect();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #tabBarSize()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize getTabBarSize() {
return tabBarSize();
}
}