io.qt.widgets.QCommonStyle Maven / Gradle / Ivy
package io.qt.widgets;
/**
* 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.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);
/**
*
*/
@io.qt.QtUninvokable
public void drawComplexControl(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.gui.QPainter p, io.qt.widgets.QWidget w){
drawComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QPainter_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cc.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(p), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@io.qt.QtUninvokable
private native void drawComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int cc, io.qt.widgets.QStyleOptionComplex opt, long p, long w);
/**
* See QStyle::drawControl(QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*)const
*/
@io.qt.QtUninvokable
public void drawControl(io.qt.widgets.QStyle.ControlElement element, io.qt.widgets.QStyleOption opt, io.qt.gui.QPainter p, io.qt.widgets.QWidget w){
drawControl_native_QStyle_ControlElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), element.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(p), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@io.qt.QtUninvokable
private native void drawControl_native_QStyle_ControlElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int element, io.qt.widgets.QStyleOption opt, long p, long w);
/**
* See QStyle::drawPrimitive(QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*)const
*/
@io.qt.QtUninvokable
public void drawPrimitive(io.qt.widgets.QStyle.PrimitiveElement pe, io.qt.widgets.QStyleOption opt, io.qt.gui.QPainter p, io.qt.widgets.QWidget w){
drawPrimitive_native_QStyle_PrimitiveElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), pe.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(p), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@io.qt.QtUninvokable
private native void drawPrimitive_native_QStyle_PrimitiveElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int pe, io.qt.widgets.QStyleOption opt, long p, long w);
/**
* See QStyle::generatedIconPixmap(QIcon::Mode,QPixmap,const QStyleOption*)const
*/
@io.qt.QtUninvokable
public io.qt.gui.QPixmap generatedIconPixmap(io.qt.gui.QIcon.Mode iconMode, io.qt.gui.QPixmap pixmap, io.qt.widgets.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), opt);
}
@io.qt.QtUninvokable
private native io.qt.gui.QPixmap generatedIconPixmap_native_QIcon_Mode_cref_QPixmap_const_QStyleOption_ptr_constfct(long __this__nativeId, int iconMode, long pixmap, io.qt.widgets.QStyleOption opt);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.widgets.QStyle.SubControl hitTestComplexControl(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.core.QPoint pt, io.qt.widgets.QWidget w){
return hitTestComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_cref_QPoint_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cc.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(pt), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@io.qt.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, io.qt.widgets.QStyleOptionComplex opt, long pt, long w);
/**
*
*/
@io.qt.QtUninvokable
public int layoutSpacing(io.qt.widgets.QSizePolicy.ControlType control1, io.qt.widgets.QSizePolicy.ControlType control2, io.qt.core.Qt.Orientation orientation, io.qt.widgets.QStyleOption option, io.qt.widgets.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(), option, QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.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, io.qt.widgets.QStyleOption option, long widget);
/**
* See QStyle::pixelMetric(QStyle::PixelMetric,const QStyleOption*,const QWidget*)const
*/
@io.qt.QtUninvokable
public int pixelMetric(io.qt.widgets.QStyle.PixelMetric m, io.qt.widgets.QStyleOption opt, io.qt.widgets.QWidget widget){
return pixelMetric_native_QStyle_PixelMetric_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), m.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.QtUninvokable
private native int pixelMetric_native_QStyle_PixelMetric_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int m, io.qt.widgets.QStyleOption opt, long widget);
/**
* See QStyle::polish(QApplication*)
*/
@io.qt.QtUninvokable
public void polish(io.qt.widgets.QApplication app){
polish_native_QApplication_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(app));
}
@io.qt.QtUninvokable
private native void polish_native_QApplication_ptr(long __this__nativeId, long app);
/**
*
*/
@io.qt.QtUninvokable
public void polish(io.qt.gui.QPalette arg__1){
polish_native_ref_QPalette(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void polish_native_ref_QPalette(long __this__nativeId, io.qt.gui.QPalette arg__1);
/**
*
*/
@io.qt.QtUninvokable
public void polish(io.qt.widgets.QWidget widget){
polish_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.QtUninvokable
private native void polish_native_QWidget_ptr(long __this__nativeId, long widget);
/**
* See QStyle::sizeFromContents(QStyle::ContentsType,const QStyleOption*,QSize,const QWidget*)const
*/
@io.qt.QtUninvokable
public io.qt.core.QSize sizeFromContents(io.qt.widgets.QStyle.ContentsType ct, io.qt.widgets.QStyleOption opt, io.qt.core.QSize contentsSize, io.qt.widgets.QWidget widget){
return sizeFromContents_native_QStyle_ContentsType_const_QStyleOption_ptr_cref_QSize_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), ct.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(contentsSize), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.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, io.qt.widgets.QStyleOption opt, long contentsSize, long widget);
/**
* See QStyle::standardIcon(QStyle::StandardPixmap,const QStyleOption*,const QWidget*)const
*/
@io.qt.QtUninvokable
public io.qt.gui.QIcon standardIcon(io.qt.widgets.QStyle.StandardPixmap standardIcon, io.qt.widgets.QStyleOption opt, io.qt.widgets.QWidget widget){
return standardIcon_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), standardIcon.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.QtUninvokable
private native io.qt.gui.QIcon standardIcon_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int standardIcon, io.qt.widgets.QStyleOption opt, long widget);
@io.qt.QtUninvokable
public io.qt.gui.QPixmap standardPixmap(io.qt.widgets.QStyle.StandardPixmap sp, io.qt.widgets.QStyleOption opt, io.qt.widgets.QWidget widget){
return standardPixmap_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), sp.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPixmap standardPixmap_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int sp, io.qt.widgets.QStyleOption opt, long widget);
/**
* See QStyle::styleHint(QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*)const
*/
@io.qt.QtUninvokable
public int styleHint(io.qt.widgets.QStyle.StyleHint sh, io.qt.widgets.QStyleOption opt, io.qt.widgets.QWidget w, io.qt.widgets.QStyleHintReturn shret){
return styleHint_native_QStyle_StyleHint_const_QStyleOption_ptr_const_QWidget_ptr_QStyleHintReturn_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), sh.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(w), QtJambi_LibraryUtilities.internal.checkedNativeId(shret));
}
@io.qt.QtUninvokable
private native int styleHint_native_QStyle_StyleHint_const_QStyleOption_ptr_const_QWidget_ptr_QStyleHintReturn_ptr_constfct(long __this__nativeId, int sh, io.qt.widgets.QStyleOption opt, long w, long shret);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.core.QRect subControlRect(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.widgets.QStyle.SubControl sc, io.qt.widgets.QWidget w){
return subControlRect_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QStyle_SubControl_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cc.value(), opt, sc.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@io.qt.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, io.qt.widgets.QStyleOptionComplex opt, int sc, long w);
/**
* See QStyle::subElementRect(QStyle::SubElement,const QStyleOption*,const QWidget*)const
*/
@io.qt.QtUninvokable
public io.qt.core.QRect subElementRect(io.qt.widgets.QStyle.SubElement r, io.qt.widgets.QStyleOption opt, io.qt.widgets.QWidget widget){
return subElementRect_native_QStyle_SubElement_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), r.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect subElementRect_native_QStyle_SubElement_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int r, io.qt.widgets.QStyleOption opt, long widget);
/**
* See QStyle::unpolish(QApplication*)
*/
@io.qt.QtUninvokable
public void unpolish(io.qt.widgets.QApplication application){
unpolish_native_QApplication_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(application));
}
@io.qt.QtUninvokable
private native void unpolish_native_QApplication_ptr(long __this__nativeId, long application);
/**
* See QStyle::unpolish(QWidget*)
*/
@io.qt.QtUninvokable
public void unpolish(io.qt.widgets.QWidget widget){
unpolish_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.QtUninvokable
private native void unpolish_native_QWidget_ptr(long __this__nativeId, long widget);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QCommonStyle(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QCommonStyle(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QCommonStyle instance, QDeclarativeConstructor constructor);
}