io.qt.widgets.QCommonStyle Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Encapsulates the common Look and Feel of a GUI
* Java wrapper for Qt class QCommonStyle
*/
public class QCommonStyle extends io.qt.widgets.QStyle
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCommonStyle.class);
/**
* See QCommonStyle:: QCommonStyle()
*/
public QCommonStyle(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QCommonStyle instance);
/**
*
*/
@QtUninvokable
@Override
public void drawComplexControl(io.qt.widgets.QStyle.@NonNull ComplexControl cc, io.qt.widgets.@Nullable QStyleOptionComplex opt, io.qt.gui.@Nullable QPainter p, io.qt.widgets.@Nullable QWidget w){
drawComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QPainter_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cc.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(p), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@QtUninvokable
private native void drawComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int cc, long opt, long p, long w);
/**
* See QStyle:: drawControl(QStyle::ControlElement, const QStyleOption*, QPainter*, const QWidget*)const
*/
@QtUninvokable
@Override
public void drawControl(io.qt.widgets.QStyle.@NonNull ControlElement element, io.qt.widgets.@Nullable QStyleOption opt, io.qt.gui.@Nullable QPainter p, io.qt.widgets.@Nullable QWidget w){
drawControl_native_QStyle_ControlElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), element.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(p), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@QtUninvokable
private native void drawControl_native_QStyle_ControlElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int element, long opt, long p, long w);
/**
* See QStyle:: drawPrimitive(QStyle::PrimitiveElement, const QStyleOption*, QPainter*, const QWidget*)const
*/
@QtUninvokable
@Override
public void drawPrimitive(io.qt.widgets.QStyle.@NonNull PrimitiveElement pe, io.qt.widgets.@Nullable QStyleOption opt, io.qt.gui.@Nullable QPainter p, io.qt.widgets.@Nullable QWidget w){
drawPrimitive_native_QStyle_PrimitiveElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), pe.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(p), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@QtUninvokable
private native void drawPrimitive_native_QStyle_PrimitiveElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int pe, long opt, long p, long w);
/**
* See QStyle:: generatedIconPixmap(QIcon::Mode, QPixmap, const QStyleOption*)const
*/
@QtUninvokable
@Override
public io.qt.gui.@NonNull QPixmap generatedIconPixmap(io.qt.gui.QIcon.@NonNull Mode iconMode, io.qt.gui.@NonNull QPixmap pixmap, io.qt.widgets.@Nullable QStyleOption opt){
return generatedIconPixmap_native_QIcon_Mode_cref_QPixmap_const_QStyleOption_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), iconMode.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(pixmap), QtJambi_LibraryUtilities.internal.checkedNativeId(opt));
}
@QtUninvokable
private native io.qt.gui.QPixmap generatedIconPixmap_native_QIcon_Mode_cref_QPixmap_const_QStyleOption_ptr_constfct(long __this__nativeId, int iconMode, long pixmap, long opt);
/**
*
*/
@QtUninvokable
@Override
public io.qt.widgets.QStyle.@StrictNonNull SubControl hitTestComplexControl(io.qt.widgets.QStyle.@NonNull ComplexControl cc, io.qt.widgets.@Nullable QStyleOptionComplex opt, io.qt.core.@NonNull QPoint pt, io.qt.widgets.@Nullable QWidget w){
return hitTestComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_cref_QPoint_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cc.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(pt), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@QtUninvokable
private native io.qt.widgets.QStyle.SubControl hitTestComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_cref_QPoint_const_QWidget_ptr_constfct(long __this__nativeId, int cc, long opt, long pt, long w);
/**
*
*/
@QtUninvokable
@Override
public int layoutSpacing(io.qt.widgets.QSizePolicy.@NonNull ControlType control1, io.qt.widgets.QSizePolicy.@NonNull ControlType control2, io.qt.core.Qt.@NonNull Orientation orientation, io.qt.widgets.@Nullable QStyleOption option, io.qt.widgets.@Nullable QWidget widget){
return layoutSpacing_native_QSizePolicy_ControlType_QSizePolicy_ControlType_Qt_Orientation_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), control1.value(), control2.value(), orientation.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(option), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native int layoutSpacing_native_QSizePolicy_ControlType_QSizePolicy_ControlType_Qt_Orientation_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int control1, int control2, int orientation, long option, long widget);
/**
* See QStyle:: pixelMetric(QStyle::PixelMetric, const QStyleOption*, const QWidget*)const
*/
@QtUninvokable
@Override
public int pixelMetric(io.qt.widgets.QStyle.@NonNull PixelMetric m, io.qt.widgets.@Nullable QStyleOption opt, io.qt.widgets.@Nullable QWidget widget){
return pixelMetric_native_QStyle_PixelMetric_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), m.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native int pixelMetric_native_QStyle_PixelMetric_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int m, long opt, long widget);
/**
* See QStyle:: polish(QApplication*)
*/
@QtUninvokable
@Override
public void polish(io.qt.widgets.@Nullable QApplication app){
polish_native_QApplication_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(app));
}
@QtUninvokable
private native void polish_native_QApplication_ptr(long __this__nativeId, long app);
/**
*
*/
@QtUninvokable
@Override
public void polish(io.qt.gui.@StrictNonNull QPalette arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
polish_native_ref_QPalette(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void polish_native_ref_QPalette(long __this__nativeId, long arg__1);
/**
*
*/
@QtUninvokable
@Override
public void polish(io.qt.widgets.@Nullable QWidget widget){
polish_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native void polish_native_QWidget_ptr(long __this__nativeId, long widget);
/**
* See QStyle:: sizeFromContents(QStyle::ContentsType, const QStyleOption*, QSize, const QWidget*)const
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QSize sizeFromContents(io.qt.widgets.QStyle.@NonNull ContentsType ct, io.qt.widgets.@Nullable QStyleOption opt, io.qt.core.@NonNull QSize contentsSize, io.qt.widgets.@Nullable QWidget widget){
return sizeFromContents_native_QStyle_ContentsType_const_QStyleOption_ptr_cref_QSize_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), ct.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(contentsSize), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native io.qt.core.QSize sizeFromContents_native_QStyle_ContentsType_const_QStyleOption_ptr_cref_QSize_const_QWidget_ptr_constfct(long __this__nativeId, int ct, long opt, long contentsSize, long widget);
/**
* See QStyle:: standardIcon(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const
*/
@QtUninvokable
@Override
public io.qt.gui.@NonNull QIcon standardIcon(io.qt.widgets.QStyle.@NonNull StandardPixmap standardIcon, io.qt.widgets.@Nullable QStyleOption opt, io.qt.widgets.@Nullable QWidget widget){
return standardIcon_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), standardIcon.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native io.qt.gui.QIcon standardIcon_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int standardIcon, long opt, long widget);
/**
* See QStyle:: standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const
*/
@QtUninvokable
@Override
public io.qt.gui.@NonNull QPixmap standardPixmap(io.qt.widgets.QStyle.@NonNull StandardPixmap sp, io.qt.widgets.@Nullable QStyleOption opt, io.qt.widgets.@Nullable QWidget widget){
return standardPixmap_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), sp.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native io.qt.gui.QPixmap standardPixmap_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int sp, long opt, long widget);
/**
* See QStyle:: styleHint(QStyle::StyleHint, const QStyleOption*, const QWidget*, QStyleHintReturn*)const
*/
@QtUninvokable
@Override
public int styleHint(io.qt.widgets.QStyle.@NonNull StyleHint sh, io.qt.widgets.@Nullable QStyleOption opt, io.qt.widgets.@Nullable QWidget w, io.qt.widgets.@Nullable QStyleHintReturn shret){
return styleHint_native_QStyle_StyleHint_const_QStyleOption_ptr_const_QWidget_ptr_QStyleHintReturn_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), sh.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(w), QtJambi_LibraryUtilities.internal.checkedNativeId(shret));
}
@QtUninvokable
private native int styleHint_native_QStyle_StyleHint_const_QStyleOption_ptr_const_QWidget_ptr_QStyleHintReturn_ptr_constfct(long __this__nativeId, int sh, long opt, long w, long shret);
/**
*
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QRect subControlRect(io.qt.widgets.QStyle.@NonNull ComplexControl cc, io.qt.widgets.@Nullable QStyleOptionComplex opt, io.qt.widgets.QStyle.@NonNull SubControl sc, io.qt.widgets.@Nullable QWidget w){
return subControlRect_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QStyle_SubControl_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cc.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), sc.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@QtUninvokable
private native io.qt.core.QRect subControlRect_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QStyle_SubControl_const_QWidget_ptr_constfct(long __this__nativeId, int cc, long opt, int sc, long w);
/**
* See QStyle:: subElementRect(QStyle::SubElement, const QStyleOption*, const QWidget*)const
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QRect subElementRect(io.qt.widgets.QStyle.@NonNull SubElement r, io.qt.widgets.@Nullable QStyleOption opt, io.qt.widgets.@Nullable QWidget widget){
return subElementRect_native_QStyle_SubElement_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), r.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native io.qt.core.QRect subElementRect_native_QStyle_SubElement_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int r, long opt, long widget);
/**
* See QStyle:: unpolish(QApplication*)
*/
@QtUninvokable
@Override
public void unpolish(io.qt.widgets.@Nullable QApplication application){
unpolish_native_QApplication_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(application));
}
@QtUninvokable
private native void unpolish_native_QApplication_ptr(long __this__nativeId, long application);
/**
* See QStyle:: unpolish(QWidget*)
*/
@QtUninvokable
@Override
public void unpolish(io.qt.widgets.@Nullable QWidget widget){
unpolish_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native void unpolish_native_QWidget_ptr(long __this__nativeId, long widget);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCommonStyle(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QCommonStyle(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QCommonStyle instance, QDeclarativeConstructor constructor);
}