io.qt.widgets.QStyle Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Abstract base class that encapsulates the look and feel of a GUI
* Java wrapper for Qt class QStyle
*/
public abstract class QStyle extends io.qt.core.QObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QStyle.class);
@NativeAccess
private static final class ConcreteWrapper extends QStyle {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
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 widget){
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(widget));
}
@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 widget);
@Override
@QtUninvokable
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);
@Override
@QtUninvokable
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);
@Override
@QtUninvokable
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);
@Override
@QtUninvokable
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 widget){
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(widget));
}
@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 widget);
@Override
@QtUninvokable
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);
@Override
@QtUninvokable
public int pixelMetric(io.qt.widgets.QStyle.@NonNull PixelMetric metric, io.qt.widgets.@Nullable QStyleOption option, io.qt.widgets.@Nullable QWidget widget){
return pixelMetric_native_QStyle_PixelMetric_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), metric.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(option), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native int pixelMetric_native_QStyle_PixelMetric_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int metric, long option, long widget);
@Override
@QtUninvokable
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 w){
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(w));
}
@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 w);
@Override
@QtUninvokable
public io.qt.gui.@NonNull QIcon standardIcon(io.qt.widgets.QStyle.@NonNull StandardPixmap standardIcon, io.qt.widgets.@Nullable QStyleOption option, 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(option), 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 option, long widget);
@Override
@QtUninvokable
public io.qt.gui.@NonNull QPixmap standardPixmap(io.qt.widgets.QStyle.@NonNull StandardPixmap standardPixmap, 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), standardPixmap.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 standardPixmap, long opt, long widget);
@Override
@QtUninvokable
public int styleHint(io.qt.widgets.QStyle.@NonNull StyleHint stylehint, io.qt.widgets.@Nullable QStyleOption opt, io.qt.widgets.@Nullable QWidget widget, io.qt.widgets.@Nullable QStyleHintReturn returnData){
return styleHint_native_QStyle_StyleHint_const_QStyleOption_ptr_const_QWidget_ptr_QStyleHintReturn_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), stylehint.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(opt), QtJambi_LibraryUtilities.internal.checkedNativeId(widget), QtJambi_LibraryUtilities.internal.checkedNativeId(returnData));
}
@QtUninvokable
private native int styleHint_native_QStyle_StyleHint_const_QStyleOption_ptr_const_QWidget_ptr_QStyleHintReturn_ptr_constfct(long __this__nativeId, int stylehint, long opt, long widget, long returnData);
@Override
@QtUninvokable
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 widget){
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(widget));
}
@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 widget);
@Override
@QtUninvokable
public io.qt.core.@NonNull QRect subElementRect(io.qt.widgets.QStyle.@NonNull SubElement subElement, io.qt.widgets.@Nullable QStyleOption option, io.qt.widgets.@Nullable QWidget widget){
return subElementRect_native_QStyle_SubElement_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), subElement.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(option), 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 subElement, long option, long widget);
}
/**
* Java wrapper for Qt enum QStyle::ComplexControl
*/
@QtExtensibleEnum
public enum ComplexControl implements QtEnumerator {
/**
* Representing QStyle:: CC_SpinBox
*/
CC_SpinBox(0),
/**
* Representing QStyle:: CC_ComboBox
*/
CC_ComboBox(1),
/**
* Representing QStyle:: CC_ScrollBar
*/
CC_ScrollBar(2),
/**
* Representing QStyle:: CC_Slider
*/
CC_Slider(3),
/**
* Representing QStyle:: CC_ToolButton
*/
CC_ToolButton(4),
/**
* Representing QStyle:: CC_TitleBar
*/
CC_TitleBar(5),
/**
* Representing QStyle:: CC_Dial
*/
CC_Dial(6),
/**
* Representing QStyle:: CC_GroupBox
*/
CC_GroupBox(7),
/**
* Representing QStyle:: CC_MdiControls
*/
CC_MdiControls(8),
/**
* Representing QStyle:: CC_CustomBase
*/
CC_CustomBase(-268435456);
static {
QtJambi_LibraryUtilities.initialize();
}
private ComplexControl(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum
*/
public static @NonNull ComplexControl resolve(int value) {
switch (value) {
case 0: return CC_SpinBox;
case 1: return CC_ComboBox;
case 2: return CC_ScrollBar;
case 3: return CC_Slider;
case 4: return CC_ToolButton;
case 5: return CC_TitleBar;
case 6: return CC_Dial;
case 7: return CC_GroupBox;
case 8: return CC_MdiControls;
case -268435456: return CC_CustomBase;
default: return QtJambi_LibraryUtilities.internal.resolveEnum(ComplexControl.class, value, null);
}
}
/**
* Returns the corresponding enum entry for the given value and name.
* @param value
* @param name
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum or name does not match.
*/
public static @NonNull ComplexControl resolve(int value, @Nullable String name) {
if(name==null || name.isEmpty())
return resolve(value);
else
return QtJambi_LibraryUtilities.internal.resolveEnum(ComplexControl.class, value, name);
}
private final int value;
}
/**
* Java wrapper for Qt enum QStyle::ContentsType
*/
@QtExtensibleEnum
public enum ContentsType implements QtEnumerator {
/**
* Representing QStyle:: CT_PushButton
*/
CT_PushButton(0),
/**
* Representing QStyle:: CT_CheckBox
*/
CT_CheckBox(1),
/**
* Representing QStyle:: CT_RadioButton
*/
CT_RadioButton(2),
/**
* Representing QStyle:: CT_ToolButton
*/
CT_ToolButton(3),
/**
* Representing QStyle:: CT_ComboBox
*/
CT_ComboBox(4),
/**
* Representing QStyle:: CT_Splitter
*/
CT_Splitter(5),
/**
* Representing QStyle:: CT_ProgressBar
*/
CT_ProgressBar(6),
/**
* Representing QStyle:: CT_MenuItem
*/
CT_MenuItem(7),
/**
* Representing QStyle:: CT_MenuBarItem
*/
CT_MenuBarItem(8),
/**
* Representing QStyle:: CT_MenuBar
*/
CT_MenuBar(9),
/**
* Representing QStyle:: CT_Menu
*/
CT_Menu(10),
/**
* Representing QStyle:: CT_TabBarTab
*/
CT_TabBarTab(11),
/**
* Representing QStyle:: CT_Slider
*/
CT_Slider(12),
/**
* Representing QStyle:: CT_ScrollBar
*/
CT_ScrollBar(13),
/**
* Representing QStyle:: CT_LineEdit
*/
CT_LineEdit(14),
/**
* Representing QStyle:: CT_SpinBox
*/
CT_SpinBox(15),
/**
* Representing QStyle:: CT_SizeGrip
*/
CT_SizeGrip(16),
/**
* Representing QStyle:: CT_TabWidget
*/
CT_TabWidget(17),
/**
* Representing QStyle:: CT_DialogButtons
*/
CT_DialogButtons(18),
/**
* Representing QStyle:: CT_HeaderSection
*/
CT_HeaderSection(19),
/**
* Representing QStyle:: CT_GroupBox
*/
CT_GroupBox(20),
/**
* Representing QStyle:: CT_MdiControls
*/
CT_MdiControls(21),
/**
* Representing QStyle:: CT_ItemViewItem
*/
CT_ItemViewItem(22),
/**
* Representing QStyle:: CT_CustomBase
*/
CT_CustomBase(-268435456);
static {
QtJambi_LibraryUtilities.initialize();
}
private ContentsType(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum
*/
public static @NonNull ContentsType resolve(int value) {
switch (value) {
case 0: return CT_PushButton;
case 1: return CT_CheckBox;
case 2: return CT_RadioButton;
case 3: return CT_ToolButton;
case 4: return CT_ComboBox;
case 5: return CT_Splitter;
case 6: return CT_ProgressBar;
case 7: return CT_MenuItem;
case 8: return CT_MenuBarItem;
case 9: return CT_MenuBar;
case 10: return CT_Menu;
case 11: return CT_TabBarTab;
case 12: return CT_Slider;
case 13: return CT_ScrollBar;
case 14: return CT_LineEdit;
case 15: return CT_SpinBox;
case 16: return CT_SizeGrip;
case 17: return CT_TabWidget;
case 18: return CT_DialogButtons;
case 19: return CT_HeaderSection;
case 20: return CT_GroupBox;
case 21: return CT_MdiControls;
case 22: return CT_ItemViewItem;
case -268435456: return CT_CustomBase;
default: return QtJambi_LibraryUtilities.internal.resolveEnum(ContentsType.class, value, null);
}
}
/**
* Returns the corresponding enum entry for the given value and name.
* @param value
* @param name
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum or name does not match.
*/
public static @NonNull ContentsType resolve(int value, @Nullable String name) {
if(name==null || name.isEmpty())
return resolve(value);
else
return QtJambi_LibraryUtilities.internal.resolveEnum(ContentsType.class, value, name);
}
private final int value;
}
/**
* Java wrapper for Qt enum QStyle::ControlElement
*/
@QtExtensibleEnum
public enum ControlElement implements QtEnumerator {
/**
* Representing QStyle:: CE_PushButton
*/
CE_PushButton(0),
/**
* Representing QStyle:: CE_PushButtonBevel
*/
CE_PushButtonBevel(1),
/**
* Representing QStyle:: CE_PushButtonLabel
*/
CE_PushButtonLabel(2),
/**
* Representing QStyle:: CE_CheckBox
*/
CE_CheckBox(3),
/**
* Representing QStyle:: CE_CheckBoxLabel
*/
CE_CheckBoxLabel(4),
/**
* Representing QStyle:: CE_RadioButton
*/
CE_RadioButton(5),
/**
* Representing QStyle:: CE_RadioButtonLabel
*/
CE_RadioButtonLabel(6),
/**
* Representing QStyle:: CE_TabBarTab
*/
CE_TabBarTab(7),
/**
* Representing QStyle:: CE_TabBarTabShape
*/
CE_TabBarTabShape(8),
/**
* Representing QStyle:: CE_TabBarTabLabel
*/
CE_TabBarTabLabel(9),
/**
* Representing QStyle:: CE_ProgressBar
*/
CE_ProgressBar(10),
/**
* Representing QStyle:: CE_ProgressBarGroove
*/
CE_ProgressBarGroove(11),
/**
* Representing QStyle:: CE_ProgressBarContents
*/
CE_ProgressBarContents(12),
/**
* Representing QStyle:: CE_ProgressBarLabel
*/
CE_ProgressBarLabel(13),
/**
* Representing QStyle:: CE_MenuItem
*/
CE_MenuItem(14),
/**
* Representing QStyle:: CE_MenuScroller
*/
CE_MenuScroller(15),
/**
* Representing QStyle:: CE_MenuVMargin
*/
CE_MenuVMargin(16),
/**
* Representing QStyle:: CE_MenuHMargin
*/
CE_MenuHMargin(17),
/**
* Representing QStyle:: CE_MenuTearoff
*/
CE_MenuTearoff(18),
/**
* Representing QStyle:: CE_MenuEmptyArea
*/
CE_MenuEmptyArea(19),
/**
* Representing QStyle:: CE_MenuBarItem
*/
CE_MenuBarItem(20),
/**
* Representing QStyle:: CE_MenuBarEmptyArea
*/
CE_MenuBarEmptyArea(21),
/**
* Representing QStyle:: CE_ToolButtonLabel
*/
CE_ToolButtonLabel(22),
/**
* Representing QStyle:: CE_Header
*/
CE_Header(23),
/**
* Representing QStyle:: CE_HeaderSection
*/
CE_HeaderSection(24),
/**
* Representing QStyle:: CE_HeaderLabel
*/
CE_HeaderLabel(25),
/**
* Representing QStyle:: CE_ToolBoxTab
*/
CE_ToolBoxTab(26),
/**
* Representing QStyle:: CE_SizeGrip
*/
CE_SizeGrip(27),
/**
* Representing QStyle:: CE_Splitter
*/
CE_Splitter(28),
/**
* Representing QStyle:: CE_RubberBand
*/
CE_RubberBand(29),
/**
* Representing QStyle:: CE_DockWidgetTitle
*/
CE_DockWidgetTitle(30),
/**
* Representing QStyle:: CE_ScrollBarAddLine
*/
CE_ScrollBarAddLine(31),
/**
* Representing QStyle:: CE_ScrollBarSubLine
*/
CE_ScrollBarSubLine(32),
/**
* Representing QStyle:: CE_ScrollBarAddPage
*/
CE_ScrollBarAddPage(33),
/**
* Representing QStyle:: CE_ScrollBarSubPage
*/
CE_ScrollBarSubPage(34),
/**
* Representing QStyle:: CE_ScrollBarSlider
*/
CE_ScrollBarSlider(35),
/**
* Representing QStyle:: CE_ScrollBarFirst
*/
CE_ScrollBarFirst(36),
/**
* Representing QStyle:: CE_ScrollBarLast
*/
CE_ScrollBarLast(37),
/**
* Representing QStyle:: CE_FocusFrame
*/
CE_FocusFrame(38),
/**
* Representing QStyle:: CE_ComboBoxLabel
*/
CE_ComboBoxLabel(39),
/**
* Representing QStyle:: CE_ToolBar
*/
CE_ToolBar(40),
/**
* Representing QStyle:: CE_ToolBoxTabShape
*/
CE_ToolBoxTabShape(41),
/**
* Representing QStyle:: CE_ToolBoxTabLabel
*/
CE_ToolBoxTabLabel(42),
/**
* Representing QStyle:: CE_HeaderEmptyArea
*/
CE_HeaderEmptyArea(43),
/**
* Representing QStyle:: CE_ColumnViewGrip
*/
CE_ColumnViewGrip(44),
/**
* Representing QStyle:: CE_ItemViewItem
*/
CE_ItemViewItem(45),
/**
* Representing QStyle:: CE_ShapedFrame
*/
CE_ShapedFrame(46),
/**
* Representing QStyle:: CE_CustomBase
*/
CE_CustomBase(-268435456);
static {
QtJambi_LibraryUtilities.initialize();
}
private ControlElement(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum
*/
public static @NonNull ControlElement resolve(int value) {
switch (value) {
case 0: return CE_PushButton;
case 1: return CE_PushButtonBevel;
case 2: return CE_PushButtonLabel;
case 3: return CE_CheckBox;
case 4: return CE_CheckBoxLabel;
case 5: return CE_RadioButton;
case 6: return CE_RadioButtonLabel;
case 7: return CE_TabBarTab;
case 8: return CE_TabBarTabShape;
case 9: return CE_TabBarTabLabel;
case 10: return CE_ProgressBar;
case 11: return CE_ProgressBarGroove;
case 12: return CE_ProgressBarContents;
case 13: return CE_ProgressBarLabel;
case 14: return CE_MenuItem;
case 15: return CE_MenuScroller;
case 16: return CE_MenuVMargin;
case 17: return CE_MenuHMargin;
case 18: return CE_MenuTearoff;
case 19: return CE_MenuEmptyArea;
case 20: return CE_MenuBarItem;
case 21: return CE_MenuBarEmptyArea;
case 22: return CE_ToolButtonLabel;
case 23: return CE_Header;
case 24: return CE_HeaderSection;
case 25: return CE_HeaderLabel;
case 26: return CE_ToolBoxTab;
case 27: return CE_SizeGrip;
case 28: return CE_Splitter;
case 29: return CE_RubberBand;
case 30: return CE_DockWidgetTitle;
case 31: return CE_ScrollBarAddLine;
case 32: return CE_ScrollBarSubLine;
case 33: return CE_ScrollBarAddPage;
case 34: return CE_ScrollBarSubPage;
case 35: return CE_ScrollBarSlider;
case 36: return CE_ScrollBarFirst;
case 37: return CE_ScrollBarLast;
case 38: return CE_FocusFrame;
case 39: return CE_ComboBoxLabel;
case 40: return CE_ToolBar;
case 41: return CE_ToolBoxTabShape;
case 42: return CE_ToolBoxTabLabel;
case 43: return CE_HeaderEmptyArea;
case 44: return CE_ColumnViewGrip;
case 45: return CE_ItemViewItem;
case 46: return CE_ShapedFrame;
case -268435456: return CE_CustomBase;
default: return QtJambi_LibraryUtilities.internal.resolveEnum(ControlElement.class, value, null);
}
}
/**
* Returns the corresponding enum entry for the given value and name.
* @param value
* @param name
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum or name does not match.
*/
public static @NonNull ControlElement resolve(int value, @Nullable String name) {
if(name==null || name.isEmpty())
return resolve(value);
else
return QtJambi_LibraryUtilities.internal.resolveEnum(ControlElement.class, value, name);
}
private final int value;
}
/**
* Java wrapper for Qt enum QStyle::PixelMetric
*/
@QtExtensibleEnum
public enum PixelMetric implements QtEnumerator {
/**
* Representing QStyle:: PM_ButtonMargin
*/
PM_ButtonMargin(0),
/**
* Representing QStyle:: PM_ButtonDefaultIndicator
*/
PM_ButtonDefaultIndicator(1),
/**
* Representing QStyle:: PM_MenuButtonIndicator
*/
PM_MenuButtonIndicator(2),
/**
* Representing QStyle:: PM_ButtonShiftHorizontal
*/
PM_ButtonShiftHorizontal(3),
/**
* Representing QStyle:: PM_ButtonShiftVertical
*/
PM_ButtonShiftVertical(4),
/**
* Representing QStyle:: PM_DefaultFrameWidth
*/
PM_DefaultFrameWidth(5),
/**
* Representing QStyle:: PM_SpinBoxFrameWidth
*/
PM_SpinBoxFrameWidth(6),
/**
* Representing QStyle:: PM_ComboBoxFrameWidth
*/
PM_ComboBoxFrameWidth(7),
/**
* Representing QStyle:: PM_MaximumDragDistance
*/
PM_MaximumDragDistance(8),
/**
* Representing QStyle:: PM_ScrollBarExtent
*/
PM_ScrollBarExtent(9),
/**
* Representing QStyle:: PM_ScrollBarSliderMin
*/
PM_ScrollBarSliderMin(10),
/**
* Representing QStyle:: PM_SliderThickness
*/
PM_SliderThickness(11),
/**
* Representing QStyle:: PM_SliderControlThickness
*/
PM_SliderControlThickness(12),
/**
* Representing QStyle:: PM_SliderLength
*/
PM_SliderLength(13),
/**
* Representing QStyle:: PM_SliderTickmarkOffset
*/
PM_SliderTickmarkOffset(14),
/**
* Representing QStyle:: PM_SliderSpaceAvailable
*/
PM_SliderSpaceAvailable(15),
/**
* Representing QStyle:: PM_DockWidgetSeparatorExtent
*/
PM_DockWidgetSeparatorExtent(16),
/**
* Representing QStyle:: PM_DockWidgetHandleExtent
*/
PM_DockWidgetHandleExtent(17),
/**
* Representing QStyle:: PM_DockWidgetFrameWidth
*/
PM_DockWidgetFrameWidth(18),
/**
* Representing QStyle:: PM_TabBarTabOverlap
*/
PM_TabBarTabOverlap(19),
/**
* Representing QStyle:: PM_TabBarTabHSpace
*/
PM_TabBarTabHSpace(20),
/**
* Representing QStyle:: PM_TabBarTabVSpace
*/
PM_TabBarTabVSpace(21),
/**
* Representing QStyle:: PM_TabBarBaseHeight
*/
PM_TabBarBaseHeight(22),
/**
* Representing QStyle:: PM_TabBarBaseOverlap
*/
PM_TabBarBaseOverlap(23),
/**
* Representing QStyle:: PM_ProgressBarChunkWidth
*/
PM_ProgressBarChunkWidth(24),
/**
* Representing QStyle:: PM_SplitterWidth
*/
PM_SplitterWidth(25),
/**
* Representing QStyle:: PM_TitleBarHeight
*/
PM_TitleBarHeight(26),
/**
* Representing QStyle:: PM_MenuScrollerHeight
*/
PM_MenuScrollerHeight(27),
/**
* Representing QStyle:: PM_MenuHMargin
*/
PM_MenuHMargin(28),
/**
* Representing QStyle:: PM_MenuVMargin
*/
PM_MenuVMargin(29),
/**
* Representing QStyle:: PM_MenuPanelWidth
*/
PM_MenuPanelWidth(30),
/**
* Representing QStyle:: PM_MenuTearoffHeight
*/
PM_MenuTearoffHeight(31),
/**
* Representing QStyle:: PM_MenuDesktopFrameWidth
*/
PM_MenuDesktopFrameWidth(32),
/**
* Representing QStyle:: PM_MenuBarPanelWidth
*/
PM_MenuBarPanelWidth(33),
/**
* Representing QStyle:: PM_MenuBarItemSpacing
*/
PM_MenuBarItemSpacing(34),
/**
* Representing QStyle:: PM_MenuBarVMargin
*/
PM_MenuBarVMargin(35),
/**
* Representing QStyle:: PM_MenuBarHMargin
*/
PM_MenuBarHMargin(36),
/**
* Representing QStyle:: PM_IndicatorWidth
*/
PM_IndicatorWidth(37),
/**
* Representing QStyle:: PM_IndicatorHeight
*/
PM_IndicatorHeight(38),
/**
* Representing QStyle:: PM_ExclusiveIndicatorWidth
*/
PM_ExclusiveIndicatorWidth(39),
/**
* Representing QStyle:: PM_ExclusiveIndicatorHeight
*/
PM_ExclusiveIndicatorHeight(40),
/**
* Representing QStyle:: PM_DialogButtonsSeparator
*/
PM_DialogButtonsSeparator(41),
/**
* Representing QStyle:: PM_DialogButtonsButtonWidth
*/
PM_DialogButtonsButtonWidth(42),
/**
* Representing QStyle:: PM_DialogButtonsButtonHeight
*/
PM_DialogButtonsButtonHeight(43),
/**
* Representing QStyle:: PM_MdiSubWindowFrameWidth
*/
PM_MdiSubWindowFrameWidth(44),
/**
* Representing QStyle:: PM_MdiSubWindowMinimizedWidth
*/
PM_MdiSubWindowMinimizedWidth(45),
/**
* Representing QStyle:: PM_HeaderMargin
*/
PM_HeaderMargin(46),
/**
* Representing QStyle:: PM_HeaderMarkSize
*/
PM_HeaderMarkSize(47),
/**
* Representing QStyle:: PM_HeaderGripMargin
*/
PM_HeaderGripMargin(48),
/**
* Representing QStyle:: PM_TabBarTabShiftHorizontal
*/
PM_TabBarTabShiftHorizontal(49),
/**
* Representing QStyle:: PM_TabBarTabShiftVertical
*/
PM_TabBarTabShiftVertical(50),
/**
* Representing QStyle:: PM_TabBarScrollButtonWidth
*/
PM_TabBarScrollButtonWidth(51),
/**
* Representing QStyle:: PM_ToolBarFrameWidth
*/
PM_ToolBarFrameWidth(52),
/**
* Representing QStyle:: PM_ToolBarHandleExtent
*/
PM_ToolBarHandleExtent(53),
/**
* Representing QStyle:: PM_ToolBarItemSpacing
*/
PM_ToolBarItemSpacing(54),
/**
* Representing QStyle:: PM_ToolBarItemMargin
*/
PM_ToolBarItemMargin(55),
/**
* Representing QStyle:: PM_ToolBarSeparatorExtent
*/
PM_ToolBarSeparatorExtent(56),
/**
* Representing QStyle:: PM_ToolBarExtensionExtent
*/
PM_ToolBarExtensionExtent(57),
/**
* Representing QStyle:: PM_SpinBoxSliderHeight
*/
PM_SpinBoxSliderHeight(58),
/**
* Representing QStyle:: PM_ToolBarIconSize
*/
PM_ToolBarIconSize(59),
/**
* Representing QStyle:: PM_ListViewIconSize
*/
PM_ListViewIconSize(60),
/**
* Representing QStyle:: PM_IconViewIconSize
*/
PM_IconViewIconSize(61),
/**
* Representing QStyle:: PM_SmallIconSize
*/
PM_SmallIconSize(62),
/**
* Representing QStyle:: PM_LargeIconSize
*/
PM_LargeIconSize(63),
/**
* Representing QStyle:: PM_FocusFrameVMargin
*/
PM_FocusFrameVMargin(64),
/**
* Representing QStyle:: PM_FocusFrameHMargin
*/
PM_FocusFrameHMargin(65),
/**
* Representing QStyle:: PM_ToolTipLabelFrameWidth
*/
PM_ToolTipLabelFrameWidth(66),
/**
* Representing QStyle:: PM_CheckBoxLabelSpacing
*/
PM_CheckBoxLabelSpacing(67),
/**
* Representing QStyle:: PM_TabBarIconSize
*/
PM_TabBarIconSize(68),
/**
* Representing QStyle:: PM_SizeGripSize
*/
PM_SizeGripSize(69),
/**
* Representing QStyle:: PM_DockWidgetTitleMargin
*/
PM_DockWidgetTitleMargin(70),
/**
* Representing QStyle:: PM_MessageBoxIconSize
*/
PM_MessageBoxIconSize(71),
/**
* Representing QStyle:: PM_ButtonIconSize
*/
PM_ButtonIconSize(72),
/**
* Representing QStyle:: PM_DockWidgetTitleBarButtonMargin
*/
PM_DockWidgetTitleBarButtonMargin(73),
/**
* Representing QStyle:: PM_RadioButtonLabelSpacing
*/
PM_RadioButtonLabelSpacing(74),
/**
* Representing QStyle:: PM_LayoutLeftMargin
*/
PM_LayoutLeftMargin(75),
/**
* Representing QStyle:: PM_LayoutTopMargin
*/
PM_LayoutTopMargin(76),
/**
* Representing QStyle:: PM_LayoutRightMargin
*/
PM_LayoutRightMargin(77),
/**
* Representing QStyle:: PM_LayoutBottomMargin
*/
PM_LayoutBottomMargin(78),
/**
* Representing QStyle:: PM_LayoutHorizontalSpacing
*/
PM_LayoutHorizontalSpacing(79),
/**
* Representing QStyle:: PM_LayoutVerticalSpacing
*/
PM_LayoutVerticalSpacing(80),
/**
* Representing QStyle:: PM_TabBar_ScrollButtonOverlap
*/
PM_TabBar_ScrollButtonOverlap(81),
/**
* Representing QStyle:: PM_TextCursorWidth
*/
PM_TextCursorWidth(82),
/**
* Representing QStyle:: PM_TabCloseIndicatorWidth
*/
PM_TabCloseIndicatorWidth(83),
/**
* Representing QStyle:: PM_TabCloseIndicatorHeight
*/
PM_TabCloseIndicatorHeight(84),
/**
* Representing QStyle:: PM_ScrollView_ScrollBarSpacing
*/
PM_ScrollView_ScrollBarSpacing(85),
/**
* Representing QStyle:: PM_ScrollView_ScrollBarOverlap
*/
PM_ScrollView_ScrollBarOverlap(86),
/**
* Representing QStyle:: PM_SubMenuOverlap
*/
PM_SubMenuOverlap(87),
/**
* Representing QStyle:: PM_TreeViewIndentation
*/
PM_TreeViewIndentation(88),
/**
* Representing QStyle:: PM_HeaderDefaultSectionSizeHorizontal
*/
PM_HeaderDefaultSectionSizeHorizontal(89),
/**
* Representing QStyle:: PM_HeaderDefaultSectionSizeVertical
*/
PM_HeaderDefaultSectionSizeVertical(90),
/**
* Representing QStyle:: PM_TitleBarButtonIconSize
*/
PM_TitleBarButtonIconSize(91),
/**
* Representing QStyle:: PM_TitleBarButtonSize
*/
PM_TitleBarButtonSize(92),
/**
* Representing QStyle:: PM_LineEditIconSize
*/
PM_LineEditIconSize(93),
/**
* Representing QStyle:: PM_LineEditIconMargin
*/
PM_LineEditIconMargin(94),
/**
* Representing QStyle:: PM_CustomBase
*/
PM_CustomBase(-268435456);
static {
QtJambi_LibraryUtilities.initialize();
}
private PixelMetric(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum
*/
public static @NonNull PixelMetric resolve(int value) {
switch (value) {
case 0: return PM_ButtonMargin;
case 1: return PM_ButtonDefaultIndicator;
case 2: return PM_MenuButtonIndicator;
case 3: return PM_ButtonShiftHorizontal;
case 4: return PM_ButtonShiftVertical;
case 5: return PM_DefaultFrameWidth;
case 6: return PM_SpinBoxFrameWidth;
case 7: return PM_ComboBoxFrameWidth;
case 8: return PM_MaximumDragDistance;
case 9: return PM_ScrollBarExtent;
case 10: return PM_ScrollBarSliderMin;
case 11: return PM_SliderThickness;
case 12: return PM_SliderControlThickness;
case 13: return PM_SliderLength;
case 14: return PM_SliderTickmarkOffset;
case 15: return PM_SliderSpaceAvailable;
case 16: return PM_DockWidgetSeparatorExtent;
case 17: return PM_DockWidgetHandleExtent;
case 18: return PM_DockWidgetFrameWidth;
case 19: return PM_TabBarTabOverlap;
case 20: return PM_TabBarTabHSpace;
case 21: return PM_TabBarTabVSpace;
case 22: return PM_TabBarBaseHeight;
case 23: return PM_TabBarBaseOverlap;
case 24: return PM_ProgressBarChunkWidth;
case 25: return PM_SplitterWidth;
case 26: return PM_TitleBarHeight;
case 27: return PM_MenuScrollerHeight;
case 28: return PM_MenuHMargin;
case 29: return PM_MenuVMargin;
case 30: return PM_MenuPanelWidth;
case 31: return PM_MenuTearoffHeight;
case 32: return PM_MenuDesktopFrameWidth;
case 33: return PM_MenuBarPanelWidth;
case 34: return PM_MenuBarItemSpacing;
case 35: return PM_MenuBarVMargin;
case 36: return PM_MenuBarHMargin;
case 37: return PM_IndicatorWidth;
case 38: return PM_IndicatorHeight;
case 39: return PM_ExclusiveIndicatorWidth;
case 40: return PM_ExclusiveIndicatorHeight;
case 41: return PM_DialogButtonsSeparator;
case 42: return PM_DialogButtonsButtonWidth;
case 43: return PM_DialogButtonsButtonHeight;
case 44: return PM_MdiSubWindowFrameWidth;
case 45: return PM_MdiSubWindowMinimizedWidth;
case 46: return PM_HeaderMargin;
case 47: return PM_HeaderMarkSize;
case 48: return PM_HeaderGripMargin;
case 49: return PM_TabBarTabShiftHorizontal;
case 50: return PM_TabBarTabShiftVertical;
case 51: return PM_TabBarScrollButtonWidth;
case 52: return PM_ToolBarFrameWidth;
case 53: return PM_ToolBarHandleExtent;
case 54: return PM_ToolBarItemSpacing;
case 55: return PM_ToolBarItemMargin;
case 56: return PM_ToolBarSeparatorExtent;
case 57: return PM_ToolBarExtensionExtent;
case 58: return PM_SpinBoxSliderHeight;
case 59: return PM_ToolBarIconSize;
case 60: return PM_ListViewIconSize;
case 61: return PM_IconViewIconSize;
case 62: return PM_SmallIconSize;
case 63: return PM_LargeIconSize;
case 64: return PM_FocusFrameVMargin;
case 65: return PM_FocusFrameHMargin;
case 66: return PM_ToolTipLabelFrameWidth;
case 67: return PM_CheckBoxLabelSpacing;
case 68: return PM_TabBarIconSize;
case 69: return PM_SizeGripSize;
case 70: return PM_DockWidgetTitleMargin;
case 71: return PM_MessageBoxIconSize;
case 72: return PM_ButtonIconSize;
case 73: return PM_DockWidgetTitleBarButtonMargin;
case 74: return PM_RadioButtonLabelSpacing;
case 75: return PM_LayoutLeftMargin;
case 76: return PM_LayoutTopMargin;
case 77: return PM_LayoutRightMargin;
case 78: return PM_LayoutBottomMargin;
case 79: return PM_LayoutHorizontalSpacing;
case 80: return PM_LayoutVerticalSpacing;
case 81: return PM_TabBar_ScrollButtonOverlap;
case 82: return PM_TextCursorWidth;
case 83: return PM_TabCloseIndicatorWidth;
case 84: return PM_TabCloseIndicatorHeight;
case 85: return PM_ScrollView_ScrollBarSpacing;
case 86: return PM_ScrollView_ScrollBarOverlap;
case 87: return PM_SubMenuOverlap;
case 88: return PM_TreeViewIndentation;
case 89: return PM_HeaderDefaultSectionSizeHorizontal;
case 90: return PM_HeaderDefaultSectionSizeVertical;
case 91: return PM_TitleBarButtonIconSize;
case 92: return PM_TitleBarButtonSize;
case 93: return PM_LineEditIconSize;
case 94: return PM_LineEditIconMargin;
case -268435456: return PM_CustomBase;
default: return QtJambi_LibraryUtilities.internal.resolveEnum(PixelMetric.class, value, null);
}
}
/**
* Returns the corresponding enum entry for the given value and name.
* @param value
* @param name
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum or name does not match.
*/
public static @NonNull PixelMetric resolve(int value, @Nullable String name) {
if(name==null || name.isEmpty())
return resolve(value);
else
return QtJambi_LibraryUtilities.internal.resolveEnum(PixelMetric.class, value, name);
}
private final int value;
}
/**
* Java wrapper for Qt enum QStyle::PrimitiveElement
*/
@QtExtensibleEnum
@QtRejectedEntries({"PE_IndicatorTabTearLeft"})
public enum PrimitiveElement implements QtEnumerator {
/**
* Representing QStyle:: PE_Frame
*/
PE_Frame(0),
/**
* Representing QStyle:: PE_FrameDefaultButton
*/
PE_FrameDefaultButton(1),
/**
* Representing QStyle:: PE_FrameDockWidget
*/
PE_FrameDockWidget(2),
/**
* Representing QStyle:: PE_FrameFocusRect
*/
PE_FrameFocusRect(3),
/**
* Representing QStyle:: PE_FrameGroupBox
*/
PE_FrameGroupBox(4),
/**
* Representing QStyle:: PE_FrameLineEdit
*/
PE_FrameLineEdit(5),
/**
* Representing QStyle:: PE_FrameMenu
*/
PE_FrameMenu(6),
/**
* Representing QStyle:: PE_FrameStatusBarItem
*/
PE_FrameStatusBarItem(7),
/**
* Representing QStyle:: PE_FrameTabWidget
*/
PE_FrameTabWidget(8),
/**
* Representing QStyle:: PE_FrameWindow
*/
PE_FrameWindow(9),
/**
* Representing QStyle:: PE_FrameButtonBevel
*/
PE_FrameButtonBevel(10),
/**
* Representing QStyle:: PE_FrameButtonTool
*/
PE_FrameButtonTool(11),
/**
* Representing QStyle:: PE_FrameTabBarBase
*/
PE_FrameTabBarBase(12),
/**
* Representing QStyle:: PE_PanelButtonCommand
*/
PE_PanelButtonCommand(13),
/**
* Representing QStyle:: PE_PanelButtonBevel
*/
PE_PanelButtonBevel(14),
/**
* Representing QStyle:: PE_PanelButtonTool
*/
PE_PanelButtonTool(15),
/**
* Representing QStyle:: PE_PanelMenuBar
*/
PE_PanelMenuBar(16),
/**
* Representing QStyle:: PE_PanelToolBar
*/
PE_PanelToolBar(17),
/**
* Representing QStyle:: PE_PanelLineEdit
*/
PE_PanelLineEdit(18),
/**
* Representing QStyle:: PE_IndicatorArrowDown
*/
PE_IndicatorArrowDown(19),
/**
* Representing QStyle:: PE_IndicatorArrowLeft
*/
PE_IndicatorArrowLeft(20),
/**
* Representing QStyle:: PE_IndicatorArrowRight
*/
PE_IndicatorArrowRight(21),
/**
* Representing QStyle:: PE_IndicatorArrowUp
*/
PE_IndicatorArrowUp(22),
/**
* Representing QStyle:: PE_IndicatorBranch
*/
PE_IndicatorBranch(23),
/**
* Representing QStyle:: PE_IndicatorButtonDropDown
*/
PE_IndicatorButtonDropDown(24),
/**
* Representing QStyle:: PE_IndicatorItemViewItemCheck
*/
PE_IndicatorItemViewItemCheck(25),
/**
* Representing QStyle:: PE_IndicatorCheckBox
*/
PE_IndicatorCheckBox(26),
/**
* Representing QStyle:: PE_IndicatorDockWidgetResizeHandle
*/
PE_IndicatorDockWidgetResizeHandle(27),
/**
* Representing QStyle:: PE_IndicatorHeaderArrow
*/
PE_IndicatorHeaderArrow(28),
/**
* Representing QStyle:: PE_IndicatorMenuCheckMark
*/
PE_IndicatorMenuCheckMark(29),
/**
* Representing QStyle:: PE_IndicatorProgressChunk
*/
PE_IndicatorProgressChunk(30),
/**
* Representing QStyle:: PE_IndicatorRadioButton
*/
PE_IndicatorRadioButton(31),
/**
* Representing QStyle:: PE_IndicatorSpinDown
*/
PE_IndicatorSpinDown(32),
/**
* Representing QStyle:: PE_IndicatorSpinMinus
*/
PE_IndicatorSpinMinus(33),
/**
* Representing QStyle:: PE_IndicatorSpinPlus
*/
PE_IndicatorSpinPlus(34),
/**
* Representing QStyle:: PE_IndicatorSpinUp
*/
PE_IndicatorSpinUp(35),
/**
* Representing QStyle:: PE_IndicatorToolBarHandle
*/
PE_IndicatorToolBarHandle(36),
/**
* Representing QStyle:: PE_IndicatorToolBarSeparator
*/
PE_IndicatorToolBarSeparator(37),
/**
* Representing QStyle:: PE_PanelTipLabel
*/
PE_PanelTipLabel(38),
/**
* Representing QStyle:: PE_IndicatorTabTear
*/
PE_IndicatorTabTear(39),
/**
* Representing QStyle:: PE_IndicatorTabTearLeft
*/
PE_IndicatorTabTearLeft(39),
/**
* Representing QStyle:: PE_PanelScrollAreaCorner
*/
PE_PanelScrollAreaCorner(40),
/**
* Representing QStyle:: PE_Widget
*/
PE_Widget(41),
/**
* Representing QStyle:: PE_IndicatorColumnViewArrow
*/
PE_IndicatorColumnViewArrow(42),
/**
* Representing QStyle:: PE_IndicatorItemViewItemDrop
*/
PE_IndicatorItemViewItemDrop(43),
/**
* Representing QStyle:: PE_PanelItemViewItem
*/
PE_PanelItemViewItem(44),
/**
* Representing QStyle:: PE_PanelItemViewRow
*/
PE_PanelItemViewRow(45),
/**
* Representing QStyle:: PE_PanelStatusBar
*/
PE_PanelStatusBar(46),
/**
* Representing QStyle:: PE_IndicatorTabClose
*/
PE_IndicatorTabClose(47),
/**
* Representing QStyle:: PE_PanelMenu
*/
PE_PanelMenu(48),
/**
* Representing QStyle:: PE_IndicatorTabTearRight
*/
PE_IndicatorTabTearRight(49),
/**
* Representing QStyle:: PE_CustomBase
*/
PE_CustomBase(251658240);
static {
QtJambi_LibraryUtilities.initialize();
}
private PrimitiveElement(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum
*/
public static @NonNull PrimitiveElement resolve(int value) {
switch (value) {
case 0: return PE_Frame;
case 1: return PE_FrameDefaultButton;
case 2: return PE_FrameDockWidget;
case 3: return PE_FrameFocusRect;
case 4: return PE_FrameGroupBox;
case 5: return PE_FrameLineEdit;
case 6: return PE_FrameMenu;
case 7: return PE_FrameStatusBarItem;
case 8: return PE_FrameTabWidget;
case 9: return PE_FrameWindow;
case 10: return PE_FrameButtonBevel;
case 11: return PE_FrameButtonTool;
case 12: return PE_FrameTabBarBase;
case 13: return PE_PanelButtonCommand;
case 14: return PE_PanelButtonBevel;
case 15: return PE_PanelButtonTool;
case 16: return PE_PanelMenuBar;
case 17: return PE_PanelToolBar;
case 18: return PE_PanelLineEdit;
case 19: return PE_IndicatorArrowDown;
case 20: return PE_IndicatorArrowLeft;
case 21: return PE_IndicatorArrowRight;
case 22: return PE_IndicatorArrowUp;
case 23: return PE_IndicatorBranch;
case 24: return PE_IndicatorButtonDropDown;
case 25: return PE_IndicatorItemViewItemCheck;
case 26: return PE_IndicatorCheckBox;
case 27: return PE_IndicatorDockWidgetResizeHandle;
case 28: return PE_IndicatorHeaderArrow;
case 29: return PE_IndicatorMenuCheckMark;
case 30: return PE_IndicatorProgressChunk;
case 31: return PE_IndicatorRadioButton;
case 32: return PE_IndicatorSpinDown;
case 33: return PE_IndicatorSpinMinus;
case 34: return PE_IndicatorSpinPlus;
case 35: return PE_IndicatorSpinUp;
case 36: return PE_IndicatorToolBarHandle;
case 37: return PE_IndicatorToolBarSeparator;
case 38: return PE_PanelTipLabel;
case 39: return PE_IndicatorTabTear;
case 40: return PE_PanelScrollAreaCorner;
case 41: return PE_Widget;
case 42: return PE_IndicatorColumnViewArrow;
case 43: return PE_IndicatorItemViewItemDrop;
case 44: return PE_PanelItemViewItem;
case 45: return PE_PanelItemViewRow;
case 46: return PE_PanelStatusBar;
case 47: return PE_IndicatorTabClose;
case 48: return PE_PanelMenu;
case 49: return PE_IndicatorTabTearRight;
case 251658240: return PE_CustomBase;
default: return QtJambi_LibraryUtilities.internal.resolveEnum(PrimitiveElement.class, value, null);
}
}
/**
* Returns the corresponding enum entry for the given value and name.
* @param value
* @param name
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum or name does not match.
*/
public static @NonNull PrimitiveElement resolve(int value, @Nullable String name) {
if(name==null || name.isEmpty())
return resolve(value);
else
return QtJambi_LibraryUtilities.internal.resolveEnum(PrimitiveElement.class, value, name);
}
private final int value;
}
/**
* Java wrapper for Qt enum QStyle::RequestSoftwareInputPanel
*/
public enum RequestSoftwareInputPanel implements QtEnumerator {
/**
* Representing QStyle:: RSIP_OnMouseClickAndAlreadyFocused
*/
RSIP_OnMouseClickAndAlreadyFocused(0),
/**
* Representing QStyle:: RSIP_OnMouseClick
*/
RSIP_OnMouseClick(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private RequestSoftwareInputPanel(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull RequestSoftwareInputPanel resolve(int value) {
switch (value) {
case 0: return RSIP_OnMouseClickAndAlreadyFocused;
case 1: return RSIP_OnMouseClick;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QStyle::StandardPixmap
*/
@QtExtensibleEnum
public enum StandardPixmap implements QtEnumerator {
/**
* Representing QStyle:: SP_TitleBarMenuButton
*/
SP_TitleBarMenuButton(0),
/**
* Representing QStyle:: SP_TitleBarMinButton
*/
SP_TitleBarMinButton(1),
/**
* Representing QStyle:: SP_TitleBarMaxButton
*/
SP_TitleBarMaxButton(2),
/**
* Representing QStyle:: SP_TitleBarCloseButton
*/
SP_TitleBarCloseButton(3),
/**
* Representing QStyle:: SP_TitleBarNormalButton
*/
SP_TitleBarNormalButton(4),
/**
* Representing QStyle:: SP_TitleBarShadeButton
*/
SP_TitleBarShadeButton(5),
/**
* Representing QStyle:: SP_TitleBarUnshadeButton
*/
SP_TitleBarUnshadeButton(6),
/**
* Representing QStyle:: SP_TitleBarContextHelpButton
*/
SP_TitleBarContextHelpButton(7),
/**
* Representing QStyle:: SP_DockWidgetCloseButton
*/
SP_DockWidgetCloseButton(8),
/**
* Representing QStyle:: SP_MessageBoxInformation
*/
SP_MessageBoxInformation(9),
/**
* Representing QStyle:: SP_MessageBoxWarning
*/
SP_MessageBoxWarning(10),
/**
* Representing QStyle:: SP_MessageBoxCritical
*/
SP_MessageBoxCritical(11),
/**
* Representing QStyle:: SP_MessageBoxQuestion
*/
SP_MessageBoxQuestion(12),
/**
* Representing QStyle:: SP_DesktopIcon
*/
SP_DesktopIcon(13),
/**
* Representing QStyle:: SP_TrashIcon
*/
SP_TrashIcon(14),
/**
* Representing QStyle:: SP_ComputerIcon
*/
SP_ComputerIcon(15),
/**
* Representing QStyle:: SP_DriveFDIcon
*/
SP_DriveFDIcon(16),
/**
* Representing QStyle:: SP_DriveHDIcon
*/
SP_DriveHDIcon(17),
/**
* Representing QStyle:: SP_DriveCDIcon
*/
SP_DriveCDIcon(18),
/**
* Representing QStyle:: SP_DriveDVDIcon
*/
SP_DriveDVDIcon(19),
/**
* Representing QStyle:: SP_DriveNetIcon
*/
SP_DriveNetIcon(20),
/**
* Representing QStyle:: SP_DirOpenIcon
*/
SP_DirOpenIcon(21),
/**
* Representing QStyle:: SP_DirClosedIcon
*/
SP_DirClosedIcon(22),
/**
* Representing QStyle:: SP_DirLinkIcon
*/
SP_DirLinkIcon(23),
/**
* Representing QStyle:: SP_DirLinkOpenIcon
*/
SP_DirLinkOpenIcon(24),
/**
* Representing QStyle:: SP_FileIcon
*/
SP_FileIcon(25),
/**
* Representing QStyle:: SP_FileLinkIcon
*/
SP_FileLinkIcon(26),
/**
* Representing QStyle:: SP_ToolBarHorizontalExtensionButton
*/
SP_ToolBarHorizontalExtensionButton(27),
/**
* Representing QStyle:: SP_ToolBarVerticalExtensionButton
*/
SP_ToolBarVerticalExtensionButton(28),
/**
* Representing QStyle:: SP_FileDialogStart
*/
SP_FileDialogStart(29),
/**
* Representing QStyle:: SP_FileDialogEnd
*/
SP_FileDialogEnd(30),
/**
* Representing QStyle:: SP_FileDialogToParent
*/
SP_FileDialogToParent(31),
/**
* Representing QStyle:: SP_FileDialogNewFolder
*/
SP_FileDialogNewFolder(32),
/**
* Representing QStyle:: SP_FileDialogDetailedView
*/
SP_FileDialogDetailedView(33),
/**
* Representing QStyle:: SP_FileDialogInfoView
*/
SP_FileDialogInfoView(34),
/**
* Representing QStyle:: SP_FileDialogContentsView
*/
SP_FileDialogContentsView(35),
/**
* Representing QStyle:: SP_FileDialogListView
*/
SP_FileDialogListView(36),
/**
* Representing QStyle:: SP_FileDialogBack
*/
SP_FileDialogBack(37),
/**
* Representing QStyle:: SP_DirIcon
*/
SP_DirIcon(38),
/**
* Representing QStyle:: SP_DialogOkButton
*/
SP_DialogOkButton(39),
/**
* Representing QStyle:: SP_DialogCancelButton
*/
SP_DialogCancelButton(40),
/**
* Representing QStyle:: SP_DialogHelpButton
*/
SP_DialogHelpButton(41),
/**
* Representing QStyle:: SP_DialogOpenButton
*/
SP_DialogOpenButton(42),
/**
* Representing QStyle:: SP_DialogSaveButton
*/
SP_DialogSaveButton(43),
/**
* Representing QStyle:: SP_DialogCloseButton
*/
SP_DialogCloseButton(44),
/**
* Representing QStyle:: SP_DialogApplyButton
*/
SP_DialogApplyButton(45),
/**
* Representing QStyle:: SP_DialogResetButton
*/
SP_DialogResetButton(46),
/**
* Representing QStyle:: SP_DialogDiscardButton
*/
SP_DialogDiscardButton(47),
/**
* Representing QStyle:: SP_DialogYesButton
*/
SP_DialogYesButton(48),
/**
* Representing QStyle:: SP_DialogNoButton
*/
SP_DialogNoButton(49),
/**
* Representing QStyle:: SP_ArrowUp
*/
SP_ArrowUp(50),
/**
* Representing QStyle:: SP_ArrowDown
*/
SP_ArrowDown(51),
/**
* Representing QStyle:: SP_ArrowLeft
*/
SP_ArrowLeft(52),
/**
* Representing QStyle:: SP_ArrowRight
*/
SP_ArrowRight(53),
/**
* Representing QStyle:: SP_ArrowBack
*/
SP_ArrowBack(54),
/**
* Representing QStyle:: SP_ArrowForward
*/
SP_ArrowForward(55),
/**
* Representing QStyle:: SP_DirHomeIcon
*/
SP_DirHomeIcon(56),
/**
* Representing QStyle:: SP_CommandLink
*/
SP_CommandLink(57),
/**
* Representing QStyle:: SP_VistaShield
*/
SP_VistaShield(58),
/**
* Representing QStyle:: SP_BrowserReload
*/
SP_BrowserReload(59),
/**
* Representing QStyle:: SP_BrowserStop
*/
SP_BrowserStop(60),
/**
* Representing QStyle:: SP_MediaPlay
*/
SP_MediaPlay(61),
/**
* Representing QStyle:: SP_MediaStop
*/
SP_MediaStop(62),
/**
* Representing QStyle:: SP_MediaPause
*/
SP_MediaPause(63),
/**
* Representing QStyle:: SP_MediaSkipForward
*/
SP_MediaSkipForward(64),
/**
* Representing QStyle:: SP_MediaSkipBackward
*/
SP_MediaSkipBackward(65),
/**
* Representing QStyle:: SP_MediaSeekForward
*/
SP_MediaSeekForward(66),
/**
* Representing QStyle:: SP_MediaSeekBackward
*/
SP_MediaSeekBackward(67),
/**
* Representing QStyle:: SP_MediaVolume
*/
SP_MediaVolume(68),
/**
* Representing QStyle:: SP_MediaVolumeMuted
*/
SP_MediaVolumeMuted(69),
/**
* Representing QStyle:: SP_LineEditClearButton
*/
SP_LineEditClearButton(70),
/**
* Representing QStyle:: SP_DialogYesToAllButton
*/
SP_DialogYesToAllButton(71),
/**
* Representing QStyle:: SP_DialogNoToAllButton
*/
SP_DialogNoToAllButton(72),
/**
* Representing QStyle:: SP_DialogSaveAllButton
*/
SP_DialogSaveAllButton(73),
/**
* Representing QStyle:: SP_DialogAbortButton
*/
SP_DialogAbortButton(74),
/**
* Representing QStyle:: SP_DialogRetryButton
*/
SP_DialogRetryButton(75),
/**
* Representing QStyle:: SP_DialogIgnoreButton
*/
SP_DialogIgnoreButton(76),
/**
* Representing QStyle:: SP_RestoreDefaultsButton
*/
SP_RestoreDefaultsButton(77),
/**
* Representing QStyle:: SP_TabCloseButton
*/
SP_TabCloseButton(78),
/**
* Representing QStyle:: NStandardPixmap
*/
NStandardPixmap(79),
/**
* Representing QStyle:: SP_CustomBase
*/
SP_CustomBase(-268435456);
static {
QtJambi_LibraryUtilities.initialize();
}
private StandardPixmap(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum
*/
public static @NonNull StandardPixmap resolve(int value) {
switch (value) {
case 0: return SP_TitleBarMenuButton;
case 1: return SP_TitleBarMinButton;
case 2: return SP_TitleBarMaxButton;
case 3: return SP_TitleBarCloseButton;
case 4: return SP_TitleBarNormalButton;
case 5: return SP_TitleBarShadeButton;
case 6: return SP_TitleBarUnshadeButton;
case 7: return SP_TitleBarContextHelpButton;
case 8: return SP_DockWidgetCloseButton;
case 9: return SP_MessageBoxInformation;
case 10: return SP_MessageBoxWarning;
case 11: return SP_MessageBoxCritical;
case 12: return SP_MessageBoxQuestion;
case 13: return SP_DesktopIcon;
case 14: return SP_TrashIcon;
case 15: return SP_ComputerIcon;
case 16: return SP_DriveFDIcon;
case 17: return SP_DriveHDIcon;
case 18: return SP_DriveCDIcon;
case 19: return SP_DriveDVDIcon;
case 20: return SP_DriveNetIcon;
case 21: return SP_DirOpenIcon;
case 22: return SP_DirClosedIcon;
case 23: return SP_DirLinkIcon;
case 24: return SP_DirLinkOpenIcon;
case 25: return SP_FileIcon;
case 26: return SP_FileLinkIcon;
case 27: return SP_ToolBarHorizontalExtensionButton;
case 28: return SP_ToolBarVerticalExtensionButton;
case 29: return SP_FileDialogStart;
case 30: return SP_FileDialogEnd;
case 31: return SP_FileDialogToParent;
case 32: return SP_FileDialogNewFolder;
case 33: return SP_FileDialogDetailedView;
case 34: return SP_FileDialogInfoView;
case 35: return SP_FileDialogContentsView;
case 36: return SP_FileDialogListView;
case 37: return SP_FileDialogBack;
case 38: return SP_DirIcon;
case 39: return SP_DialogOkButton;
case 40: return SP_DialogCancelButton;
case 41: return SP_DialogHelpButton;
case 42: return SP_DialogOpenButton;
case 43: return SP_DialogSaveButton;
case 44: return SP_DialogCloseButton;
case 45: return SP_DialogApplyButton;
case 46: return SP_DialogResetButton;
case 47: return SP_DialogDiscardButton;
case 48: return SP_DialogYesButton;
case 49: return SP_DialogNoButton;
case 50: return SP_ArrowUp;
case 51: return SP_ArrowDown;
case 52: return SP_ArrowLeft;
case 53: return SP_ArrowRight;
case 54: return SP_ArrowBack;
case 55: return SP_ArrowForward;
case 56: return SP_DirHomeIcon;
case 57: return SP_CommandLink;
case 58: return SP_VistaShield;
case 59: return SP_BrowserReload;
case 60: return SP_BrowserStop;
case 61: return SP_MediaPlay;
case 62: return SP_MediaStop;
case 63: return SP_MediaPause;
case 64: return SP_MediaSkipForward;
case 65: return SP_MediaSkipBackward;
case 66: return SP_MediaSeekForward;
case 67: return SP_MediaSeekBackward;
case 68: return SP_MediaVolume;
case 69: return SP_MediaVolumeMuted;
case 70: return SP_LineEditClearButton;
case 71: return SP_DialogYesToAllButton;
case 72: return SP_DialogNoToAllButton;
case 73: return SP_DialogSaveAllButton;
case 74: return SP_DialogAbortButton;
case 75: return SP_DialogRetryButton;
case 76: return SP_DialogIgnoreButton;
case 77: return SP_RestoreDefaultsButton;
case 78: return SP_TabCloseButton;
case 79: return NStandardPixmap;
case -268435456: return SP_CustomBase;
default: return QtJambi_LibraryUtilities.internal.resolveEnum(StandardPixmap.class, value, null);
}
}
/**
* Returns the corresponding enum entry for the given value and name.
* @param value
* @param name
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum or name does not match.
*/
public static @NonNull StandardPixmap resolve(int value, @Nullable String name) {
if(name==null || name.isEmpty())
return resolve(value);
else
return QtJambi_LibraryUtilities.internal.resolveEnum(StandardPixmap.class, value, name);
}
private final int value;
}
/**
* Java wrapper for Qt enum QStyle::StateFlag
*
* @see State
*/
public enum StateFlag implements QtFlagEnumerator {
/**
* Representing QStyle:: State_None
*/
State_None(0),
/**
* Representing QStyle:: State_Enabled
*/
State_Enabled(1),
/**
* Representing QStyle:: State_Raised
*/
State_Raised(2),
/**
* Representing QStyle:: State_Sunken
*/
State_Sunken(4),
/**
* Representing QStyle:: State_Off
*/
State_Off(8),
/**
* Representing QStyle:: State_NoChange
*/
State_NoChange(16),
/**
* Representing QStyle:: State_On
*/
State_On(32),
/**
* Representing QStyle:: State_DownArrow
*/
State_DownArrow(64),
/**
* Representing QStyle:: State_Horizontal
*/
State_Horizontal(128),
/**
* Representing QStyle:: State_HasFocus
*/
State_HasFocus(256),
/**
* Representing QStyle:: State_Top
*/
State_Top(512),
/**
* Representing QStyle:: State_Bottom
*/
State_Bottom(1024),
/**
* Representing QStyle:: State_FocusAtBorder
*/
State_FocusAtBorder(2048),
/**
* Representing QStyle:: State_AutoRaise
*/
State_AutoRaise(4096),
/**
* Representing QStyle:: State_MouseOver
*/
State_MouseOver(8192),
/**
* Representing QStyle:: State_UpArrow
*/
State_UpArrow(16384),
/**
* Representing QStyle:: State_Selected
*/
State_Selected(32768),
/**
* Representing QStyle:: State_Active
*/
State_Active(65536),
/**
* Representing QStyle:: State_Window
*/
State_Window(131072),
/**
* Representing QStyle:: State_Open
*/
State_Open(262144),
/**
* Representing QStyle:: State_Children
*/
State_Children(524288),
/**
* Representing QStyle:: State_Item
*/
State_Item(1048576),
/**
* Representing QStyle:: State_Sibling
*/
State_Sibling(2097152),
/**
* Representing QStyle:: State_Editing
*/
State_Editing(4194304),
/**
* Representing QStyle:: State_KeyboardFocusChange
*/
State_KeyboardFocusChange(8388608),
/**
* Representing QStyle:: State_HasEditFocus
*/
State_HasEditFocus(16777216),
/**
* Representing QStyle:: State_ReadOnly
*/
State_ReadOnly(33554432),
/**
* Representing QStyle:: State_Small
*/
State_Small(67108864),
/**
* Representing QStyle:: State_Mini
*/
State_Mini(134217728);
static {
QtJambi_LibraryUtilities.initialize();
}
private StateFlag(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull State asFlags() {
return new State(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull State combined(@NonNull StateFlag e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull State cleared(@NonNull StateFlag e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link State} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull State flags(@Nullable StateFlag @NonNull... values) {
return new State(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull StateFlag resolve(int value) {
switch (value) {
case 0: return State_None;
case 1: return State_Enabled;
case 2: return State_Raised;
case 4: return State_Sunken;
case 8: return State_Off;
case 16: return State_NoChange;
case 32: return State_On;
case 64: return State_DownArrow;
case 128: return State_Horizontal;
case 256: return State_HasFocus;
case 512: return State_Top;
case 1024: return State_Bottom;
case 2048: return State_FocusAtBorder;
case 4096: return State_AutoRaise;
case 8192: return State_MouseOver;
case 16384: return State_UpArrow;
case 32768: return State_Selected;
case 65536: return State_Active;
case 131072: return State_Window;
case 262144: return State_Open;
case 524288: return State_Children;
case 1048576: return State_Item;
case 2097152: return State_Sibling;
case 4194304: return State_Editing;
case 8388608: return State_KeyboardFocusChange;
case 16777216: return State_HasEditFocus;
case 33554432: return State_ReadOnly;
case 67108864: return State_Small;
case 134217728: return State_Mini;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link StateFlag}
*/
public static final class State extends QFlags implements Comparable {
private static final long serialVersionUID = 0x9b980ff5141882cL;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new State where the flags in args
are set.
* @param args enum entries
*/
public State(@Nullable StateFlag @NonNull... args){
super(args);
}
/**
* Creates a new State with given value
.
* @param value
*/
public State(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new State
*/
@Override
public final @NonNull State combined(@StrictNonNull StateFlag e){
return new State(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull State setFlag(@Nullable StateFlag e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final @NonNull State setFlag(@Nullable StateFlag e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this State.
* @return array of enum entries
*/
@Override
public final @NonNull StateFlag @NonNull[] flags(){
return super.flags(StateFlag.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull State clone(){
return new State(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull State other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QStyle::StyleHint
*/
@QtExtensibleEnum
public enum StyleHint implements QtEnumerator {
/**
* Representing QStyle:: SH_EtchDisabledText
*/
SH_EtchDisabledText(0),
/**
* Representing QStyle:: SH_DitherDisabledText
*/
SH_DitherDisabledText(1),
/**
* Representing QStyle:: SH_ScrollBar_MiddleClickAbsolutePosition
*/
SH_ScrollBar_MiddleClickAbsolutePosition(2),
/**
* Representing QStyle:: SH_ScrollBar_ScrollWhenPointerLeavesControl
*/
SH_ScrollBar_ScrollWhenPointerLeavesControl(3),
/**
* Representing QStyle:: SH_TabBar_SelectMouseType
*/
SH_TabBar_SelectMouseType(4),
/**
* Representing QStyle:: SH_TabBar_Alignment
*/
SH_TabBar_Alignment(5),
/**
* Representing QStyle:: SH_Header_ArrowAlignment
*/
SH_Header_ArrowAlignment(6),
/**
* Representing QStyle:: SH_Slider_SnapToValue
*/
SH_Slider_SnapToValue(7),
/**
* Representing QStyle:: SH_Slider_SloppyKeyEvents
*/
SH_Slider_SloppyKeyEvents(8),
/**
* Representing QStyle:: SH_ProgressDialog_CenterCancelButton
*/
SH_ProgressDialog_CenterCancelButton(9),
/**
* Representing QStyle:: SH_ProgressDialog_TextLabelAlignment
*/
SH_ProgressDialog_TextLabelAlignment(10),
/**
* Representing QStyle:: SH_PrintDialog_RightAlignButtons
*/
SH_PrintDialog_RightAlignButtons(11),
/**
* Representing QStyle:: SH_MainWindow_SpaceBelowMenuBar
*/
SH_MainWindow_SpaceBelowMenuBar(12),
/**
* Representing QStyle:: SH_FontDialog_SelectAssociatedText
*/
SH_FontDialog_SelectAssociatedText(13),
/**
* Representing QStyle:: SH_Menu_AllowActiveAndDisabled
*/
SH_Menu_AllowActiveAndDisabled(14),
/**
* Representing QStyle:: SH_Menu_SpaceActivatesItem
*/
SH_Menu_SpaceActivatesItem(15),
/**
* Representing QStyle:: SH_Menu_SubMenuPopupDelay
*/
SH_Menu_SubMenuPopupDelay(16),
/**
* Representing QStyle:: SH_ScrollView_FrameOnlyAroundContents
*/
SH_ScrollView_FrameOnlyAroundContents(17),
/**
* Representing QStyle:: SH_MenuBar_AltKeyNavigation
*/
SH_MenuBar_AltKeyNavigation(18),
/**
* Representing QStyle:: SH_ComboBox_ListMouseTracking
*/
SH_ComboBox_ListMouseTracking(19),
/**
* Representing QStyle:: SH_Menu_MouseTracking
*/
SH_Menu_MouseTracking(20),
/**
* Representing QStyle:: SH_MenuBar_MouseTracking
*/
SH_MenuBar_MouseTracking(21),
/**
* Representing QStyle:: SH_ItemView_ChangeHighlightOnFocus
*/
SH_ItemView_ChangeHighlightOnFocus(22),
/**
* Representing QStyle:: SH_Widget_ShareActivation
*/
SH_Widget_ShareActivation(23),
/**
* Representing QStyle:: SH_Workspace_FillSpaceOnMaximize
*/
SH_Workspace_FillSpaceOnMaximize(24),
/**
* Representing QStyle:: SH_ComboBox_Popup
*/
SH_ComboBox_Popup(25),
/**
* Representing QStyle:: SH_TitleBar_NoBorder
*/
SH_TitleBar_NoBorder(26),
/**
* Representing QStyle:: SH_Slider_StopMouseOverSlider
*/
SH_Slider_StopMouseOverSlider(27),
/**
* Representing QStyle:: SH_BlinkCursorWhenTextSelected
*/
SH_BlinkCursorWhenTextSelected(28),
/**
* Representing QStyle:: SH_RichText_FullWidthSelection
*/
SH_RichText_FullWidthSelection(29),
/**
* Representing QStyle:: SH_Menu_Scrollable
*/
SH_Menu_Scrollable(30),
/**
* Representing QStyle:: SH_GroupBox_TextLabelVerticalAlignment
*/
SH_GroupBox_TextLabelVerticalAlignment(31),
/**
* Representing QStyle:: SH_GroupBox_TextLabelColor
*/
SH_GroupBox_TextLabelColor(32),
/**
* Representing QStyle:: SH_Menu_SloppySubMenus
*/
SH_Menu_SloppySubMenus(33),
/**
* Representing QStyle:: SH_Table_GridLineColor
*/
SH_Table_GridLineColor(34),
/**
* Representing QStyle:: SH_LineEdit_PasswordCharacter
*/
SH_LineEdit_PasswordCharacter(35),
/**
* Representing QStyle:: SH_DialogButtons_DefaultButton
*/
SH_DialogButtons_DefaultButton(36),
/**
* Representing QStyle:: SH_ToolBox_SelectedPageTitleBold
*/
SH_ToolBox_SelectedPageTitleBold(37),
/**
* Representing QStyle:: SH_TabBar_PreferNoArrows
*/
SH_TabBar_PreferNoArrows(38),
/**
* Representing QStyle:: SH_ScrollBar_LeftClickAbsolutePosition
*/
SH_ScrollBar_LeftClickAbsolutePosition(39),
/**
* Representing QStyle:: SH_ListViewExpand_SelectMouseType
*/
SH_ListViewExpand_SelectMouseType(40),
/**
* Representing QStyle:: SH_UnderlineShortcut
*/
SH_UnderlineShortcut(41),
/**
* Representing QStyle:: SH_SpinBox_AnimateButton
*/
SH_SpinBox_AnimateButton(42),
/**
* Representing QStyle:: SH_SpinBox_KeyPressAutoRepeatRate
*/
SH_SpinBox_KeyPressAutoRepeatRate(43),
/**
* Representing QStyle:: SH_SpinBox_ClickAutoRepeatRate
*/
SH_SpinBox_ClickAutoRepeatRate(44),
/**
* Representing QStyle:: SH_Menu_FillScreenWithScroll
*/
SH_Menu_FillScreenWithScroll(45),
/**
* Representing QStyle:: SH_ToolTipLabel_Opacity
*/
SH_ToolTipLabel_Opacity(46),
/**
* Representing QStyle:: SH_DrawMenuBarSeparator
*/
SH_DrawMenuBarSeparator(47),
/**
* Representing QStyle:: SH_TitleBar_ModifyNotification
*/
SH_TitleBar_ModifyNotification(48),
/**
* Representing QStyle:: SH_Button_FocusPolicy
*/
SH_Button_FocusPolicy(49),
/**
* Representing QStyle:: SH_MessageBox_UseBorderForButtonSpacing
*/
SH_MessageBox_UseBorderForButtonSpacing(50),
/**
* Representing QStyle:: SH_TitleBar_AutoRaise
*/
SH_TitleBar_AutoRaise(51),
/**
* Representing QStyle:: SH_ToolButton_PopupDelay
*/
SH_ToolButton_PopupDelay(52),
/**
* Representing QStyle:: SH_FocusFrame_Mask
*/
SH_FocusFrame_Mask(53),
/**
* Representing QStyle:: SH_RubberBand_Mask
*/
SH_RubberBand_Mask(54),
/**
* Representing QStyle:: SH_WindowFrame_Mask
*/
SH_WindowFrame_Mask(55),
/**
* Representing QStyle:: SH_SpinControls_DisableOnBounds
*/
SH_SpinControls_DisableOnBounds(56),
/**
* Representing QStyle:: SH_Dial_BackgroundRole
*/
SH_Dial_BackgroundRole(57),
/**
* Representing QStyle:: SH_ComboBox_LayoutDirection
*/
SH_ComboBox_LayoutDirection(58),
/**
* Representing QStyle:: SH_ItemView_EllipsisLocation
*/
SH_ItemView_EllipsisLocation(59),
/**
* Representing QStyle:: SH_ItemView_ShowDecorationSelected
*/
SH_ItemView_ShowDecorationSelected(60),
/**
* Representing QStyle:: SH_ItemView_ActivateItemOnSingleClick
*/
SH_ItemView_ActivateItemOnSingleClick(61),
/**
* Representing QStyle:: SH_ScrollBar_ContextMenu
*/
SH_ScrollBar_ContextMenu(62),
/**
* Representing QStyle:: SH_ScrollBar_RollBetweenButtons
*/
SH_ScrollBar_RollBetweenButtons(63),
/**
* Representing QStyle:: SH_Slider_AbsoluteSetButtons
*/
SH_Slider_AbsoluteSetButtons(64),
/**
* Representing QStyle:: SH_Slider_PageSetButtons
*/
SH_Slider_PageSetButtons(65),
/**
* Representing QStyle:: SH_Menu_KeyboardSearch
*/
SH_Menu_KeyboardSearch(66),
/**
* Representing QStyle:: SH_TabBar_ElideMode
*/
SH_TabBar_ElideMode(67),
/**
* Representing QStyle:: SH_DialogButtonLayout
*/
SH_DialogButtonLayout(68),
/**
* Representing QStyle:: SH_ComboBox_PopupFrameStyle
*/
SH_ComboBox_PopupFrameStyle(69),
/**
* Representing QStyle:: SH_MessageBox_TextInteractionFlags
*/
SH_MessageBox_TextInteractionFlags(70),
/**
* Representing QStyle:: SH_DialogButtonBox_ButtonsHaveIcons
*/
SH_DialogButtonBox_ButtonsHaveIcons(71),
/**
* Representing QStyle:: SH_MessageBox_CenterButtons
*/
SH_MessageBox_CenterButtons(72),
/**
* Representing QStyle:: SH_Menu_SelectionWrap
*/
SH_Menu_SelectionWrap(73),
/**
* Representing QStyle:: SH_ItemView_MovementWithoutUpdatingSelection
*/
SH_ItemView_MovementWithoutUpdatingSelection(74),
/**
* Representing QStyle:: SH_ToolTip_Mask
*/
SH_ToolTip_Mask(75),
/**
* Representing QStyle:: SH_FocusFrame_AboveWidget
*/
SH_FocusFrame_AboveWidget(76),
/**
* Representing QStyle:: SH_TextControl_FocusIndicatorTextCharFormat
*/
SH_TextControl_FocusIndicatorTextCharFormat(77),
/**
* Representing QStyle:: SH_WizardStyle
*/
SH_WizardStyle(78),
/**
* Representing QStyle:: SH_ItemView_ArrowKeysNavigateIntoChildren
*/
SH_ItemView_ArrowKeysNavigateIntoChildren(79),
/**
* Representing QStyle:: SH_Menu_Mask
*/
SH_Menu_Mask(80),
/**
* Representing QStyle:: SH_Menu_FlashTriggeredItem
*/
SH_Menu_FlashTriggeredItem(81),
/**
* Representing QStyle:: SH_Menu_FadeOutOnHide
*/
SH_Menu_FadeOutOnHide(82),
/**
* Representing QStyle:: SH_SpinBox_ClickAutoRepeatThreshold
*/
SH_SpinBox_ClickAutoRepeatThreshold(83),
/**
* Representing QStyle:: SH_ItemView_PaintAlternatingRowColorsForEmptyArea
*/
SH_ItemView_PaintAlternatingRowColorsForEmptyArea(84),
/**
* Representing QStyle:: SH_FormLayoutWrapPolicy
*/
SH_FormLayoutWrapPolicy(85),
/**
* Representing QStyle:: SH_TabWidget_DefaultTabPosition
*/
SH_TabWidget_DefaultTabPosition(86),
/**
* Representing QStyle:: SH_ToolBar_Movable
*/
SH_ToolBar_Movable(87),
/**
* Representing QStyle:: SH_FormLayoutFieldGrowthPolicy
*/
SH_FormLayoutFieldGrowthPolicy(88),
/**
* Representing QStyle:: SH_FormLayoutFormAlignment
*/
SH_FormLayoutFormAlignment(89),
/**
* Representing QStyle:: SH_FormLayoutLabelAlignment
*/
SH_FormLayoutLabelAlignment(90),
/**
* Representing QStyle:: SH_ItemView_DrawDelegateFrame
*/
SH_ItemView_DrawDelegateFrame(91),
/**
* Representing QStyle:: SH_TabBar_CloseButtonPosition
*/
SH_TabBar_CloseButtonPosition(92),
/**
* Representing QStyle:: SH_DockWidget_ButtonsHaveFrame
*/
SH_DockWidget_ButtonsHaveFrame(93),
/**
* Representing QStyle:: SH_ToolButtonStyle
*/
SH_ToolButtonStyle(94),
/**
* Representing QStyle:: SH_RequestSoftwareInputPanel
*/
SH_RequestSoftwareInputPanel(95),
/**
* Representing QStyle:: SH_ScrollBar_Transient
*/
SH_ScrollBar_Transient(96),
/**
* Representing QStyle:: SH_Menu_SupportsSections
*/
SH_Menu_SupportsSections(97),
/**
* Representing QStyle:: SH_ToolTip_WakeUpDelay
*/
SH_ToolTip_WakeUpDelay(98),
/**
* Representing QStyle:: SH_ToolTip_FallAsleepDelay
*/
SH_ToolTip_FallAsleepDelay(99),
/**
* Representing QStyle:: SH_Widget_Animate
*/
SH_Widget_Animate(100),
/**
* Representing QStyle:: SH_Splitter_OpaqueResize
*/
SH_Splitter_OpaqueResize(101),
/**
* Representing QStyle:: SH_ComboBox_UseNativePopup
*/
SH_ComboBox_UseNativePopup(102),
/**
* Representing QStyle:: SH_LineEdit_PasswordMaskDelay
*/
SH_LineEdit_PasswordMaskDelay(103),
/**
* Representing QStyle:: SH_TabBar_ChangeCurrentDelay
*/
SH_TabBar_ChangeCurrentDelay(104),
/**
* Representing QStyle:: SH_Menu_SubMenuUniDirection
*/
SH_Menu_SubMenuUniDirection(105),
/**
* Representing QStyle:: SH_Menu_SubMenuUniDirectionFailCount
*/
SH_Menu_SubMenuUniDirectionFailCount(106),
/**
* Representing QStyle:: SH_Menu_SubMenuSloppySelectOtherActions
*/
SH_Menu_SubMenuSloppySelectOtherActions(107),
/**
* Representing QStyle:: SH_Menu_SubMenuSloppyCloseTimeout
*/
SH_Menu_SubMenuSloppyCloseTimeout(108),
/**
* Representing QStyle:: SH_Menu_SubMenuResetWhenReenteringParent
*/
SH_Menu_SubMenuResetWhenReenteringParent(109),
/**
* Representing QStyle:: SH_Menu_SubMenuDontStartSloppyOnLeave
*/
SH_Menu_SubMenuDontStartSloppyOnLeave(110),
/**
* Representing QStyle:: SH_ItemView_ScrollMode
*/
SH_ItemView_ScrollMode(111),
/**
* Representing QStyle:: SH_TitleBar_ShowToolTipsOnButtons
*/
SH_TitleBar_ShowToolTipsOnButtons(112),
/**
* Representing QStyle:: SH_Widget_Animation_Duration
*/
SH_Widget_Animation_Duration(113),
/**
* Representing QStyle:: SH_ComboBox_AllowWheelScrolling
*/
SH_ComboBox_AllowWheelScrolling(114),
/**
* Representing QStyle:: SH_SpinBox_ButtonsInsideFrame
*/
SH_SpinBox_ButtonsInsideFrame(115),
/**
* Representing QStyle:: SH_SpinBox_StepModifier
*/
SH_SpinBox_StepModifier(116),
/**
* Representing QStyle:: SH_TabBar_AllowWheelScrolling
*/
SH_TabBar_AllowWheelScrolling(117),
/**
* Representing QStyle:: SH_Table_AlwaysDrawLeftTopGridLines
*/
SH_Table_AlwaysDrawLeftTopGridLines(118),
/**
* Representing QStyle:: SH_SpinBox_SelectOnStep
*/
SH_SpinBox_SelectOnStep(119),
/**
* Representing QStyle:: SH_CustomBase
*/
SH_CustomBase(-268435456);
static {
QtJambi_LibraryUtilities.initialize();
}
private StyleHint(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum
*/
public static @NonNull StyleHint resolve(int value) {
switch (value) {
case 0: return SH_EtchDisabledText;
case 1: return SH_DitherDisabledText;
case 2: return SH_ScrollBar_MiddleClickAbsolutePosition;
case 3: return SH_ScrollBar_ScrollWhenPointerLeavesControl;
case 4: return SH_TabBar_SelectMouseType;
case 5: return SH_TabBar_Alignment;
case 6: return SH_Header_ArrowAlignment;
case 7: return SH_Slider_SnapToValue;
case 8: return SH_Slider_SloppyKeyEvents;
case 9: return SH_ProgressDialog_CenterCancelButton;
case 10: return SH_ProgressDialog_TextLabelAlignment;
case 11: return SH_PrintDialog_RightAlignButtons;
case 12: return SH_MainWindow_SpaceBelowMenuBar;
case 13: return SH_FontDialog_SelectAssociatedText;
case 14: return SH_Menu_AllowActiveAndDisabled;
case 15: return SH_Menu_SpaceActivatesItem;
case 16: return SH_Menu_SubMenuPopupDelay;
case 17: return SH_ScrollView_FrameOnlyAroundContents;
case 18: return SH_MenuBar_AltKeyNavigation;
case 19: return SH_ComboBox_ListMouseTracking;
case 20: return SH_Menu_MouseTracking;
case 21: return SH_MenuBar_MouseTracking;
case 22: return SH_ItemView_ChangeHighlightOnFocus;
case 23: return SH_Widget_ShareActivation;
case 24: return SH_Workspace_FillSpaceOnMaximize;
case 25: return SH_ComboBox_Popup;
case 26: return SH_TitleBar_NoBorder;
case 27: return SH_Slider_StopMouseOverSlider;
case 28: return SH_BlinkCursorWhenTextSelected;
case 29: return SH_RichText_FullWidthSelection;
case 30: return SH_Menu_Scrollable;
case 31: return SH_GroupBox_TextLabelVerticalAlignment;
case 32: return SH_GroupBox_TextLabelColor;
case 33: return SH_Menu_SloppySubMenus;
case 34: return SH_Table_GridLineColor;
case 35: return SH_LineEdit_PasswordCharacter;
case 36: return SH_DialogButtons_DefaultButton;
case 37: return SH_ToolBox_SelectedPageTitleBold;
case 38: return SH_TabBar_PreferNoArrows;
case 39: return SH_ScrollBar_LeftClickAbsolutePosition;
case 40: return SH_ListViewExpand_SelectMouseType;
case 41: return SH_UnderlineShortcut;
case 42: return SH_SpinBox_AnimateButton;
case 43: return SH_SpinBox_KeyPressAutoRepeatRate;
case 44: return SH_SpinBox_ClickAutoRepeatRate;
case 45: return SH_Menu_FillScreenWithScroll;
case 46: return SH_ToolTipLabel_Opacity;
case 47: return SH_DrawMenuBarSeparator;
case 48: return SH_TitleBar_ModifyNotification;
case 49: return SH_Button_FocusPolicy;
case 50: return SH_MessageBox_UseBorderForButtonSpacing;
case 51: return SH_TitleBar_AutoRaise;
case 52: return SH_ToolButton_PopupDelay;
case 53: return SH_FocusFrame_Mask;
case 54: return SH_RubberBand_Mask;
case 55: return SH_WindowFrame_Mask;
case 56: return SH_SpinControls_DisableOnBounds;
case 57: return SH_Dial_BackgroundRole;
case 58: return SH_ComboBox_LayoutDirection;
case 59: return SH_ItemView_EllipsisLocation;
case 60: return SH_ItemView_ShowDecorationSelected;
case 61: return SH_ItemView_ActivateItemOnSingleClick;
case 62: return SH_ScrollBar_ContextMenu;
case 63: return SH_ScrollBar_RollBetweenButtons;
case 64: return SH_Slider_AbsoluteSetButtons;
case 65: return SH_Slider_PageSetButtons;
case 66: return SH_Menu_KeyboardSearch;
case 67: return SH_TabBar_ElideMode;
case 68: return SH_DialogButtonLayout;
case 69: return SH_ComboBox_PopupFrameStyle;
case 70: return SH_MessageBox_TextInteractionFlags;
case 71: return SH_DialogButtonBox_ButtonsHaveIcons;
case 72: return SH_MessageBox_CenterButtons;
case 73: return SH_Menu_SelectionWrap;
case 74: return SH_ItemView_MovementWithoutUpdatingSelection;
case 75: return SH_ToolTip_Mask;
case 76: return SH_FocusFrame_AboveWidget;
case 77: return SH_TextControl_FocusIndicatorTextCharFormat;
case 78: return SH_WizardStyle;
case 79: return SH_ItemView_ArrowKeysNavigateIntoChildren;
case 80: return SH_Menu_Mask;
case 81: return SH_Menu_FlashTriggeredItem;
case 82: return SH_Menu_FadeOutOnHide;
case 83: return SH_SpinBox_ClickAutoRepeatThreshold;
case 84: return SH_ItemView_PaintAlternatingRowColorsForEmptyArea;
case 85: return SH_FormLayoutWrapPolicy;
case 86: return SH_TabWidget_DefaultTabPosition;
case 87: return SH_ToolBar_Movable;
case 88: return SH_FormLayoutFieldGrowthPolicy;
case 89: return SH_FormLayoutFormAlignment;
case 90: return SH_FormLayoutLabelAlignment;
case 91: return SH_ItemView_DrawDelegateFrame;
case 92: return SH_TabBar_CloseButtonPosition;
case 93: return SH_DockWidget_ButtonsHaveFrame;
case 94: return SH_ToolButtonStyle;
case 95: return SH_RequestSoftwareInputPanel;
case 96: return SH_ScrollBar_Transient;
case 97: return SH_Menu_SupportsSections;
case 98: return SH_ToolTip_WakeUpDelay;
case 99: return SH_ToolTip_FallAsleepDelay;
case 100: return SH_Widget_Animate;
case 101: return SH_Splitter_OpaqueResize;
case 102: return SH_ComboBox_UseNativePopup;
case 103: return SH_LineEdit_PasswordMaskDelay;
case 104: return SH_TabBar_ChangeCurrentDelay;
case 105: return SH_Menu_SubMenuUniDirection;
case 106: return SH_Menu_SubMenuUniDirectionFailCount;
case 107: return SH_Menu_SubMenuSloppySelectOtherActions;
case 108: return SH_Menu_SubMenuSloppyCloseTimeout;
case 109: return SH_Menu_SubMenuResetWhenReenteringParent;
case 110: return SH_Menu_SubMenuDontStartSloppyOnLeave;
case 111: return SH_ItemView_ScrollMode;
case 112: return SH_TitleBar_ShowToolTipsOnButtons;
case 113: return SH_Widget_Animation_Duration;
case 114: return SH_ComboBox_AllowWheelScrolling;
case 115: return SH_SpinBox_ButtonsInsideFrame;
case 116: return SH_SpinBox_StepModifier;
case 117: return SH_TabBar_AllowWheelScrolling;
case 118: return SH_Table_AlwaysDrawLeftTopGridLines;
case 119: return SH_SpinBox_SelectOnStep;
case -268435456: return SH_CustomBase;
default: return QtJambi_LibraryUtilities.internal.resolveEnum(StyleHint.class, value, null);
}
}
/**
* Returns the corresponding enum entry for the given value and name.
* @param value
* @param name
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum or name does not match.
*/
public static @NonNull StyleHint resolve(int value, @Nullable String name) {
if(name==null || name.isEmpty())
return resolve(value);
else
return QtJambi_LibraryUtilities.internal.resolveEnum(StyleHint.class, value, name);
}
private final int value;
}
/**
* Java wrapper for Qt enum QStyle::SubControl
*
* @see SubControls
*/
@QtExtensibleEnum
@QtRejectedEntries({"SC_SpinBoxUp", "SC_SpinBoxDown", "SC_SpinBoxFrame", "SC_SpinBoxEditField", "SC_ComboBoxFrame", "SC_ComboBoxEditField", "SC_ComboBoxArrow", "SC_ComboBoxListBoxPopup", "SC_SliderGroove", "SC_SliderHandle", "SC_SliderTickmarks", "SC_ToolButton", "SC_ToolButtonMenu", "SC_TitleBarSysMenu", "SC_TitleBarMinButton", "SC_TitleBarMaxButton", "SC_TitleBarCloseButton", "SC_TitleBarNormalButton", "SC_TitleBarShadeButton", "SC_TitleBarUnshadeButton", "SC_TitleBarContextHelpButton", "SC_DialGroove", "SC_DialHandle", "SC_DialTickmarks", "SC_GroupBoxCheckBox", "SC_GroupBoxLabel", "SC_GroupBoxContents", "SC_GroupBoxFrame", "SC_MdiMinButton", "SC_MdiNormalButton", "SC_MdiCloseButton"})
public enum SubControl implements QtFlagEnumerator {
/**
* Representing QStyle:: SC_None
*/
SC_None(0),
/**
* Representing QStyle:: SC_ScrollBarAddLine
*/
SC_ScrollBarAddLine(1),
/**
* Representing QStyle:: SC_ScrollBarSubLine
*/
SC_ScrollBarSubLine(2),
/**
* Representing QStyle:: SC_ScrollBarAddPage
*/
SC_ScrollBarAddPage(4),
/**
* Representing QStyle:: SC_ScrollBarSubPage
*/
SC_ScrollBarSubPage(8),
/**
* Representing QStyle:: SC_ScrollBarFirst
*/
SC_ScrollBarFirst(16),
/**
* Representing QStyle:: SC_ScrollBarLast
*/
SC_ScrollBarLast(32),
/**
* Representing QStyle:: SC_ScrollBarSlider
*/
SC_ScrollBarSlider(64),
/**
* Representing QStyle:: SC_ScrollBarGroove
*/
SC_ScrollBarGroove(128),
/**
* Representing QStyle:: SC_SpinBoxUp
*/
SC_SpinBoxUp(1),
/**
* Representing QStyle:: SC_SpinBoxDown
*/
SC_SpinBoxDown(2),
/**
* Representing QStyle:: SC_SpinBoxFrame
*/
SC_SpinBoxFrame(4),
/**
* Representing QStyle:: SC_SpinBoxEditField
*/
SC_SpinBoxEditField(8),
/**
* Representing QStyle:: SC_ComboBoxFrame
*/
SC_ComboBoxFrame(1),
/**
* Representing QStyle:: SC_ComboBoxEditField
*/
SC_ComboBoxEditField(2),
/**
* Representing QStyle:: SC_ComboBoxArrow
*/
SC_ComboBoxArrow(4),
/**
* Representing QStyle:: SC_ComboBoxListBoxPopup
*/
SC_ComboBoxListBoxPopup(8),
/**
* Representing QStyle:: SC_SliderGroove
*/
SC_SliderGroove(1),
/**
* Representing QStyle:: SC_SliderHandle
*/
SC_SliderHandle(2),
/**
* Representing QStyle:: SC_SliderTickmarks
*/
SC_SliderTickmarks(4),
/**
* Representing QStyle:: SC_ToolButton
*/
SC_ToolButton(1),
/**
* Representing QStyle:: SC_ToolButtonMenu
*/
SC_ToolButtonMenu(2),
/**
* Representing QStyle:: SC_TitleBarSysMenu
*/
SC_TitleBarSysMenu(1),
/**
* Representing QStyle:: SC_TitleBarMinButton
*/
SC_TitleBarMinButton(2),
/**
* Representing QStyle:: SC_TitleBarMaxButton
*/
SC_TitleBarMaxButton(4),
/**
* Representing QStyle:: SC_TitleBarCloseButton
*/
SC_TitleBarCloseButton(8),
/**
* Representing QStyle:: SC_TitleBarNormalButton
*/
SC_TitleBarNormalButton(16),
/**
* Representing QStyle:: SC_TitleBarShadeButton
*/
SC_TitleBarShadeButton(32),
/**
* Representing QStyle:: SC_TitleBarUnshadeButton
*/
SC_TitleBarUnshadeButton(64),
/**
* Representing QStyle:: SC_TitleBarContextHelpButton
*/
SC_TitleBarContextHelpButton(128),
/**
* Representing QStyle:: SC_TitleBarLabel
*/
SC_TitleBarLabel(256),
/**
* Representing QStyle:: SC_DialGroove
*/
SC_DialGroove(1),
/**
* Representing QStyle:: SC_DialHandle
*/
SC_DialHandle(2),
/**
* Representing QStyle:: SC_DialTickmarks
*/
SC_DialTickmarks(4),
/**
* Representing QStyle:: SC_GroupBoxCheckBox
*/
SC_GroupBoxCheckBox(1),
/**
* Representing QStyle:: SC_GroupBoxLabel
*/
SC_GroupBoxLabel(2),
/**
* Representing QStyle:: SC_GroupBoxContents
*/
SC_GroupBoxContents(4),
/**
* Representing QStyle:: SC_GroupBoxFrame
*/
SC_GroupBoxFrame(8),
/**
* Representing QStyle:: SC_MdiMinButton
*/
SC_MdiMinButton(1),
/**
* Representing QStyle:: SC_MdiNormalButton
*/
SC_MdiNormalButton(2),
/**
* Representing QStyle:: SC_MdiCloseButton
*/
SC_MdiCloseButton(4),
/**
* Representing QStyle:: SC_CustomBase
*/
SC_CustomBase(-268435456),
/**
* Representing QStyle:: SC_All
*/
SC_All(-1);
static {
QtJambi_LibraryUtilities.initialize();
}
private SubControl(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull SubControls asFlags() {
return new SubControls(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull SubControls combined(@NonNull SubControl e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull SubControls cleared(@NonNull SubControl e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link SubControls} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull SubControls flags(@Nullable SubControl @NonNull... values) {
return new SubControls(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum
*/
public static @NonNull SubControl resolve(int value) {
switch (value) {
case 0: return SC_None;
case 1: return SC_ScrollBarAddLine;
case 2: return SC_ScrollBarSubLine;
case 4: return SC_ScrollBarAddPage;
case 8: return SC_ScrollBarSubPage;
case 16: return SC_ScrollBarFirst;
case 32: return SC_ScrollBarLast;
case 64: return SC_ScrollBarSlider;
case 128: return SC_ScrollBarGroove;
case 256: return SC_TitleBarLabel;
case -268435456: return SC_CustomBase;
case -1: return SC_All;
default: return QtJambi_LibraryUtilities.internal.resolveEnum(SubControl.class, value, null);
}
}
/**
* Returns the corresponding enum entry for the given value and name.
* @param value
* @param name
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum or name does not match.
*/
public static @NonNull SubControl resolve(int value, @Nullable String name) {
if(name==null || name.isEmpty())
return resolve(value);
else
return QtJambi_LibraryUtilities.internal.resolveEnum(SubControl.class, value, name);
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link SubControl}
*/
public static final class SubControls extends QFlags implements Comparable {
private static final long serialVersionUID = 0x182590f56db0333eL;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new SubControls where the flags in args
are set.
* @param args enum entries
*/
public SubControls(@Nullable SubControl @NonNull... args){
super(args);
}
/**
* Creates a new SubControls with given value
.
* @param value
*/
public SubControls(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new SubControls
*/
@Override
public final @NonNull SubControls combined(@StrictNonNull SubControl e){
return new SubControls(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull SubControls setFlag(@Nullable SubControl e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final @NonNull SubControls setFlag(@Nullable SubControl e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this SubControls.
* @return array of enum entries
*/
@Override
public final @NonNull SubControl @NonNull[] flags(){
return super.flags(SubControl.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull SubControls clone(){
return new SubControls(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull SubControls other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QStyle::SubElement
*/
@QtExtensibleEnum
@QtRejectedEntries({"SE_TabBarTearIndicatorLeft"})
public enum SubElement implements QtEnumerator {
/**
* Representing QStyle:: SE_PushButtonContents
*/
SE_PushButtonContents(0),
/**
* Representing QStyle:: SE_PushButtonFocusRect
*/
SE_PushButtonFocusRect(1),
/**
* Representing QStyle:: SE_CheckBoxIndicator
*/
SE_CheckBoxIndicator(2),
/**
* Representing QStyle:: SE_CheckBoxContents
*/
SE_CheckBoxContents(3),
/**
* Representing QStyle:: SE_CheckBoxFocusRect
*/
SE_CheckBoxFocusRect(4),
/**
* Representing QStyle:: SE_CheckBoxClickRect
*/
SE_CheckBoxClickRect(5),
/**
* Representing QStyle:: SE_RadioButtonIndicator
*/
SE_RadioButtonIndicator(6),
/**
* Representing QStyle:: SE_RadioButtonContents
*/
SE_RadioButtonContents(7),
/**
* Representing QStyle:: SE_RadioButtonFocusRect
*/
SE_RadioButtonFocusRect(8),
/**
* Representing QStyle:: SE_RadioButtonClickRect
*/
SE_RadioButtonClickRect(9),
/**
* Representing QStyle:: SE_ComboBoxFocusRect
*/
SE_ComboBoxFocusRect(10),
/**
* Representing QStyle:: SE_SliderFocusRect
*/
SE_SliderFocusRect(11),
/**
* Representing QStyle:: SE_ProgressBarGroove
*/
SE_ProgressBarGroove(12),
/**
* Representing QStyle:: SE_ProgressBarContents
*/
SE_ProgressBarContents(13),
/**
* Representing QStyle:: SE_ProgressBarLabel
*/
SE_ProgressBarLabel(14),
/**
* Representing QStyle:: SE_ToolBoxTabContents
*/
SE_ToolBoxTabContents(15),
/**
* Representing QStyle:: SE_HeaderLabel
*/
SE_HeaderLabel(16),
/**
* Representing QStyle:: SE_HeaderArrow
*/
SE_HeaderArrow(17),
/**
* Representing QStyle:: SE_TabWidgetTabBar
*/
SE_TabWidgetTabBar(18),
/**
* Representing QStyle:: SE_TabWidgetTabPane
*/
SE_TabWidgetTabPane(19),
/**
* Representing QStyle:: SE_TabWidgetTabContents
*/
SE_TabWidgetTabContents(20),
/**
* Representing QStyle:: SE_TabWidgetLeftCorner
*/
SE_TabWidgetLeftCorner(21),
/**
* Representing QStyle:: SE_TabWidgetRightCorner
*/
SE_TabWidgetRightCorner(22),
/**
* Representing QStyle:: SE_ItemViewItemCheckIndicator
*/
SE_ItemViewItemCheckIndicator(23),
/**
* Representing QStyle:: SE_TabBarTearIndicator
*/
SE_TabBarTearIndicator(24),
/**
* Representing QStyle:: SE_TabBarTearIndicatorLeft
*/
SE_TabBarTearIndicatorLeft(24),
/**
* Representing QStyle:: SE_TreeViewDisclosureItem
*/
SE_TreeViewDisclosureItem(25),
/**
* Representing QStyle:: SE_LineEditContents
*/
SE_LineEditContents(26),
/**
* Representing QStyle:: SE_FrameContents
*/
SE_FrameContents(27),
/**
* Representing QStyle:: SE_DockWidgetCloseButton
*/
SE_DockWidgetCloseButton(28),
/**
* Representing QStyle:: SE_DockWidgetFloatButton
*/
SE_DockWidgetFloatButton(29),
/**
* Representing QStyle:: SE_DockWidgetTitleBarText
*/
SE_DockWidgetTitleBarText(30),
/**
* Representing QStyle:: SE_DockWidgetIcon
*/
SE_DockWidgetIcon(31),
/**
* Representing QStyle:: SE_CheckBoxLayoutItem
*/
SE_CheckBoxLayoutItem(32),
/**
* Representing QStyle:: SE_ComboBoxLayoutItem
*/
SE_ComboBoxLayoutItem(33),
/**
* Representing QStyle:: SE_DateTimeEditLayoutItem
*/
SE_DateTimeEditLayoutItem(34),
/**
* Representing QStyle:: SE_LabelLayoutItem
*/
SE_LabelLayoutItem(35),
/**
* Representing QStyle:: SE_ProgressBarLayoutItem
*/
SE_ProgressBarLayoutItem(36),
/**
* Representing QStyle:: SE_PushButtonLayoutItem
*/
SE_PushButtonLayoutItem(37),
/**
* Representing QStyle:: SE_RadioButtonLayoutItem
*/
SE_RadioButtonLayoutItem(38),
/**
* Representing QStyle:: SE_SliderLayoutItem
*/
SE_SliderLayoutItem(39),
/**
* Representing QStyle:: SE_SpinBoxLayoutItem
*/
SE_SpinBoxLayoutItem(40),
/**
* Representing QStyle:: SE_ToolButtonLayoutItem
*/
SE_ToolButtonLayoutItem(41),
/**
* Representing QStyle:: SE_FrameLayoutItem
*/
SE_FrameLayoutItem(42),
/**
* Representing QStyle:: SE_GroupBoxLayoutItem
*/
SE_GroupBoxLayoutItem(43),
/**
* Representing QStyle:: SE_TabWidgetLayoutItem
*/
SE_TabWidgetLayoutItem(44),
/**
* Representing QStyle:: SE_ItemViewItemDecoration
*/
SE_ItemViewItemDecoration(45),
/**
* Representing QStyle:: SE_ItemViewItemText
*/
SE_ItemViewItemText(46),
/**
* Representing QStyle:: SE_ItemViewItemFocusRect
*/
SE_ItemViewItemFocusRect(47),
/**
* Representing QStyle:: SE_TabBarTabLeftButton
*/
SE_TabBarTabLeftButton(48),
/**
* Representing QStyle:: SE_TabBarTabRightButton
*/
SE_TabBarTabRightButton(49),
/**
* Representing QStyle:: SE_TabBarTabText
*/
SE_TabBarTabText(50),
/**
* Representing QStyle:: SE_ShapedFrameContents
*/
SE_ShapedFrameContents(51),
/**
* Representing QStyle:: SE_ToolBarHandle
*/
SE_ToolBarHandle(52),
/**
* Representing QStyle:: SE_TabBarScrollLeftButton
*/
SE_TabBarScrollLeftButton(53),
/**
* Representing QStyle:: SE_TabBarScrollRightButton
*/
SE_TabBarScrollRightButton(54),
/**
* Representing QStyle:: SE_TabBarTearIndicatorRight
*/
SE_TabBarTearIndicatorRight(55),
/**
* Representing QStyle:: SE_PushButtonBevel
*/
SE_PushButtonBevel(56),
/**
* Representing QStyle:: SE_CustomBase
*/
SE_CustomBase(-268435456);
static {
QtJambi_LibraryUtilities.initialize();
}
private SubElement(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum
*/
public static @NonNull SubElement resolve(int value) {
switch (value) {
case 0: return SE_PushButtonContents;
case 1: return SE_PushButtonFocusRect;
case 2: return SE_CheckBoxIndicator;
case 3: return SE_CheckBoxContents;
case 4: return SE_CheckBoxFocusRect;
case 5: return SE_CheckBoxClickRect;
case 6: return SE_RadioButtonIndicator;
case 7: return SE_RadioButtonContents;
case 8: return SE_RadioButtonFocusRect;
case 9: return SE_RadioButtonClickRect;
case 10: return SE_ComboBoxFocusRect;
case 11: return SE_SliderFocusRect;
case 12: return SE_ProgressBarGroove;
case 13: return SE_ProgressBarContents;
case 14: return SE_ProgressBarLabel;
case 15: return SE_ToolBoxTabContents;
case 16: return SE_HeaderLabel;
case 17: return SE_HeaderArrow;
case 18: return SE_TabWidgetTabBar;
case 19: return SE_TabWidgetTabPane;
case 20: return SE_TabWidgetTabContents;
case 21: return SE_TabWidgetLeftCorner;
case 22: return SE_TabWidgetRightCorner;
case 23: return SE_ItemViewItemCheckIndicator;
case 24: return SE_TabBarTearIndicator;
case 25: return SE_TreeViewDisclosureItem;
case 26: return SE_LineEditContents;
case 27: return SE_FrameContents;
case 28: return SE_DockWidgetCloseButton;
case 29: return SE_DockWidgetFloatButton;
case 30: return SE_DockWidgetTitleBarText;
case 31: return SE_DockWidgetIcon;
case 32: return SE_CheckBoxLayoutItem;
case 33: return SE_ComboBoxLayoutItem;
case 34: return SE_DateTimeEditLayoutItem;
case 35: return SE_LabelLayoutItem;
case 36: return SE_ProgressBarLayoutItem;
case 37: return SE_PushButtonLayoutItem;
case 38: return SE_RadioButtonLayoutItem;
case 39: return SE_SliderLayoutItem;
case 40: return SE_SpinBoxLayoutItem;
case 41: return SE_ToolButtonLayoutItem;
case 42: return SE_FrameLayoutItem;
case 43: return SE_GroupBoxLayoutItem;
case 44: return SE_TabWidgetLayoutItem;
case 45: return SE_ItemViewItemDecoration;
case 46: return SE_ItemViewItemText;
case 47: return SE_ItemViewItemFocusRect;
case 48: return SE_TabBarTabLeftButton;
case 49: return SE_TabBarTabRightButton;
case 50: return SE_TabBarTabText;
case 51: return SE_ShapedFrameContents;
case 52: return SE_ToolBarHandle;
case 53: return SE_TabBarScrollLeftButton;
case 54: return SE_TabBarScrollRightButton;
case 55: return SE_TabBarTearIndicatorRight;
case 56: return SE_PushButtonBevel;
case -268435456: return SE_CustomBase;
default: return QtJambi_LibraryUtilities.internal.resolveEnum(SubElement.class, value, null);
}
}
/**
* Returns the corresponding enum entry for the given value and name.
* @param value
* @param name
* @return enum entry
* @throws QNoSuchEnumValueException if value not existent in the enum or name does not match.
*/
public static @NonNull SubElement resolve(int value, @Nullable String name) {
if(name==null || name.isEmpty())
return resolve(value);
else
return QtJambi_LibraryUtilities.internal.resolveEnum(SubElement.class, value, name);
}
private final int value;
}
/**
* See QStyle:: QStyle()
*/
public QStyle(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QStyle instance);
/**
*
*/
@QtUninvokable
public final int combinedLayoutSpacing(io.qt.widgets.QSizePolicy.@NonNull ControlTypes controls1, io.qt.widgets.QSizePolicy.@NonNull ControlTypes controls2, io.qt.core.Qt.@NonNull Orientation orientation, io.qt.widgets.@Nullable QStyleOption option, io.qt.widgets.@Nullable QWidget widget){
return combinedLayoutSpacing_native_QSizePolicy_ControlTypes_QSizePolicy_ControlTypes_Qt_Orientation_QStyleOption_ptr_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), controls1.value(), controls2.value(), orientation.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(option), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native int combinedLayoutSpacing_native_QSizePolicy_ControlTypes_QSizePolicy_ControlTypes_Qt_Orientation_QStyleOption_ptr_QWidget_ptr_constfct(long __this__nativeId, int controls1, int controls2, int orientation, long option, long widget);
/**
*
*/
@QtUninvokable
public final java.lang.@NonNull String name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QStyle proxy(){
return proxy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QStyle proxy_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public abstract 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 widget);
@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 widget);
/**
* See QStyle:: drawControl(QStyle::ControlElement, const QStyleOption*, QPainter*, const QWidget*)const
*/
@QtUninvokable
public abstract 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);
@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:: drawItemPixmap(QPainter*, QRect, int, QPixmap)const
*/
@QtUninvokable
public void drawItemPixmap(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect, int alignment, io.qt.gui.@NonNull QPixmap pixmap){
drawItemPixmap_native_QPainter_ptr_cref_QRect_int_cref_QPixmap_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), alignment, QtJambi_LibraryUtilities.internal.checkedNativeId(pixmap));
}
@QtUninvokable
private native void drawItemPixmap_native_QPainter_ptr_cref_QRect_int_cref_QPixmap_constfct(long __this__nativeId, long painter, long rect, int alignment, long pixmap);
/**
* See QStyle:: drawItemText(QPainter*, QRect, int, QPalette, bool, QString, QPalette::ColorRole)const
*/
@QtUninvokable
public void drawItemText(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect, int flags, io.qt.gui.@NonNull QPalette pal, boolean enabled, java.lang.@NonNull String text, io.qt.gui.QPalette.@NonNull ColorRole textRole){
drawItemText_native_QPainter_ptr_cref_QRect_int_cref_QPalette_bool_cref_QString_QPalette_ColorRole_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), flags, QtJambi_LibraryUtilities.internal.checkedNativeId(pal), enabled, text, textRole.value());
}
@QtUninvokable
private native void drawItemText_native_QPainter_ptr_cref_QRect_int_cref_QPalette_bool_cref_QString_QPalette_ColorRole_constfct(long __this__nativeId, long painter, long rect, int flags, long pal, boolean enabled, java.lang.String text, int textRole);
/**
* See QStyle:: drawPrimitive(QStyle::PrimitiveElement, const QStyleOption*, QPainter*, const QWidget*)const
*/
@QtUninvokable
public abstract 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);
@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
public abstract 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);
@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
public abstract 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 widget);
@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 widget);
/**
* See QStyle:: itemPixmapRect(QRect, int, QPixmap)const
*/
@QtUninvokable
public io.qt.core.@NonNull QRect itemPixmapRect(io.qt.core.@NonNull QRect r, int flags, io.qt.gui.@NonNull QPixmap pixmap){
return itemPixmapRect_native_cref_QRect_int_cref_QPixmap_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r), flags, QtJambi_LibraryUtilities.internal.checkedNativeId(pixmap));
}
@QtUninvokable
private native io.qt.core.QRect itemPixmapRect_native_cref_QRect_int_cref_QPixmap_constfct(long __this__nativeId, long r, int flags, long pixmap);
/**
* See QStyle:: itemTextRect(QFontMetrics, QRect, int, bool, QString)const
*/
@QtUninvokable
public io.qt.core.@NonNull QRect itemTextRect(io.qt.gui.@NonNull QFontMetrics fm, io.qt.core.@NonNull QRect r, int flags, boolean enabled, java.lang.@NonNull String text){
return itemTextRect_native_cref_QFontMetrics_cref_QRect_int_bool_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(fm), QtJambi_LibraryUtilities.internal.checkedNativeId(r), flags, enabled, text);
}
@QtUninvokable
private native io.qt.core.QRect itemTextRect_native_cref_QFontMetrics_cref_QRect_int_bool_cref_QString_constfct(long __this__nativeId, long fm, long r, int flags, boolean enabled, java.lang.String text);
/**
*
*/
@QtUninvokable
public abstract 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);
@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
public abstract int pixelMetric(io.qt.widgets.QStyle.@NonNull PixelMetric metric, io.qt.widgets.@Nullable QStyleOption option, io.qt.widgets.@Nullable QWidget widget);
@QtUninvokable
private native int pixelMetric_native_QStyle_PixelMetric_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int metric, long option, long widget);
/**
* See QStyle:: polish(QApplication*)
*/
@QtUninvokable
public void polish(io.qt.widgets.@Nullable QApplication application){
polish_native_QApplication_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(application));
}
@QtUninvokable
private native void polish_native_QApplication_ptr(long __this__nativeId, long application);
/**
*
*/
@QtUninvokable
public void polish(io.qt.gui.@StrictNonNull QPalette palette){
java.util.Objects.requireNonNull(palette, "Argument 'palette': null not expected.");
polish_native_ref_QPalette(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(palette));
}
@QtUninvokable
private native void polish_native_ref_QPalette(long __this__nativeId, long palette);
/**
*
*/
@QtUninvokable
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
public abstract 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 w);
@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 w);
/**
* See QStyle:: standardIcon(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const
*/
@QtUninvokable
public abstract io.qt.gui.@NonNull QIcon standardIcon(io.qt.widgets.QStyle.@NonNull StandardPixmap standardIcon, io.qt.widgets.@Nullable QStyleOption option, io.qt.widgets.@Nullable QWidget 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 option, long widget);
/**
* See QStyle:: standardPalette()const
*/
@QtUninvokable
public io.qt.gui.@NonNull QPalette standardPalette(){
return standardPalette_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QPalette standardPalette_native_constfct(long __this__nativeId);
/**
* See QStyle:: standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const
*/
@QtUninvokable
public abstract io.qt.gui.@NonNull QPixmap standardPixmap(io.qt.widgets.QStyle.@NonNull StandardPixmap standardPixmap, io.qt.widgets.@Nullable QStyleOption opt, io.qt.widgets.@Nullable QWidget widget);
@QtUninvokable
private native io.qt.gui.QPixmap standardPixmap_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int standardPixmap, long opt, long widget);
/**
* See QStyle:: styleHint(QStyle::StyleHint, const QStyleOption*, const QWidget*, QStyleHintReturn*)const
*/
@QtUninvokable
public abstract int styleHint(io.qt.widgets.QStyle.@NonNull StyleHint stylehint, io.qt.widgets.@Nullable QStyleOption opt, io.qt.widgets.@Nullable QWidget widget, io.qt.widgets.@Nullable QStyleHintReturn returnData);
@QtUninvokable
private native int styleHint_native_QStyle_StyleHint_const_QStyleOption_ptr_const_QWidget_ptr_QStyleHintReturn_ptr_constfct(long __this__nativeId, int stylehint, long opt, long widget, long returnData);
/**
*
*/
@QtUninvokable
public abstract 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 widget);
@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 widget);
/**
* See QStyle:: subElementRect(QStyle::SubElement, const QStyleOption*, const QWidget*)const
*/
@QtUninvokable
public abstract io.qt.core.@NonNull QRect subElementRect(io.qt.widgets.QStyle.@NonNull SubElement subElement, io.qt.widgets.@Nullable QStyleOption option, io.qt.widgets.@Nullable QWidget widget);
@QtUninvokable
private native io.qt.core.QRect subElementRect_native_QStyle_SubElement_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int subElement, long option, long widget);
/**
* See QStyle:: unpolish(QApplication*)
*/
@QtUninvokable
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
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);
/**
* See QStyle:: alignedRect(Qt::LayoutDirection, Qt::Alignment, QSize, QRect)
*/
public static io.qt.core.@NonNull QRect alignedRect(io.qt.core.Qt.@NonNull LayoutDirection direction, io.qt.core.Qt.@NonNull Alignment alignment, io.qt.core.@NonNull QSize size, io.qt.core.@NonNull QRect rectangle){
return alignedRect_native_Qt_LayoutDirection_Qt_Alignment_cref_QSize_cref_QRect(direction.value(), alignment.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(size), QtJambi_LibraryUtilities.internal.checkedNativeId(rectangle));
}
private native static io.qt.core.QRect alignedRect_native_Qt_LayoutDirection_Qt_Alignment_cref_QSize_cref_QRect(int direction, int alignment, long size, long rectangle);
/**
* See QStyle:: sliderPositionFromValue(int, int, int, int, bool)
*/
public native static int sliderPositionFromValue(int min, int max, int val, int space, boolean upsideDown);
/**
* See QStyle:: sliderValueFromPosition(int, int, int, int, bool)
*/
public native static int sliderValueFromPosition(int min, int max, int pos, int space, boolean upsideDown);
/**
* See QStyle:: visualAlignment(Qt::LayoutDirection, Qt::Alignment)
*/
public static io.qt.core.Qt.@NonNull Alignment visualAlignment(io.qt.core.Qt.@NonNull LayoutDirection direction, io.qt.core.Qt.@NonNull Alignment alignment){
return new io.qt.core.Qt.Alignment(visualAlignment_native_Qt_LayoutDirection_Qt_Alignment(direction.value(), alignment.value()));
}
private native static int visualAlignment_native_Qt_LayoutDirection_Qt_Alignment(int direction, int alignment);
/**
* See QStyle:: visualPos(Qt::LayoutDirection, QRect, QPoint)
*/
public static io.qt.core.@NonNull QPoint visualPos(io.qt.core.Qt.@NonNull LayoutDirection direction, io.qt.core.@NonNull QRect boundingRect, io.qt.core.@NonNull QPoint logicalPos){
return visualPos_native_Qt_LayoutDirection_cref_QRect_cref_QPoint(direction.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(boundingRect), QtJambi_LibraryUtilities.internal.checkedNativeId(logicalPos));
}
private native static io.qt.core.QPoint visualPos_native_Qt_LayoutDirection_cref_QRect_cref_QPoint(int direction, long boundingRect, long logicalPos);
/**
* See QStyle:: visualRect(Qt::LayoutDirection, QRect, QRect)
*/
public static io.qt.core.@NonNull QRect visualRect(io.qt.core.Qt.@NonNull LayoutDirection direction, io.qt.core.@NonNull QRect boundingRect, io.qt.core.@NonNull QRect logicalRect){
return visualRect_native_Qt_LayoutDirection_cref_QRect_cref_QRect(direction.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(boundingRect), QtJambi_LibraryUtilities.internal.checkedNativeId(logicalRect));
}
private native static io.qt.core.QRect visualRect_native_Qt_LayoutDirection_cref_QRect_cref_QRect(int direction, long boundingRect, long logicalRect);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QStyle(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QStyle(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QStyle instance, QDeclarativeConstructor constructor);
@QtUninvokable
private static @NonNull SubControl findSubControl(int control, int subControl) {
SubControl[] subControls = SubControl.values();
ComplexControl complexControl = ComplexControl.resolve(control);
String complexControlName;
switch(complexControl) {
case CC_MdiControls:
complexControlName = "SC_Mdi";
break;
default:
complexControlName = complexControl.name();
complexControlName = "S"+complexControlName.substring(1);
break;
}
for (SubControl sc : subControls) {
if(sc.value()==subControl && sc.name().startsWith(complexControlName))
return sc;
}
return SubControl.resolve(subControl);
}
/**
* Overloaded function for {@link #combinedLayoutSpacing(io.qt.widgets.QSizePolicy.ControlTypes, io.qt.widgets.QSizePolicy.ControlTypes, io.qt.core.Qt.Orientation, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with widget = null
.
*/
@QtUninvokable
public final int combinedLayoutSpacing(io.qt.widgets.QSizePolicy.@NonNull ControlTypes controls1, io.qt.widgets.QSizePolicy.@NonNull ControlTypes controls2, io.qt.core.Qt.@NonNull Orientation orientation, io.qt.widgets.@Nullable QStyleOption option) {
return combinedLayoutSpacing(controls1, controls2, orientation, option, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #combinedLayoutSpacing(io.qt.widgets.QSizePolicy.ControlTypes, io.qt.widgets.QSizePolicy.ControlTypes, io.qt.core.Qt.Orientation, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with:
* option = null
* widget = null
*
*/
@QtUninvokable
public final int combinedLayoutSpacing(io.qt.widgets.QSizePolicy.@NonNull ControlTypes controls1, io.qt.widgets.QSizePolicy.@NonNull ControlTypes controls2, io.qt.core.Qt.@NonNull Orientation orientation) {
return combinedLayoutSpacing(controls1, controls2, orientation, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #drawComplexControl(io.qt.widgets.QStyle.ComplexControl, io.qt.widgets.QStyleOptionComplex, io.qt.gui.QPainter, io.qt.widgets.QWidget)}
* with widget = null
.
*/
@QtUninvokable
public final void drawComplexControl(io.qt.widgets.QStyle.@NonNull ComplexControl cc, io.qt.widgets.@Nullable QStyleOptionComplex opt, io.qt.gui.@Nullable QPainter p) {
drawComplexControl(cc, opt, p, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #drawControl(io.qt.widgets.QStyle.ControlElement, io.qt.widgets.QStyleOption, io.qt.gui.QPainter, io.qt.widgets.QWidget)}
* with w = null
.
*/
@QtUninvokable
public final void drawControl(io.qt.widgets.QStyle.@NonNull ControlElement element, io.qt.widgets.@Nullable QStyleOption opt, io.qt.gui.@Nullable QPainter p) {
drawControl(element, opt, p, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #drawItemText(io.qt.gui.QPainter, io.qt.core.QRect, int, io.qt.gui.QPalette, boolean, java.lang.String, io.qt.gui.QPalette.ColorRole)}
* with textRole = io.qt.gui.QPalette.ColorRole.NoRole
.
*/
@QtUninvokable
public final void drawItemText(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect, int flags, io.qt.gui.@NonNull QPalette pal, boolean enabled, java.lang.@NonNull String text) {
drawItemText(painter, rect, flags, pal, enabled, text, io.qt.gui.QPalette.ColorRole.NoRole);
}
/**
* Overloaded function for {@link #drawPrimitive(io.qt.widgets.QStyle.PrimitiveElement, io.qt.widgets.QStyleOption, io.qt.gui.QPainter, io.qt.widgets.QWidget)}
* with w = null
.
*/
@QtUninvokable
public final void drawPrimitive(io.qt.widgets.QStyle.@NonNull PrimitiveElement pe, io.qt.widgets.@Nullable QStyleOption opt, io.qt.gui.@Nullable QPainter p) {
drawPrimitive(pe, opt, p, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #hitTestComplexControl(io.qt.widgets.QStyle.ComplexControl, io.qt.widgets.QStyleOptionComplex, io.qt.core.QPoint, io.qt.widgets.QWidget)}
* with widget = null
.
*/
@QtUninvokable
public final 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) {
return hitTestComplexControl(cc, opt, pt, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #layoutSpacing(io.qt.widgets.QSizePolicy.ControlType, io.qt.widgets.QSizePolicy.ControlType, io.qt.core.Qt.Orientation, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with widget = null
.
*/
@QtUninvokable
public final 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) {
return layoutSpacing(control1, control2, orientation, option, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #layoutSpacing(io.qt.widgets.QSizePolicy.ControlType, io.qt.widgets.QSizePolicy.ControlType, io.qt.core.Qt.Orientation, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with:
* option = null
* widget = null
*
*/
@QtUninvokable
public final int layoutSpacing(io.qt.widgets.QSizePolicy.@NonNull ControlType control1, io.qt.widgets.QSizePolicy.@NonNull ControlType control2, io.qt.core.Qt.@NonNull Orientation orientation) {
return layoutSpacing(control1, control2, orientation, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #pixelMetric(io.qt.widgets.QStyle.PixelMetric, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with widget = null
.
*/
@QtUninvokable
public final int pixelMetric(io.qt.widgets.QStyle.@NonNull PixelMetric metric, io.qt.widgets.@Nullable QStyleOption option) {
return pixelMetric(metric, option, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #pixelMetric(io.qt.widgets.QStyle.PixelMetric, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with:
* option = null
* widget = null
*
*/
@QtUninvokable
public final int pixelMetric(io.qt.widgets.QStyle.@NonNull PixelMetric metric) {
return pixelMetric(metric, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #sizeFromContents(io.qt.widgets.QStyle.ContentsType, io.qt.widgets.QStyleOption, io.qt.core.QSize, io.qt.widgets.QWidget)}
* with w = null
.
*/
@QtUninvokable
public final 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) {
return sizeFromContents(ct, opt, contentsSize, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #standardIcon(io.qt.widgets.QStyle.StandardPixmap, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with widget = null
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QIcon standardIcon(io.qt.widgets.QStyle.@NonNull StandardPixmap standardIcon, io.qt.widgets.@Nullable QStyleOption option) {
return standardIcon(standardIcon, option, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #standardIcon(io.qt.widgets.QStyle.StandardPixmap, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with:
* option = null
* widget = null
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QIcon standardIcon(io.qt.widgets.QStyle.@NonNull StandardPixmap standardIcon) {
return standardIcon(standardIcon, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #standardPixmap(io.qt.widgets.QStyle.StandardPixmap, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with widget = null
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QPixmap standardPixmap(io.qt.widgets.QStyle.@NonNull StandardPixmap standardPixmap, io.qt.widgets.@Nullable QStyleOption opt) {
return standardPixmap(standardPixmap, opt, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #standardPixmap(io.qt.widgets.QStyle.StandardPixmap, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with:
* opt = null
* widget = null
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QPixmap standardPixmap(io.qt.widgets.QStyle.@NonNull StandardPixmap standardPixmap) {
return standardPixmap(standardPixmap, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #styleHint(io.qt.widgets.QStyle.StyleHint, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget, io.qt.widgets.QStyleHintReturn)}
* with returnData = null
.
*/
@QtUninvokable
public final int styleHint(io.qt.widgets.QStyle.@NonNull StyleHint stylehint, io.qt.widgets.@Nullable QStyleOption opt, io.qt.widgets.@Nullable QWidget widget) {
return styleHint(stylehint, opt, widget, (io.qt.widgets.QStyleHintReturn)null);
}
/**
* Overloaded function for {@link #styleHint(io.qt.widgets.QStyle.StyleHint, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget, io.qt.widgets.QStyleHintReturn)}
* with:
* widget = null
* returnData = null
*
*/
@QtUninvokable
public final int styleHint(io.qt.widgets.QStyle.@NonNull StyleHint stylehint, io.qt.widgets.@Nullable QStyleOption opt) {
return styleHint(stylehint, opt, (io.qt.widgets.QWidget)null, (io.qt.widgets.QStyleHintReturn)null);
}
/**
* Overloaded function for {@link #styleHint(io.qt.widgets.QStyle.StyleHint, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget, io.qt.widgets.QStyleHintReturn)}
* with:
* opt = null
* widget = null
* returnData = null
*
*/
@QtUninvokable
public final int styleHint(io.qt.widgets.QStyle.@NonNull StyleHint stylehint) {
return styleHint(stylehint, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null, (io.qt.widgets.QStyleHintReturn)null);
}
/**
* Overloaded function for {@link #subControlRect(io.qt.widgets.QStyle.ComplexControl, io.qt.widgets.QStyleOptionComplex, io.qt.widgets.QStyle.SubControl, io.qt.widgets.QWidget)}
* with widget = null
.
*/
@QtUninvokable
public final 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) {
return subControlRect(cc, opt, sc, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #subElementRect(io.qt.widgets.QStyle.SubElement, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)}
* with widget = null
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect subElementRect(io.qt.widgets.QStyle.@NonNull SubElement subElement, io.qt.widgets.@Nullable QStyleOption option) {
return subElementRect(subElement, option, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded function for {@link #sliderPositionFromValue(int, int, int, int, boolean)}
* with upsideDown = false
.
*/
public static int sliderPositionFromValue(int min, int max, int val, int space) {
return sliderPositionFromValue(min, max, val, space, (boolean)false);
}
/**
* Overloaded function for {@link #sliderValueFromPosition(int, int, int, int, boolean)}
* with upsideDown = false
.
*/
public static int sliderValueFromPosition(int min, int max, int pos, int space) {
return sliderValueFromPosition(min, max, pos, space, (boolean)false);
}
/**
* Overloaded function for {@link #visualAlignment(io.qt.core.Qt.LayoutDirection, io.qt.core.Qt.Alignment)}.
*/
public static io.qt.core.Qt.@NonNull Alignment visualAlignment(io.qt.core.Qt.@NonNull LayoutDirection direction, io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... alignment) {
return visualAlignment(direction, new io.qt.core.Qt.Alignment(alignment));
}
}