All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QStyle Maven / Gradle / Ivy

There is a newer version: 6.8.1
Show newest version
package io.qt.widgets;


/**
 * 

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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QStyle.class); @io.qt.NativeAccess private static final class ConcreteWrapper extends QStyle { @io.qt.NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public void drawComplexControl(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.gui.QPainter p, io.qt.widgets.QWidget widget){ drawComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QPainter_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cc.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(p), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native void drawComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int cc, io.qt.widgets.QStyleOptionComplex opt, long p, long widget); @Override @io.qt.QtUninvokable public void drawControl(io.qt.widgets.QStyle.ControlElement element, io.qt.widgets.QStyleOption opt, io.qt.gui.QPainter p, io.qt.widgets.QWidget w){ drawControl_native_QStyle_ControlElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), element.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(p), QtJambi_LibraryUtilities.internal.checkedNativeId(w)); } @io.qt.QtUninvokable private native void drawControl_native_QStyle_ControlElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int element, io.qt.widgets.QStyleOption opt, long p, long w); @Override @io.qt.QtUninvokable public void drawPrimitive(io.qt.widgets.QStyle.PrimitiveElement pe, io.qt.widgets.QStyleOption opt, io.qt.gui.QPainter p, io.qt.widgets.QWidget w){ drawPrimitive_native_QStyle_PrimitiveElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), pe.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(p), QtJambi_LibraryUtilities.internal.checkedNativeId(w)); } @io.qt.QtUninvokable private native void drawPrimitive_native_QStyle_PrimitiveElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int pe, io.qt.widgets.QStyleOption opt, long p, long w); @Override @io.qt.QtUninvokable public io.qt.gui.QPixmap generatedIconPixmap(io.qt.gui.QIcon.Mode iconMode, io.qt.gui.QPixmap pixmap, io.qt.widgets.QStyleOption opt){ return generatedIconPixmap_native_QIcon_Mode_cref_QPixmap_const_QStyleOption_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), iconMode.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(pixmap), opt); } @io.qt.QtUninvokable private native io.qt.gui.QPixmap generatedIconPixmap_native_QIcon_Mode_cref_QPixmap_const_QStyleOption_ptr_constfct(long __this__nativeId, int iconMode, long pixmap, io.qt.widgets.QStyleOption opt); @Override @io.qt.QtUninvokable public io.qt.widgets.QStyle.SubControl hitTestComplexControl(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.core.QPoint pt, io.qt.widgets.QWidget widget){ return hitTestComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_cref_QPoint_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cc.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(pt), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native io.qt.widgets.QStyle.SubControl hitTestComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_cref_QPoint_const_QWidget_ptr_constfct(long __this__nativeId, int cc, io.qt.widgets.QStyleOptionComplex opt, long pt, long widget); @Override @io.qt.QtUninvokable public int layoutSpacing(io.qt.widgets.QSizePolicy.ControlType control1, io.qt.widgets.QSizePolicy.ControlType control2, io.qt.core.Qt.Orientation orientation, io.qt.widgets.QStyleOption option, io.qt.widgets.QWidget widget){ return layoutSpacing_native_QSizePolicy_ControlType_QSizePolicy_ControlType_Qt_Orientation_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), control1.value(), control2.value(), orientation.value(), option, QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native int layoutSpacing_native_QSizePolicy_ControlType_QSizePolicy_ControlType_Qt_Orientation_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int control1, int control2, int orientation, io.qt.widgets.QStyleOption option, long widget); @Override @io.qt.QtUninvokable public int pixelMetric(io.qt.widgets.QStyle.PixelMetric metric, io.qt.widgets.QStyleOption option, io.qt.widgets.QWidget widget){ return pixelMetric_native_QStyle_PixelMetric_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), metric.value(), option, QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native int pixelMetric_native_QStyle_PixelMetric_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int metric, io.qt.widgets.QStyleOption option, long widget); @Override @io.qt.QtUninvokable public io.qt.core.QSize sizeFromContents(io.qt.widgets.QStyle.ContentsType ct, io.qt.widgets.QStyleOption opt, io.qt.core.QSize contentsSize, io.qt.widgets.QWidget w){ return sizeFromContents_native_QStyle_ContentsType_const_QStyleOption_ptr_cref_QSize_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), ct.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(contentsSize), QtJambi_LibraryUtilities.internal.checkedNativeId(w)); } @io.qt.QtUninvokable private native io.qt.core.QSize sizeFromContents_native_QStyle_ContentsType_const_QStyleOption_ptr_cref_QSize_const_QWidget_ptr_constfct(long __this__nativeId, int ct, io.qt.widgets.QStyleOption opt, long contentsSize, long w); @Override @io.qt.QtUninvokable public io.qt.gui.QIcon standardIcon(io.qt.widgets.QStyle.StandardPixmap standardIcon, io.qt.widgets.QStyleOption option, io.qt.widgets.QWidget widget){ return standardIcon_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), standardIcon.value(), option, QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native io.qt.gui.QIcon standardIcon_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int standardIcon, io.qt.widgets.QStyleOption option, long widget); @Override @io.qt.QtUninvokable public io.qt.gui.QPixmap standardPixmap(io.qt.widgets.QStyle.StandardPixmap standardPixmap, io.qt.widgets.QStyleOption opt, io.qt.widgets.QWidget widget){ return standardPixmap_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), standardPixmap.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native io.qt.gui.QPixmap standardPixmap_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int standardPixmap, io.qt.widgets.QStyleOption opt, long widget); @Override @io.qt.QtUninvokable public int styleHint(io.qt.widgets.QStyle.StyleHint stylehint, io.qt.widgets.QStyleOption opt, io.qt.widgets.QWidget widget, io.qt.widgets.QStyleHintReturn returnData){ return styleHint_native_QStyle_StyleHint_const_QStyleOption_ptr_const_QWidget_ptr_QStyleHintReturn_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), stylehint.value(), opt, QtJambi_LibraryUtilities.internal.checkedNativeId(widget), QtJambi_LibraryUtilities.internal.checkedNativeId(returnData)); } @io.qt.QtUninvokable private native int styleHint_native_QStyle_StyleHint_const_QStyleOption_ptr_const_QWidget_ptr_QStyleHintReturn_ptr_constfct(long __this__nativeId, int stylehint, io.qt.widgets.QStyleOption opt, long widget, long returnData); @Override @io.qt.QtUninvokable public io.qt.core.QRect subControlRect(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.widgets.QStyle.SubControl sc, io.qt.widgets.QWidget widget){ return subControlRect_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QStyle_SubControl_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cc.value(), opt, sc.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native io.qt.core.QRect subControlRect_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QStyle_SubControl_const_QWidget_ptr_constfct(long __this__nativeId, int cc, io.qt.widgets.QStyleOptionComplex opt, int sc, long widget); @Override @io.qt.QtUninvokable public io.qt.core.QRect subElementRect(io.qt.widgets.QStyle.SubElement subElement, io.qt.widgets.QStyleOption option, io.qt.widgets.QWidget widget){ return subElementRect_native_QStyle_SubElement_const_QStyleOption_ptr_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), subElement.value(), option, QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native io.qt.core.QRect subElementRect_native_QStyle_SubElement_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int subElement, io.qt.widgets.QStyleOption option, long widget); } /** *

Java wrapper for Qt enum QStyle::ComplexControl

*/ @io.qt.QtExtensibleEnum public enum ComplexControl implements io.qt.QtEnumerator { CC_SpinBox(0), CC_ComboBox(1), CC_ScrollBar(2), CC_Slider(3), CC_ToolButton(4), CC_TitleBar(5), CC_Dial(6), CC_GroupBox(7), CC_MdiControls(8), CC_CustomBase(-268435456); 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 io.qt.QNoSuchEnumValueException if value not existent in the enum */ public static 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 io.qt.QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static ComplexControl resolve(int value, 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

*/ @io.qt.QtExtensibleEnum public enum ContentsType implements io.qt.QtEnumerator { CT_PushButton(0), CT_CheckBox(1), CT_RadioButton(2), CT_ToolButton(3), CT_ComboBox(4), CT_Splitter(5), CT_ProgressBar(6), CT_MenuItem(7), CT_MenuBarItem(8), CT_MenuBar(9), CT_Menu(10), CT_TabBarTab(11), CT_Slider(12), CT_ScrollBar(13), CT_LineEdit(14), CT_SpinBox(15), CT_SizeGrip(16), CT_TabWidget(17), CT_DialogButtons(18), CT_HeaderSection(19), CT_GroupBox(20), CT_MdiControls(21), CT_ItemViewItem(22), CT_CustomBase(-268435456); 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 io.qt.QNoSuchEnumValueException if value not existent in the enum */ public static 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 io.qt.QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static ContentsType resolve(int value, 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

*/ @io.qt.QtExtensibleEnum public enum ControlElement implements io.qt.QtEnumerator { CE_PushButton(0), CE_PushButtonBevel(1), CE_PushButtonLabel(2), CE_CheckBox(3), CE_CheckBoxLabel(4), CE_RadioButton(5), CE_RadioButtonLabel(6), CE_TabBarTab(7), CE_TabBarTabShape(8), CE_TabBarTabLabel(9), CE_ProgressBar(10), CE_ProgressBarGroove(11), CE_ProgressBarContents(12), CE_ProgressBarLabel(13), CE_MenuItem(14), CE_MenuScroller(15), CE_MenuVMargin(16), CE_MenuHMargin(17), CE_MenuTearoff(18), CE_MenuEmptyArea(19), CE_MenuBarItem(20), CE_MenuBarEmptyArea(21), CE_ToolButtonLabel(22), CE_Header(23), CE_HeaderSection(24), CE_HeaderLabel(25), CE_ToolBoxTab(26), CE_SizeGrip(27), CE_Splitter(28), CE_RubberBand(29), CE_DockWidgetTitle(30), CE_ScrollBarAddLine(31), CE_ScrollBarSubLine(32), CE_ScrollBarAddPage(33), CE_ScrollBarSubPage(34), CE_ScrollBarSlider(35), CE_ScrollBarFirst(36), CE_ScrollBarLast(37), CE_FocusFrame(38), CE_ComboBoxLabel(39), CE_ToolBar(40), CE_ToolBoxTabShape(41), CE_ToolBoxTabLabel(42), CE_HeaderEmptyArea(43), CE_ColumnViewGrip(44), CE_ItemViewItem(45), CE_ShapedFrame(46), CE_CustomBase(-268435456); 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 io.qt.QNoSuchEnumValueException if value not existent in the enum */ public static 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 io.qt.QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static ControlElement resolve(int value, 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

*/ @io.qt.QtExtensibleEnum public enum PixelMetric implements io.qt.QtEnumerator { PM_ButtonMargin(0), PM_ButtonDefaultIndicator(1), PM_MenuButtonIndicator(2), PM_ButtonShiftHorizontal(3), PM_ButtonShiftVertical(4), PM_DefaultFrameWidth(5), PM_SpinBoxFrameWidth(6), PM_ComboBoxFrameWidth(7), PM_MaximumDragDistance(8), PM_ScrollBarExtent(9), PM_ScrollBarSliderMin(10), PM_SliderThickness(11), PM_SliderControlThickness(12), PM_SliderLength(13), PM_SliderTickmarkOffset(14), PM_SliderSpaceAvailable(15), PM_DockWidgetSeparatorExtent(16), PM_DockWidgetHandleExtent(17), PM_DockWidgetFrameWidth(18), PM_TabBarTabOverlap(19), PM_TabBarTabHSpace(20), PM_TabBarTabVSpace(21), PM_TabBarBaseHeight(22), PM_TabBarBaseOverlap(23), PM_ProgressBarChunkWidth(24), PM_SplitterWidth(25), PM_TitleBarHeight(26), PM_MenuScrollerHeight(27), PM_MenuHMargin(28), PM_MenuVMargin(29), PM_MenuPanelWidth(30), PM_MenuTearoffHeight(31), PM_MenuDesktopFrameWidth(32), PM_MenuBarPanelWidth(33), PM_MenuBarItemSpacing(34), PM_MenuBarVMargin(35), PM_MenuBarHMargin(36), PM_IndicatorWidth(37), PM_IndicatorHeight(38), PM_ExclusiveIndicatorWidth(39), PM_ExclusiveIndicatorHeight(40), PM_DialogButtonsSeparator(41), PM_DialogButtonsButtonWidth(42), PM_DialogButtonsButtonHeight(43), PM_MdiSubWindowFrameWidth(44), PM_MdiSubWindowMinimizedWidth(45), PM_HeaderMargin(46), PM_HeaderMarkSize(47), PM_HeaderGripMargin(48), PM_TabBarTabShiftHorizontal(49), PM_TabBarTabShiftVertical(50), PM_TabBarScrollButtonWidth(51), PM_ToolBarFrameWidth(52), PM_ToolBarHandleExtent(53), PM_ToolBarItemSpacing(54), PM_ToolBarItemMargin(55), PM_ToolBarSeparatorExtent(56), PM_ToolBarExtensionExtent(57), PM_SpinBoxSliderHeight(58), PM_ToolBarIconSize(59), PM_ListViewIconSize(60), PM_IconViewIconSize(61), PM_SmallIconSize(62), PM_LargeIconSize(63), PM_FocusFrameVMargin(64), PM_FocusFrameHMargin(65), PM_ToolTipLabelFrameWidth(66), PM_CheckBoxLabelSpacing(67), PM_TabBarIconSize(68), PM_SizeGripSize(69), PM_DockWidgetTitleMargin(70), PM_MessageBoxIconSize(71), PM_ButtonIconSize(72), PM_DockWidgetTitleBarButtonMargin(73), PM_RadioButtonLabelSpacing(74), PM_LayoutLeftMargin(75), PM_LayoutTopMargin(76), PM_LayoutRightMargin(77), PM_LayoutBottomMargin(78), PM_LayoutHorizontalSpacing(79), PM_LayoutVerticalSpacing(80), PM_TabBar_ScrollButtonOverlap(81), PM_TextCursorWidth(82), PM_TabCloseIndicatorWidth(83), PM_TabCloseIndicatorHeight(84), PM_ScrollView_ScrollBarSpacing(85), PM_ScrollView_ScrollBarOverlap(86), PM_SubMenuOverlap(87), PM_TreeViewIndentation(88), PM_HeaderDefaultSectionSizeHorizontal(89), PM_HeaderDefaultSectionSizeVertical(90), PM_TitleBarButtonIconSize(91), PM_TitleBarButtonSize(92), PM_LineEditIconSize(93), PM_CustomBase(-268435456); 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 io.qt.QNoSuchEnumValueException if value not existent in the enum */ public static 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 -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 io.qt.QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static PixelMetric resolve(int value, 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

*/ @io.qt.QtExtensibleEnum @io.qt.QtRejectedEntries({"PE_IndicatorTabTearLeft"}) public enum PrimitiveElement implements io.qt.QtEnumerator { PE_Frame(0), PE_FrameDefaultButton(1), PE_FrameDockWidget(2), PE_FrameFocusRect(3), PE_FrameGroupBox(4), PE_FrameLineEdit(5), PE_FrameMenu(6), PE_FrameStatusBarItem(7), PE_FrameTabWidget(8), PE_FrameWindow(9), PE_FrameButtonBevel(10), PE_FrameButtonTool(11), PE_FrameTabBarBase(12), PE_PanelButtonCommand(13), PE_PanelButtonBevel(14), PE_PanelButtonTool(15), PE_PanelMenuBar(16), PE_PanelToolBar(17), PE_PanelLineEdit(18), PE_IndicatorArrowDown(19), PE_IndicatorArrowLeft(20), PE_IndicatorArrowRight(21), PE_IndicatorArrowUp(22), PE_IndicatorBranch(23), PE_IndicatorButtonDropDown(24), PE_IndicatorItemViewItemCheck(25), PE_IndicatorCheckBox(26), PE_IndicatorDockWidgetResizeHandle(27), PE_IndicatorHeaderArrow(28), PE_IndicatorMenuCheckMark(29), PE_IndicatorProgressChunk(30), PE_IndicatorRadioButton(31), PE_IndicatorSpinDown(32), PE_IndicatorSpinMinus(33), PE_IndicatorSpinPlus(34), PE_IndicatorSpinUp(35), PE_IndicatorToolBarHandle(36), PE_IndicatorToolBarSeparator(37), PE_PanelTipLabel(38), PE_IndicatorTabTear(39), PE_IndicatorTabTearLeft(39), PE_PanelScrollAreaCorner(40), PE_Widget(41), PE_IndicatorColumnViewArrow(42), PE_IndicatorItemViewItemDrop(43), PE_PanelItemViewItem(44), PE_PanelItemViewRow(45), PE_PanelStatusBar(46), PE_IndicatorTabClose(47), PE_PanelMenu(48), PE_IndicatorTabTearRight(49), PE_CustomBase(251658240); 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 io.qt.QNoSuchEnumValueException if value not existent in the enum */ public static 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 io.qt.QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static PrimitiveElement resolve(int value, 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 io.qt.QtEnumerator { RSIP_OnMouseClickAndAlreadyFocused(0), RSIP_OnMouseClick(1); 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 RequestSoftwareInputPanel resolve(int value) { switch (value) { case 0: return RSIP_OnMouseClickAndAlreadyFocused; case 1: return RSIP_OnMouseClick; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QStyle::StandardPixmap

*/ @io.qt.QtExtensibleEnum public enum StandardPixmap implements io.qt.QtEnumerator { SP_TitleBarMenuButton(0), SP_TitleBarMinButton(1), SP_TitleBarMaxButton(2), SP_TitleBarCloseButton(3), SP_TitleBarNormalButton(4), SP_TitleBarShadeButton(5), SP_TitleBarUnshadeButton(6), SP_TitleBarContextHelpButton(7), SP_DockWidgetCloseButton(8), SP_MessageBoxInformation(9), SP_MessageBoxWarning(10), SP_MessageBoxCritical(11), SP_MessageBoxQuestion(12), SP_DesktopIcon(13), SP_TrashIcon(14), SP_ComputerIcon(15), SP_DriveFDIcon(16), SP_DriveHDIcon(17), SP_DriveCDIcon(18), SP_DriveDVDIcon(19), SP_DriveNetIcon(20), SP_DirOpenIcon(21), SP_DirClosedIcon(22), SP_DirLinkIcon(23), SP_DirLinkOpenIcon(24), SP_FileIcon(25), SP_FileLinkIcon(26), SP_ToolBarHorizontalExtensionButton(27), SP_ToolBarVerticalExtensionButton(28), SP_FileDialogStart(29), SP_FileDialogEnd(30), SP_FileDialogToParent(31), SP_FileDialogNewFolder(32), SP_FileDialogDetailedView(33), SP_FileDialogInfoView(34), SP_FileDialogContentsView(35), SP_FileDialogListView(36), SP_FileDialogBack(37), SP_DirIcon(38), SP_DialogOkButton(39), SP_DialogCancelButton(40), SP_DialogHelpButton(41), SP_DialogOpenButton(42), SP_DialogSaveButton(43), SP_DialogCloseButton(44), SP_DialogApplyButton(45), SP_DialogResetButton(46), SP_DialogDiscardButton(47), SP_DialogYesButton(48), SP_DialogNoButton(49), SP_ArrowUp(50), SP_ArrowDown(51), SP_ArrowLeft(52), SP_ArrowRight(53), SP_ArrowBack(54), SP_ArrowForward(55), SP_DirHomeIcon(56), SP_CommandLink(57), SP_VistaShield(58), SP_BrowserReload(59), SP_BrowserStop(60), SP_MediaPlay(61), SP_MediaStop(62), SP_MediaPause(63), SP_MediaSkipForward(64), SP_MediaSkipBackward(65), SP_MediaSeekForward(66), SP_MediaSeekBackward(67), SP_MediaVolume(68), SP_MediaVolumeMuted(69), SP_LineEditClearButton(70), SP_DialogYesToAllButton(71), SP_DialogNoToAllButton(72), SP_DialogSaveAllButton(73), SP_DialogAbortButton(74), SP_DialogRetryButton(75), SP_DialogIgnoreButton(76), SP_RestoreDefaultsButton(77), SP_CustomBase(-268435456); 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 io.qt.QNoSuchEnumValueException if value not existent in the enum */ public static 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 -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 io.qt.QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static StandardPixmap resolve(int value, 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 io.qt.QtFlagEnumerator { State_None(0), State_Enabled(1), State_Raised(2), State_Sunken(4), State_Off(8), State_NoChange(16), State_On(32), State_DownArrow(64), State_Horizontal(128), State_HasFocus(256), State_Top(512), State_Bottom(1024), State_FocusAtBorder(2048), State_AutoRaise(4096), State_MouseOver(8192), State_UpArrow(16384), State_Selected(32768), State_Active(65536), State_Window(131072), State_Open(262144), State_Children(524288), State_Item(1048576), State_Sibling(2097152), State_Editing(4194304), State_KeyboardFocusChange(8388608), State_ReadOnly(33554432), State_Small(67108864), State_Mini(134217728); private StateFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public State asFlags() { return new State(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public State combined(StateFlag e) { return new State(this, e); } /** * Creates a new {@link State} from the entries. * @param values entries * @return new flag */ public static State flags(StateFlag ... values) { return new State(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static 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 33554432: return State_ReadOnly; case 67108864: return State_Small; case 134217728: return State_Mini; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** * QFlags type for enum {@link StateFlag} */ public static final class State extends io.qt.QFlags implements Comparable { private static final long serialVersionUID = 0x9b980ff5141882cL; /** * Creates a new State where the flags in args are set. * @param args enum entries */ public State(StateFlag ... 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 State combined(StateFlag e){ return new State(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final State setFlag(StateFlag e){ super.setFlag(e); return this; } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final State setFlag(StateFlag e, boolean on){ super.setFlag(e, on); return this; } /** * Returns an array of flag objects represented by this State. * @return array of enum entries */ @Override public final StateFlag[] flags(){ return super.flags(StateFlag.values()); } /** * {@inheritDoc} */ @Override public final State clone(){ return new State(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(State other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QStyle::StyleHint

*/ @io.qt.QtExtensibleEnum public enum StyleHint implements io.qt.QtEnumerator { SH_EtchDisabledText(0), SH_DitherDisabledText(1), SH_ScrollBar_MiddleClickAbsolutePosition(2), SH_ScrollBar_ScrollWhenPointerLeavesControl(3), SH_TabBar_SelectMouseType(4), SH_TabBar_Alignment(5), SH_Header_ArrowAlignment(6), SH_Slider_SnapToValue(7), SH_Slider_SloppyKeyEvents(8), SH_ProgressDialog_CenterCancelButton(9), SH_ProgressDialog_TextLabelAlignment(10), SH_PrintDialog_RightAlignButtons(11), SH_MainWindow_SpaceBelowMenuBar(12), SH_FontDialog_SelectAssociatedText(13), SH_Menu_AllowActiveAndDisabled(14), SH_Menu_SpaceActivatesItem(15), SH_Menu_SubMenuPopupDelay(16), SH_ScrollView_FrameOnlyAroundContents(17), SH_MenuBar_AltKeyNavigation(18), SH_ComboBox_ListMouseTracking(19), SH_Menu_MouseTracking(20), SH_MenuBar_MouseTracking(21), SH_ItemView_ChangeHighlightOnFocus(22), SH_Widget_ShareActivation(23), SH_Workspace_FillSpaceOnMaximize(24), SH_ComboBox_Popup(25), SH_TitleBar_NoBorder(26), SH_Slider_StopMouseOverSlider(27), SH_BlinkCursorWhenTextSelected(28), SH_RichText_FullWidthSelection(29), SH_Menu_Scrollable(30), SH_GroupBox_TextLabelVerticalAlignment(31), SH_GroupBox_TextLabelColor(32), SH_Menu_SloppySubMenus(33), SH_Table_GridLineColor(34), SH_LineEdit_PasswordCharacter(35), SH_DialogButtons_DefaultButton(36), SH_ToolBox_SelectedPageTitleBold(37), SH_TabBar_PreferNoArrows(38), SH_ScrollBar_LeftClickAbsolutePosition(39), SH_ListViewExpand_SelectMouseType(40), SH_UnderlineShortcut(41), SH_SpinBox_AnimateButton(42), SH_SpinBox_KeyPressAutoRepeatRate(43), SH_SpinBox_ClickAutoRepeatRate(44), SH_Menu_FillScreenWithScroll(45), SH_ToolTipLabel_Opacity(46), SH_DrawMenuBarSeparator(47), SH_TitleBar_ModifyNotification(48), SH_Button_FocusPolicy(49), SH_MessageBox_UseBorderForButtonSpacing(50), SH_TitleBar_AutoRaise(51), SH_ToolButton_PopupDelay(52), SH_FocusFrame_Mask(53), SH_RubberBand_Mask(54), SH_WindowFrame_Mask(55), SH_SpinControls_DisableOnBounds(56), SH_Dial_BackgroundRole(57), SH_ComboBox_LayoutDirection(58), SH_ItemView_EllipsisLocation(59), SH_ItemView_ShowDecorationSelected(60), SH_ItemView_ActivateItemOnSingleClick(61), SH_ScrollBar_ContextMenu(62), SH_ScrollBar_RollBetweenButtons(63), SH_Slider_AbsoluteSetButtons(64), SH_Slider_PageSetButtons(65), SH_Menu_KeyboardSearch(66), SH_TabBar_ElideMode(67), SH_DialogButtonLayout(68), SH_ComboBox_PopupFrameStyle(69), SH_MessageBox_TextInteractionFlags(70), SH_DialogButtonBox_ButtonsHaveIcons(71), SH_MessageBox_CenterButtons(72), SH_Menu_SelectionWrap(73), SH_ItemView_MovementWithoutUpdatingSelection(74), SH_ToolTip_Mask(75), SH_FocusFrame_AboveWidget(76), SH_TextControl_FocusIndicatorTextCharFormat(77), SH_WizardStyle(78), SH_ItemView_ArrowKeysNavigateIntoChildren(79), SH_Menu_Mask(80), SH_Menu_FlashTriggeredItem(81), SH_Menu_FadeOutOnHide(82), SH_SpinBox_ClickAutoRepeatThreshold(83), SH_ItemView_PaintAlternatingRowColorsForEmptyArea(84), SH_FormLayoutWrapPolicy(85), SH_TabWidget_DefaultTabPosition(86), SH_ToolBar_Movable(87), SH_FormLayoutFieldGrowthPolicy(88), SH_FormLayoutFormAlignment(89), SH_FormLayoutLabelAlignment(90), SH_ItemView_DrawDelegateFrame(91), SH_TabBar_CloseButtonPosition(92), SH_DockWidget_ButtonsHaveFrame(93), SH_ToolButtonStyle(94), SH_RequestSoftwareInputPanel(95), SH_ScrollBar_Transient(96), SH_Menu_SupportsSections(97), SH_ToolTip_WakeUpDelay(98), SH_ToolTip_FallAsleepDelay(99), SH_Widget_Animate(100), SH_Splitter_OpaqueResize(101), SH_ComboBox_UseNativePopup(102), SH_LineEdit_PasswordMaskDelay(103), SH_TabBar_ChangeCurrentDelay(104), SH_Menu_SubMenuUniDirection(105), SH_Menu_SubMenuUniDirectionFailCount(106), SH_Menu_SubMenuSloppySelectOtherActions(107), SH_Menu_SubMenuSloppyCloseTimeout(108), SH_Menu_SubMenuResetWhenReenteringParent(109), SH_Menu_SubMenuDontStartSloppyOnLeave(110), SH_ItemView_ScrollMode(111), SH_TitleBar_ShowToolTipsOnButtons(112), SH_Widget_Animation_Duration(113), SH_ComboBox_AllowWheelScrolling(114), SH_SpinBox_ButtonsInsideFrame(115), SH_SpinBox_StepModifier(116), SH_TabBar_AllowWheelScrolling(117), SH_CustomBase(-268435456); 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 io.qt.QNoSuchEnumValueException if value not existent in the enum */ public static 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 -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 io.qt.QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static StyleHint resolve(int value, 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 */ @io.qt.QtExtensibleEnum @io.qt.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 io.qt.QtFlagEnumerator { SC_None(0), SC_ScrollBarAddLine(1), SC_ScrollBarSubLine(2), SC_ScrollBarAddPage(4), SC_ScrollBarSubPage(8), SC_ScrollBarFirst(16), SC_ScrollBarLast(32), SC_ScrollBarSlider(64), SC_ScrollBarGroove(128), SC_SpinBoxUp(1), SC_SpinBoxDown(2), SC_SpinBoxFrame(4), SC_SpinBoxEditField(8), SC_ComboBoxFrame(1), SC_ComboBoxEditField(2), SC_ComboBoxArrow(4), SC_ComboBoxListBoxPopup(8), SC_SliderGroove(1), SC_SliderHandle(2), SC_SliderTickmarks(4), SC_ToolButton(1), SC_ToolButtonMenu(2), SC_TitleBarSysMenu(1), SC_TitleBarMinButton(2), SC_TitleBarMaxButton(4), SC_TitleBarCloseButton(8), SC_TitleBarNormalButton(16), SC_TitleBarShadeButton(32), SC_TitleBarUnshadeButton(64), SC_TitleBarContextHelpButton(128), SC_TitleBarLabel(256), SC_DialGroove(1), SC_DialHandle(2), SC_DialTickmarks(4), SC_GroupBoxCheckBox(1), SC_GroupBoxLabel(2), SC_GroupBoxContents(4), SC_GroupBoxFrame(8), SC_MdiMinButton(1), SC_MdiNormalButton(2), SC_MdiCloseButton(4), SC_CustomBase(-268435456), SC_All(-1); private SubControl(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public SubControls asFlags() { return new SubControls(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public SubControls combined(SubControl e) { return new SubControls(this, e); } /** * Creates a new {@link SubControls} from the entries. * @param values entries * @return new flag */ public static SubControls flags(SubControl ... values) { return new SubControls(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry * @throws io.qt.QNoSuchEnumValueException if value not existent in the enum */ public static 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 io.qt.QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static SubControl resolve(int value, String name) { if(name==null || name.isEmpty()) return resolve(value); else return QtJambi_LibraryUtilities.internal.resolveEnum(SubControl.class, value, name); } private final int value; } /** * QFlags type for enum {@link SubControl} */ public static final class SubControls extends io.qt.QFlags implements Comparable { private static final long serialVersionUID = 0x182590f56db0333eL; /** * Creates a new SubControls where the flags in args are set. * @param args enum entries */ public SubControls(SubControl ... 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 SubControls combined(SubControl e){ return new SubControls(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final SubControls setFlag(SubControl e){ super.setFlag(e); return this; } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final SubControls setFlag(SubControl e, boolean on){ super.setFlag(e, on); return this; } /** * Returns an array of flag objects represented by this SubControls. * @return array of enum entries */ @Override public final SubControl[] flags(){ return super.flags(SubControl.values()); } /** * {@inheritDoc} */ @Override public final SubControls clone(){ return new SubControls(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(SubControls other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QStyle::SubElement

*/ @io.qt.QtExtensibleEnum @io.qt.QtRejectedEntries({"SE_TabBarTearIndicatorLeft"}) public enum SubElement implements io.qt.QtEnumerator { SE_PushButtonContents(0), SE_PushButtonFocusRect(1), SE_CheckBoxIndicator(2), SE_CheckBoxContents(3), SE_CheckBoxFocusRect(4), SE_CheckBoxClickRect(5), SE_RadioButtonIndicator(6), SE_RadioButtonContents(7), SE_RadioButtonFocusRect(8), SE_RadioButtonClickRect(9), SE_ComboBoxFocusRect(10), SE_SliderFocusRect(11), SE_ProgressBarGroove(12), SE_ProgressBarContents(13), SE_ProgressBarLabel(14), SE_ToolBoxTabContents(15), SE_HeaderLabel(16), SE_HeaderArrow(17), SE_TabWidgetTabBar(18), SE_TabWidgetTabPane(19), SE_TabWidgetTabContents(20), SE_TabWidgetLeftCorner(21), SE_TabWidgetRightCorner(22), SE_ItemViewItemCheckIndicator(23), SE_TabBarTearIndicator(24), SE_TabBarTearIndicatorLeft(24), SE_TreeViewDisclosureItem(25), SE_LineEditContents(26), SE_FrameContents(27), SE_DockWidgetCloseButton(28), SE_DockWidgetFloatButton(29), SE_DockWidgetTitleBarText(30), SE_DockWidgetIcon(31), SE_CheckBoxLayoutItem(32), SE_ComboBoxLayoutItem(33), SE_DateTimeEditLayoutItem(34), SE_LabelLayoutItem(35), SE_ProgressBarLayoutItem(36), SE_PushButtonLayoutItem(37), SE_RadioButtonLayoutItem(38), SE_SliderLayoutItem(39), SE_SpinBoxLayoutItem(40), SE_ToolButtonLayoutItem(41), SE_FrameLayoutItem(42), SE_GroupBoxLayoutItem(43), SE_TabWidgetLayoutItem(44), SE_ItemViewItemDecoration(45), SE_ItemViewItemText(46), SE_ItemViewItemFocusRect(47), SE_TabBarTabLeftButton(48), SE_TabBarTabRightButton(49), SE_TabBarTabText(50), SE_ShapedFrameContents(51), SE_ToolBarHandle(52), SE_TabBarScrollLeftButton(53), SE_TabBarScrollRightButton(54), SE_TabBarTearIndicatorRight(55), SE_PushButtonBevel(56), SE_CustomBase(-268435456); 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 io.qt.QNoSuchEnumValueException if value not existent in the enum */ public static 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 io.qt.QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static SubElement resolve(int value, 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); /** *

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.

*/ @io.qt.QtUninvokable public final int combinedLayoutSpacing(io.qt.widgets.QSizePolicy.ControlTypes controls1, io.qt.widgets.QSizePolicy.ControlTypes controls2, io.qt.core.Qt.Orientation orientation, io.qt.widgets.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
  • *
*/ @io.qt.QtUninvokable public final int combinedLayoutSpacing(io.qt.widgets.QSizePolicy.ControlTypes controls1, io.qt.widgets.QSizePolicy.ControlTypes controls2, io.qt.core.Qt.Orientation orientation) { return combinedLayoutSpacing(controls1, controls2, orientation, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null); } /** *

See QStyle::combinedLayoutSpacing(QSizePolicy::ControlTypes,QSizePolicy::ControlTypes,Qt::Orientation,QStyleOption*,QWidget*)const

*/ @io.qt.QtUninvokable public final int combinedLayoutSpacing(io.qt.widgets.QSizePolicy.ControlTypes controls1, io.qt.widgets.QSizePolicy.ControlTypes controls2, io.qt.core.Qt.Orientation orientation, io.qt.widgets.QStyleOption option, io.qt.widgets.QWidget widget){ return combinedLayoutSpacing_native_QFlags_QSizePolicy_ControlType__QFlags_QSizePolicy_ControlType__Qt_Orientation_QStyleOption_ptr_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), controls1.value(), controls2.value(), orientation.value(), option, QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native int combinedLayoutSpacing_native_QFlags_QSizePolicy_ControlType__QFlags_QSizePolicy_ControlType__Qt_Orientation_QStyleOption_ptr_QWidget_ptr_constfct(long __this__nativeId, int controls1, int controls2, int orientation, io.qt.widgets.QStyleOption option, long widget); /** *

See QStyle::name()const

*/ @io.qt.QtUninvokable public final java.lang.String name(){ return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String name_native_constfct(long __this__nativeId); /** *

See QStyle::proxy()const

*/ @io.qt.QtUninvokable public final io.qt.widgets.QStyle proxy(){ return proxy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.widgets.QStyle proxy_native_constfct(long __this__nativeId); /** *

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.

*/ @io.qt.QtUninvokable public final void drawComplexControl(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.gui.QPainter p) { drawComplexControl(cc, opt, p, (io.qt.widgets.QWidget)null); } /** *

See QStyle::drawComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*)const

*/ @io.qt.QtUninvokable public abstract void drawComplexControl(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.gui.QPainter p, io.qt.widgets.QWidget widget); @io.qt.QtUninvokable private native void drawComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int cc, io.qt.widgets.QStyleOptionComplex opt, long p, long widget); /** *

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.

*/ @io.qt.QtUninvokable public final void drawControl(io.qt.widgets.QStyle.ControlElement element, io.qt.widgets.QStyleOption opt, io.qt.gui.QPainter p) { drawControl(element, opt, p, (io.qt.widgets.QWidget)null); } /** *

See QStyle::drawControl(QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*)const

*/ @io.qt.QtUninvokable public abstract void drawControl(io.qt.widgets.QStyle.ControlElement element, io.qt.widgets.QStyleOption opt, io.qt.gui.QPainter p, io.qt.widgets.QWidget w); @io.qt.QtUninvokable private native void drawControl_native_QStyle_ControlElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int element, io.qt.widgets.QStyleOption opt, long p, long w); /** *

See QStyle::drawItemPixmap(QPainter*,QRect,int,QPixmap)const

*/ @io.qt.QtUninvokable public void drawItemPixmap(io.qt.gui.QPainter painter, io.qt.core.QRect rect, int alignment, io.qt.gui.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)); } @io.qt.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); /** *

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.

*/ @io.qt.QtUninvokable public final void drawItemText(io.qt.gui.QPainter painter, io.qt.core.QRect rect, int flags, io.qt.gui.QPalette pal, boolean enabled, java.lang.String text) { drawItemText(painter, rect, flags, pal, enabled, text, io.qt.gui.QPalette.ColorRole.NoRole); } /** *

See QStyle::drawItemText(QPainter*,QRect,int,QPalette,bool,QString,QPalette::ColorRole)const

*/ @io.qt.QtUninvokable public void drawItemText(io.qt.gui.QPainter painter, io.qt.core.QRect rect, int flags, io.qt.gui.QPalette pal, boolean enabled, java.lang.String text, io.qt.gui.QPalette.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()); } @io.qt.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); /** *

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.

*/ @io.qt.QtUninvokable public final void drawPrimitive(io.qt.widgets.QStyle.PrimitiveElement pe, io.qt.widgets.QStyleOption opt, io.qt.gui.QPainter p) { drawPrimitive(pe, opt, p, (io.qt.widgets.QWidget)null); } /** *

See QStyle::drawPrimitive(QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*)const

*/ @io.qt.QtUninvokable public abstract void drawPrimitive(io.qt.widgets.QStyle.PrimitiveElement pe, io.qt.widgets.QStyleOption opt, io.qt.gui.QPainter p, io.qt.widgets.QWidget w); @io.qt.QtUninvokable private native void drawPrimitive_native_QStyle_PrimitiveElement_const_QStyleOption_ptr_QPainter_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int pe, io.qt.widgets.QStyleOption opt, long p, long w); /** *

See QStyle::generatedIconPixmap(QIcon::Mode,QPixmap,const QStyleOption*)const

*/ @io.qt.QtUninvokable public abstract io.qt.gui.QPixmap generatedIconPixmap(io.qt.gui.QIcon.Mode iconMode, io.qt.gui.QPixmap pixmap, io.qt.widgets.QStyleOption opt); @io.qt.QtUninvokable private native io.qt.gui.QPixmap generatedIconPixmap_native_QIcon_Mode_cref_QPixmap_const_QStyleOption_ptr_constfct(long __this__nativeId, int iconMode, long pixmap, io.qt.widgets.QStyleOption opt); /** *

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.

*/ @io.qt.QtUninvokable public final io.qt.widgets.QStyle.SubControl hitTestComplexControl(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.core.QPoint pt) { return hitTestComplexControl(cc, opt, pt, (io.qt.widgets.QWidget)null); } /** *

See QStyle::hitTestComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,QPoint,const QWidget*)const

*/ @io.qt.QtUninvokable public abstract io.qt.widgets.QStyle.SubControl hitTestComplexControl(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.core.QPoint pt, io.qt.widgets.QWidget widget); @io.qt.QtUninvokable private native io.qt.widgets.QStyle.SubControl hitTestComplexControl_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_cref_QPoint_const_QWidget_ptr_constfct(long __this__nativeId, int cc, io.qt.widgets.QStyleOptionComplex opt, long pt, long widget); /** *

See QStyle::itemPixmapRect(QRect,int,QPixmap)const

*/ @io.qt.QtUninvokable public io.qt.core.QRect itemPixmapRect(io.qt.core.QRect r, int flags, io.qt.gui.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)); } @io.qt.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

*/ @io.qt.QtUninvokable public io.qt.core.QRect itemTextRect(io.qt.gui.QFontMetrics fm, io.qt.core.QRect r, int flags, boolean enabled, java.lang.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); } @io.qt.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); /** *

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.

*/ @io.qt.QtUninvokable public final int layoutSpacing(io.qt.widgets.QSizePolicy.ControlType control1, io.qt.widgets.QSizePolicy.ControlType control2, io.qt.core.Qt.Orientation orientation, io.qt.widgets.QStyleOption option) { 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
  • *
*/ @io.qt.QtUninvokable public final int layoutSpacing(io.qt.widgets.QSizePolicy.ControlType control1, io.qt.widgets.QSizePolicy.ControlType control2, io.qt.core.Qt.Orientation orientation) { return layoutSpacing(control1, control2, orientation, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null); } /** *

See QStyle::layoutSpacing(QSizePolicy::ControlType,QSizePolicy::ControlType,Qt::Orientation,const QStyleOption*,const QWidget*)const

*/ @io.qt.QtUninvokable public abstract int layoutSpacing(io.qt.widgets.QSizePolicy.ControlType control1, io.qt.widgets.QSizePolicy.ControlType control2, io.qt.core.Qt.Orientation orientation, io.qt.widgets.QStyleOption option, io.qt.widgets.QWidget widget); @io.qt.QtUninvokable private native int layoutSpacing_native_QSizePolicy_ControlType_QSizePolicy_ControlType_Qt_Orientation_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int control1, int control2, int orientation, io.qt.widgets.QStyleOption option, long widget); /** *

Overloaded function for {@link #pixelMetric(io.qt.widgets.QStyle.PixelMetric, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)} * with widget = null.

*/ @io.qt.QtUninvokable public final int pixelMetric(io.qt.widgets.QStyle.PixelMetric metric, io.qt.widgets.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
  • *
*/ @io.qt.QtUninvokable public final int pixelMetric(io.qt.widgets.QStyle.PixelMetric metric) { return pixelMetric(metric, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null); } /** *

See QStyle::pixelMetric(QStyle::PixelMetric,const QStyleOption*,const QWidget*)const

*/ @io.qt.QtUninvokable public abstract int pixelMetric(io.qt.widgets.QStyle.PixelMetric metric, io.qt.widgets.QStyleOption option, io.qt.widgets.QWidget widget); @io.qt.QtUninvokable private native int pixelMetric_native_QStyle_PixelMetric_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int metric, io.qt.widgets.QStyleOption option, long widget); /** *

See QStyle::polish(QApplication*)

*/ @io.qt.QtUninvokable public void polish(io.qt.widgets.QApplication application){ polish_native_QApplication_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(application)); } @io.qt.QtUninvokable private native void polish_native_QApplication_ptr(long __this__nativeId, long application); /** *

See QStyle::polish(QPalette&)

*/ @io.qt.QtUninvokable public void polish(io.qt.gui.QPalette palette){ java.util.Objects.requireNonNull(palette, "Argument 'palette': null not expected."); polish_native_ref_QPalette(QtJambi_LibraryUtilities.internal.nativeId(this), palette); } @io.qt.QtUninvokable private native void polish_native_ref_QPalette(long __this__nativeId, io.qt.gui.QPalette palette); /** *

See QStyle::polish(QWidget*)

*/ @io.qt.QtUninvokable public void polish(io.qt.widgets.QWidget widget){ polish_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native void polish_native_QWidget_ptr(long __this__nativeId, long widget); /** *

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.

*/ @io.qt.QtUninvokable public final io.qt.core.QSize sizeFromContents(io.qt.widgets.QStyle.ContentsType ct, io.qt.widgets.QStyleOption opt, io.qt.core.QSize contentsSize) { return sizeFromContents(ct, opt, contentsSize, (io.qt.widgets.QWidget)null); } /** *

See QStyle::sizeFromContents(QStyle::ContentsType,const QStyleOption*,QSize,const QWidget*)const

*/ @io.qt.QtUninvokable public abstract io.qt.core.QSize sizeFromContents(io.qt.widgets.QStyle.ContentsType ct, io.qt.widgets.QStyleOption opt, io.qt.core.QSize contentsSize, io.qt.widgets.QWidget w); @io.qt.QtUninvokable private native io.qt.core.QSize sizeFromContents_native_QStyle_ContentsType_const_QStyleOption_ptr_cref_QSize_const_QWidget_ptr_constfct(long __this__nativeId, int ct, io.qt.widgets.QStyleOption opt, long contentsSize, long w); /** *

Overloaded function for {@link #standardIcon(io.qt.widgets.QStyle.StandardPixmap, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)} * with widget = null.

*/ @io.qt.QtUninvokable public final io.qt.gui.QIcon standardIcon(io.qt.widgets.QStyle.StandardPixmap standardIcon, io.qt.widgets.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
  • *
*/ @io.qt.QtUninvokable public final io.qt.gui.QIcon standardIcon(io.qt.widgets.QStyle.StandardPixmap standardIcon) { return standardIcon(standardIcon, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null); } /** *

See QStyle::standardIcon(QStyle::StandardPixmap,const QStyleOption*,const QWidget*)const

*/ @io.qt.QtUninvokable public abstract io.qt.gui.QIcon standardIcon(io.qt.widgets.QStyle.StandardPixmap standardIcon, io.qt.widgets.QStyleOption option, io.qt.widgets.QWidget widget); @io.qt.QtUninvokable private native io.qt.gui.QIcon standardIcon_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int standardIcon, io.qt.widgets.QStyleOption option, long widget); /** *

See QStyle::standardPalette()const

*/ @io.qt.QtUninvokable public io.qt.gui.QPalette standardPalette(){ return standardPalette_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QPalette standardPalette_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #standardPixmap(io.qt.widgets.QStyle.StandardPixmap, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)} * with widget = null.

*/ @io.qt.QtUninvokable public final io.qt.gui.QPixmap standardPixmap(io.qt.widgets.QStyle.StandardPixmap standardPixmap, io.qt.widgets.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
  • *
*/ @io.qt.QtUninvokable public final io.qt.gui.QPixmap standardPixmap(io.qt.widgets.QStyle.StandardPixmap standardPixmap) { return standardPixmap(standardPixmap, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null); } @io.qt.QtUninvokable public abstract io.qt.gui.QPixmap standardPixmap(io.qt.widgets.QStyle.StandardPixmap standardPixmap, io.qt.widgets.QStyleOption opt, io.qt.widgets.QWidget widget); @io.qt.QtUninvokable private native io.qt.gui.QPixmap standardPixmap_native_QStyle_StandardPixmap_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int standardPixmap, io.qt.widgets.QStyleOption opt, long widget); /** *

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.

*/ @io.qt.QtUninvokable public final int styleHint(io.qt.widgets.QStyle.StyleHint stylehint, io.qt.widgets.QStyleOption opt, io.qt.widgets.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
  • *
*/ @io.qt.QtUninvokable public final int styleHint(io.qt.widgets.QStyle.StyleHint stylehint, io.qt.widgets.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
  • *
*/ @io.qt.QtUninvokable public final int styleHint(io.qt.widgets.QStyle.StyleHint stylehint) { return styleHint(stylehint, (io.qt.widgets.QStyleOption)null, (io.qt.widgets.QWidget)null, (io.qt.widgets.QStyleHintReturn)null); } /** *

See QStyle::styleHint(QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*)const

*/ @io.qt.QtUninvokable public abstract int styleHint(io.qt.widgets.QStyle.StyleHint stylehint, io.qt.widgets.QStyleOption opt, io.qt.widgets.QWidget widget, io.qt.widgets.QStyleHintReturn returnData); @io.qt.QtUninvokable private native int styleHint_native_QStyle_StyleHint_const_QStyleOption_ptr_const_QWidget_ptr_QStyleHintReturn_ptr_constfct(long __this__nativeId, int stylehint, io.qt.widgets.QStyleOption opt, long widget, long returnData); /** *

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.

*/ @io.qt.QtUninvokable public final io.qt.core.QRect subControlRect(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.widgets.QStyle.SubControl sc) { return subControlRect(cc, opt, sc, (io.qt.widgets.QWidget)null); } /** *

See QStyle::subControlRect(QStyle::ComplexControl,const QStyleOptionComplex*,QStyle::SubControl,const QWidget*)const

*/ @io.qt.QtUninvokable public abstract io.qt.core.QRect subControlRect(io.qt.widgets.QStyle.ComplexControl cc, io.qt.widgets.QStyleOptionComplex opt, io.qt.widgets.QStyle.SubControl sc, io.qt.widgets.QWidget widget); @io.qt.QtUninvokable private native io.qt.core.QRect subControlRect_native_QStyle_ComplexControl_const_QStyleOptionComplex_ptr_QStyle_SubControl_const_QWidget_ptr_constfct(long __this__nativeId, int cc, io.qt.widgets.QStyleOptionComplex opt, int sc, long widget); /** *

Overloaded function for {@link #subElementRect(io.qt.widgets.QStyle.SubElement, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)} * with widget = null.

*/ @io.qt.QtUninvokable public final io.qt.core.QRect subElementRect(io.qt.widgets.QStyle.SubElement subElement, io.qt.widgets.QStyleOption option) { return subElementRect(subElement, option, (io.qt.widgets.QWidget)null); } /** *

See QStyle::subElementRect(QStyle::SubElement,const QStyleOption*,const QWidget*)const

*/ @io.qt.QtUninvokable public abstract io.qt.core.QRect subElementRect(io.qt.widgets.QStyle.SubElement subElement, io.qt.widgets.QStyleOption option, io.qt.widgets.QWidget widget); @io.qt.QtUninvokable private native io.qt.core.QRect subElementRect_native_QStyle_SubElement_const_QStyleOption_ptr_const_QWidget_ptr_constfct(long __this__nativeId, int subElement, io.qt.widgets.QStyleOption option, long widget); /** *

See QStyle::unpolish(QApplication*)

*/ @io.qt.QtUninvokable public void unpolish(io.qt.widgets.QApplication application){ unpolish_native_QApplication_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(application)); } @io.qt.QtUninvokable private native void unpolish_native_QApplication_ptr(long __this__nativeId, long application); /** *

See QStyle::unpolish(QWidget*)

*/ @io.qt.QtUninvokable public void unpolish(io.qt.widgets.QWidget widget){ unpolish_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native void unpolish_native_QWidget_ptr(long __this__nativeId, long widget); /** *

See QStyle::alignedRect(Qt::LayoutDirection,Qt::Alignment,QSize,QRect)

*/ public static io.qt.core.QRect alignedRect(io.qt.core.Qt.LayoutDirection direction, io.qt.core.Qt.Alignment alignment, io.qt.core.QSize size, io.qt.core.QRect rectangle){ return alignedRect_native_Qt_LayoutDirection_QFlags_Qt_AlignmentFlag__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_QFlags_Qt_AlignmentFlag__cref_QSize_cref_QRect(int direction, int alignment, long size, long rectangle); /** *

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); } /** *

See QStyle::sliderPositionFromValue(int,int,int,int,bool)

*/ public native static int sliderPositionFromValue(int min, int max, int val, int space, boolean upsideDown); /** *

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); } /** *

See QStyle::sliderValueFromPosition(int,int,int,int,bool)

*/ public native static int sliderValueFromPosition(int min, int max, int pos, int space, boolean upsideDown); /** *

Overloaded function for {@link #visualAlignment(io.qt.core.Qt.LayoutDirection, io.qt.core.Qt.Alignment)}.

*/ public static io.qt.core.Qt.Alignment visualAlignment(io.qt.core.Qt.LayoutDirection direction, io.qt.core.Qt.AlignmentFlag ... alignment){ return visualAlignment(direction, new io.qt.core.Qt.Alignment(alignment)); } /** *

See QStyle::visualAlignment(Qt::LayoutDirection,Qt::Alignment)

*/ public static io.qt.core.Qt.Alignment visualAlignment(io.qt.core.Qt.LayoutDirection direction, io.qt.core.Qt.Alignment alignment){ return new io.qt.core.Qt.Alignment(visualAlignment_native_Qt_LayoutDirection_QFlags_Qt_AlignmentFlag_(direction.value(), alignment.value())); } private native static int visualAlignment_native_Qt_LayoutDirection_QFlags_Qt_AlignmentFlag_(int direction, int alignment); /** *

See QStyle::visualPos(Qt::LayoutDirection,QRect,QPoint)

*/ public static io.qt.core.QPoint visualPos(io.qt.core.Qt.LayoutDirection direction, io.qt.core.QRect boundingRect, io.qt.core.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.QRect visualRect(io.qt.core.Qt.LayoutDirection direction, io.qt.core.QRect boundingRect, io.qt.core.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. */ @io.qt.NativeAccess protected QStyle(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. */ @io.qt.NativeAccess protected QStyle(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QStyle instance, QDeclarativeConstructor constructor); @io.qt.QtUninvokable private static 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); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy