
io.qt.widgets.QStyleOptionTabWidgetFrame Maven / Gradle / Ivy
package io.qt.widgets;
/**
* 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.QStyleOptionTabWidgetFrame other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QStyleOptionTabWidgetFrame instance, io.qt.widgets.QStyleOptionTabWidgetFrame other);
@io.qt.QtUninvokable
public final void set(io.qt.widgets.QStyleOptionTabWidgetFrame arg__1){
set_native_cref_QStyleOptionTabWidgetFrame(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void set_native_cref_QStyleOptionTabWidgetFrame(long __this__nativeId, long arg__1);
/**
* The size of the left-corner widget
* See QStyleOptionTabWidgetFrame::leftCornerWidgetSize
*/
@io.qt.QtUninvokable
public final void setLeftCornerWidgetSize(io.qt.core.QSize leftCornerWidgetSize){
setLeftCornerWidgetSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(leftCornerWidgetSize));
}
@io.qt.QtUninvokable
private native void setLeftCornerWidgetSize_native_cref_QSize(long __this__nativeId, long leftCornerWidgetSize);
/**
* The size of the left-corner widget
* See QStyleOptionTabWidgetFrame::leftCornerWidgetSize
*/
@io.qt.QtUninvokable
public final io.qt.core.QSize leftCornerWidgetSize(){
return leftCornerWidgetSize_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize leftCornerWidgetSize_native(long __this__nativeId);
/**
* The line width for drawing the panel
* See QStyleOptionTabWidgetFrame::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 QStyleOptionTabWidgetFrame::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 QStyleOptionTabWidgetFrame::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 QStyleOptionTabWidgetFrame::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 size of the right-corner widget
* See QStyleOptionTabWidgetFrame::rightCornerWidgetSize
*/
@io.qt.QtUninvokable
public final void setRightCornerWidgetSize(io.qt.core.QSize rightCornerWidgetSize){
setRightCornerWidgetSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rightCornerWidgetSize));
}
@io.qt.QtUninvokable
private native void setRightCornerWidgetSize_native_cref_QSize(long __this__nativeId, long rightCornerWidgetSize);
/**
* The size of the right-corner widget
* See QStyleOptionTabWidgetFrame::rightCornerWidgetSize
*/
@io.qt.QtUninvokable
public final io.qt.core.QSize rightCornerWidgetSize(){
return rightCornerWidgetSize_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize rightCornerWidgetSize_native(long __this__nativeId);
/**
* The rectangle containing the selected tab
* See QStyleOptionTabWidgetFrame::selectedTabRect
*/
@io.qt.QtUninvokable
public final void setSelectedTabRect(io.qt.core.QRect selectedTabRect){
setSelectedTabRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selectedTabRect));
}
@io.qt.QtUninvokable
private native void setSelectedTabRect_native_cref_QRect(long __this__nativeId, long selectedTabRect);
/**
* The rectangle containing the selected tab
* See QStyleOptionTabWidgetFrame::selectedTabRect
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect selectedTabRect(){
return selectedTabRect_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect selectedTabRect_native(long __this__nativeId);
/**
* The tab shape used to draw the tabs
* See QStyleOptionTabWidgetFrame::shape
*/
@io.qt.QtUninvokable
public final void setShape(io.qt.widgets.QTabBar.Shape shape){
setShape_native_cref_QTabBar_Shape(QtJambi_LibraryUtilities.internal.nativeId(this), shape.value());
}
@io.qt.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
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QTabBar.Shape shape(){
return io.qt.widgets.QTabBar.Shape.resolve(shape_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int shape_native(long __this__nativeId);
/**
* The rectangle containing all the tabs
* See QStyleOptionTabWidgetFrame::tabBarRect
*/
@io.qt.QtUninvokable
public final void setTabBarRect(io.qt.core.QRect tabBarRect){
setTabBarRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(tabBarRect));
}
@io.qt.QtUninvokable
private native void setTabBarRect_native_cref_QRect(long __this__nativeId, long tabBarRect);
/**
* The rectangle containing all the tabs
* See QStyleOptionTabWidgetFrame::tabBarRect
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect tabBarRect(){
return tabBarRect_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect tabBarRect_native(long __this__nativeId);
/**
* The size of the tab bar
* See QStyleOptionTabWidgetFrame::tabBarSize
*/
@io.qt.QtUninvokable
public final void setTabBarSize(io.qt.core.QSize tabBarSize){
setTabBarSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(tabBarSize));
}
@io.qt.QtUninvokable
private native void setTabBarSize_native_cref_QSize(long __this__nativeId, long tabBarSize);
/**
* The size of the tab bar
* See QStyleOptionTabWidgetFrame::tabBarSize
*/
@io.qt.QtUninvokable
public final io.qt.core.QSize tabBarSize(){
return tabBarSize_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize tabBarSize_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QStyleOptionTabWidgetFrame(QPrivateConstructor p) { super(p); }
@Override
public QStyleOptionTabWidgetFrame clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QStyleOptionTabWidgetFrame clone_native(long __this_nativeId);
}