KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QStyle::PixelMetric

Notation used in Ruby API documentation

Module: QtWidgets

Description: This class represents the QStyle::PixelMetric enum

This class is equivalent to the class QStyle_PixelMetric

Public constructors

new QStyle_PixelMetric ptrnew(int i)Creates an enum from an integer value
new QStyle_PixelMetric ptrnew(string s)Creates an enum from a string value

Public methods

[const]bool!=(const QStyle_PixelMetric other)Compares two enums for inequality
[const]bool!=(int other)Compares an enum with an integer for inequality
[const]bool<(const QStyle_PixelMetric other)Returns true if the first enum is less (in the enum symbol order) than the second
[const]bool<(int other)Returns true if the enum is less (in the enum symbol order) than the integer value
[const]bool==(const QStyle_PixelMetric other)Compares two enums
[const]bool==(int other)Compares an enum with an integer value
[const]QStyle_PixelMetric ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
voidassign(const QStyle_PixelMetric other)Assigns another object to self
[const]new QStyle_PixelMetric ptrdupCreates a copy of self
[const]inthashGets the hash value from the enum
[const]stringinspectConverts an enum to a visual string
[const]intto_iGets the integer value from the enum
[const]stringto_sGets the symbolic string from an enum
[const]QStyle_QFlags_PixelMetric|(const QStyle_PixelMetric other)Creates a flag set by combining the two flags
[const]QStyle_QFlags_PixelMetric|(const QStyle_QFlags_PixelMetric other)Combines the flag and the flag set

Public static methods and constants

[static,const]QStyle_PixelMetricPM_ButtonDefaultIndicatorEnum constant QStyle::PM_ButtonDefaultIndicator
[static,const]QStyle_PixelMetricPM_ButtonIconSizeEnum constant QStyle::PM_ButtonIconSize
[static,const]QStyle_PixelMetricPM_ButtonMarginEnum constant QStyle::PM_ButtonMargin
[static,const]QStyle_PixelMetricPM_ButtonShiftHorizontalEnum constant QStyle::PM_ButtonShiftHorizontal
[static,const]QStyle_PixelMetricPM_ButtonShiftVerticalEnum constant QStyle::PM_ButtonShiftVertical
[static,const]QStyle_PixelMetricPM_CheckBoxLabelSpacingEnum constant QStyle::PM_CheckBoxLabelSpacing
[static,const]QStyle_PixelMetricPM_ComboBoxFrameWidthEnum constant QStyle::PM_ComboBoxFrameWidth
[static,const]QStyle_PixelMetricPM_CustomBaseEnum constant QStyle::PM_CustomBase
[static,const]QStyle_PixelMetricPM_DefaultChildMarginEnum constant QStyle::PM_DefaultChildMargin
[static,const]QStyle_PixelMetricPM_DefaultFrameWidthEnum constant QStyle::PM_DefaultFrameWidth
[static,const]QStyle_PixelMetricPM_DefaultLayoutSpacingEnum constant QStyle::PM_DefaultLayoutSpacing
[static,const]QStyle_PixelMetricPM_DefaultTopLevelMarginEnum constant QStyle::PM_DefaultTopLevelMargin
[static,const]QStyle_PixelMetricPM_DialogButtonsButtonHeightEnum constant QStyle::PM_DialogButtonsButtonHeight
[static,const]QStyle_PixelMetricPM_DialogButtonsButtonWidthEnum constant QStyle::PM_DialogButtonsButtonWidth
[static,const]QStyle_PixelMetricPM_DialogButtonsSeparatorEnum constant QStyle::PM_DialogButtonsSeparator
[static,const]QStyle_PixelMetricPM_DockWidgetFrameWidthEnum constant QStyle::PM_DockWidgetFrameWidth
[static,const]QStyle_PixelMetricPM_DockWidgetHandleExtentEnum constant QStyle::PM_DockWidgetHandleExtent
[static,const]QStyle_PixelMetricPM_DockWidgetSeparatorExtentEnum constant QStyle::PM_DockWidgetSeparatorExtent
[static,const]QStyle_PixelMetricPM_DockWidgetTitleBarButtonMarginEnum constant QStyle::PM_DockWidgetTitleBarButtonMargin
[static,const]QStyle_PixelMetricPM_DockWidgetTitleMarginEnum constant QStyle::PM_DockWidgetTitleMargin
[static,const]QStyle_PixelMetricPM_ExclusiveIndicatorHeightEnum constant QStyle::PM_ExclusiveIndicatorHeight
[static,const]QStyle_PixelMetricPM_ExclusiveIndicatorWidthEnum constant QStyle::PM_ExclusiveIndicatorWidth
[static,const]QStyle_PixelMetricPM_FocusFrameHMarginEnum constant QStyle::PM_FocusFrameHMargin
[static,const]QStyle_PixelMetricPM_FocusFrameVMarginEnum constant QStyle::PM_FocusFrameVMargin
[static,const]QStyle_PixelMetricPM_HeaderDefaultSectionSizeHorizontalEnum constant QStyle::PM_HeaderDefaultSectionSizeHorizontal
[static,const]QStyle_PixelMetricPM_HeaderDefaultSectionSizeVerticalEnum constant QStyle::PM_HeaderDefaultSectionSizeVertical
[static,const]QStyle_PixelMetricPM_HeaderGripMarginEnum constant QStyle::PM_HeaderGripMargin
[static,const]QStyle_PixelMetricPM_HeaderMarginEnum constant QStyle::PM_HeaderMargin
[static,const]QStyle_PixelMetricPM_HeaderMarkSizeEnum constant QStyle::PM_HeaderMarkSize
[static,const]QStyle_PixelMetricPM_IconViewIconSizeEnum constant QStyle::PM_IconViewIconSize
[static,const]QStyle_PixelMetricPM_IndicatorHeightEnum constant QStyle::PM_IndicatorHeight
[static,const]QStyle_PixelMetricPM_IndicatorWidthEnum constant QStyle::PM_IndicatorWidth
[static,const]QStyle_PixelMetricPM_LargeIconSizeEnum constant QStyle::PM_LargeIconSize
[static,const]QStyle_PixelMetricPM_LayoutBottomMarginEnum constant QStyle::PM_LayoutBottomMargin
[static,const]QStyle_PixelMetricPM_LayoutHorizontalSpacingEnum constant QStyle::PM_LayoutHorizontalSpacing
[static,const]QStyle_PixelMetricPM_LayoutLeftMarginEnum constant QStyle::PM_LayoutLeftMargin
[static,const]QStyle_PixelMetricPM_LayoutRightMarginEnum constant QStyle::PM_LayoutRightMargin
[static,const]QStyle_PixelMetricPM_LayoutTopMarginEnum constant QStyle::PM_LayoutTopMargin
[static,const]QStyle_PixelMetricPM_LayoutVerticalSpacingEnum constant QStyle::PM_LayoutVerticalSpacing
[static,const]QStyle_PixelMetricPM_ListViewIconSizeEnum constant QStyle::PM_ListViewIconSize
[static,const]QStyle_PixelMetricPM_MDIFrameWidthEnum constant QStyle::PM_MDIFrameWidth
[static,const]QStyle_PixelMetricPM_MDIMinimizedWidthEnum constant QStyle::PM_MDIMinimizedWidth
[static,const]QStyle_PixelMetricPM_MaximumDragDistanceEnum constant QStyle::PM_MaximumDragDistance
[static,const]QStyle_PixelMetricPM_MdiSubWindowFrameWidthEnum constant QStyle::PM_MdiSubWindowFrameWidth
[static,const]QStyle_PixelMetricPM_MdiSubWindowMinimizedWidthEnum constant QStyle::PM_MdiSubWindowMinimizedWidth
[static,const]QStyle_PixelMetricPM_MenuBarHMarginEnum constant QStyle::PM_MenuBarHMargin
[static,const]QStyle_PixelMetricPM_MenuBarItemSpacingEnum constant QStyle::PM_MenuBarItemSpacing
[static,const]QStyle_PixelMetricPM_MenuBarPanelWidthEnum constant QStyle::PM_MenuBarPanelWidth
[static,const]QStyle_PixelMetricPM_MenuBarVMarginEnum constant QStyle::PM_MenuBarVMargin
[static,const]QStyle_PixelMetricPM_MenuButtonIndicatorEnum constant QStyle::PM_MenuButtonIndicator
[static,const]QStyle_PixelMetricPM_MenuDesktopFrameWidthEnum constant QStyle::PM_MenuDesktopFrameWidth
[static,const]QStyle_PixelMetricPM_MenuHMarginEnum constant QStyle::PM_MenuHMargin
[static,const]QStyle_PixelMetricPM_MenuPanelWidthEnum constant QStyle::PM_MenuPanelWidth
[static,const]QStyle_PixelMetricPM_MenuScrollerHeightEnum constant QStyle::PM_MenuScrollerHeight
[static,const]QStyle_PixelMetricPM_MenuTearoffHeightEnum constant QStyle::PM_MenuTearoffHeight
[static,const]QStyle_PixelMetricPM_MenuVMarginEnum constant QStyle::PM_MenuVMargin
[static,const]QStyle_PixelMetricPM_MessageBoxIconSizeEnum constant QStyle::PM_MessageBoxIconSize
[static,const]QStyle_PixelMetricPM_ProgressBarChunkWidthEnum constant QStyle::PM_ProgressBarChunkWidth
[static,const]QStyle_PixelMetricPM_RadioButtonLabelSpacingEnum constant QStyle::PM_RadioButtonLabelSpacing
[static,const]QStyle_PixelMetricPM_ScrollBarExtentEnum constant QStyle::PM_ScrollBarExtent
[static,const]QStyle_PixelMetricPM_ScrollBarSliderMinEnum constant QStyle::PM_ScrollBarSliderMin
[static,const]QStyle_PixelMetricPM_ScrollView_ScrollBarOverlapEnum constant QStyle::PM_ScrollView_ScrollBarOverlap
[static,const]QStyle_PixelMetricPM_ScrollView_ScrollBarSpacingEnum constant QStyle::PM_ScrollView_ScrollBarSpacing
[static,const]QStyle_PixelMetricPM_SizeGripSizeEnum constant QStyle::PM_SizeGripSize
[static,const]QStyle_PixelMetricPM_SliderControlThicknessEnum constant QStyle::PM_SliderControlThickness
[static,const]QStyle_PixelMetricPM_SliderLengthEnum constant QStyle::PM_SliderLength
[static,const]QStyle_PixelMetricPM_SliderSpaceAvailableEnum constant QStyle::PM_SliderSpaceAvailable
[static,const]QStyle_PixelMetricPM_SliderThicknessEnum constant QStyle::PM_SliderThickness
[static,const]QStyle_PixelMetricPM_SliderTickmarkOffsetEnum constant QStyle::PM_SliderTickmarkOffset
[static,const]QStyle_PixelMetricPM_SmallIconSizeEnum constant QStyle::PM_SmallIconSize
[static,const]QStyle_PixelMetricPM_SpinBoxFrameWidthEnum constant QStyle::PM_SpinBoxFrameWidth
[static,const]QStyle_PixelMetricPM_SpinBoxSliderHeightEnum constant QStyle::PM_SpinBoxSliderHeight
[static,const]QStyle_PixelMetricPM_SplitterWidthEnum constant QStyle::PM_SplitterWidth
[static,const]QStyle_PixelMetricPM_SubMenuOverlapEnum constant QStyle::PM_SubMenuOverlap
[static,const]QStyle_PixelMetricPM_TabBarBaseHeightEnum constant QStyle::PM_TabBarBaseHeight
[static,const]QStyle_PixelMetricPM_TabBarBaseOverlapEnum constant QStyle::PM_TabBarBaseOverlap
[static,const]QStyle_PixelMetricPM_TabBarIconSizeEnum constant QStyle::PM_TabBarIconSize
[static,const]QStyle_PixelMetricPM_TabBarScrollButtonWidthEnum constant QStyle::PM_TabBarScrollButtonWidth
[static,const]QStyle_PixelMetricPM_TabBarTabHSpaceEnum constant QStyle::PM_TabBarTabHSpace
[static,const]QStyle_PixelMetricPM_TabBarTabOverlapEnum constant QStyle::PM_TabBarTabOverlap
[static,const]QStyle_PixelMetricPM_TabBarTabShiftHorizontalEnum constant QStyle::PM_TabBarTabShiftHorizontal
[static,const]QStyle_PixelMetricPM_TabBarTabShiftVerticalEnum constant QStyle::PM_TabBarTabShiftVertical
[static,const]QStyle_PixelMetricPM_TabBarTabVSpaceEnum constant QStyle::PM_TabBarTabVSpace
[static,const]QStyle_PixelMetricPM_TabBar_ScrollButtonOverlapEnum constant QStyle::PM_TabBar_ScrollButtonOverlap
[static,const]QStyle_PixelMetricPM_TabCloseIndicatorHeightEnum constant QStyle::PM_TabCloseIndicatorHeight
[static,const]QStyle_PixelMetricPM_TabCloseIndicatorWidthEnum constant QStyle::PM_TabCloseIndicatorWidth
[static,const]QStyle_PixelMetricPM_TextCursorWidthEnum constant QStyle::PM_TextCursorWidth
[static,const]QStyle_PixelMetricPM_TitleBarButtonIconSizeEnum constant QStyle::PM_TitleBarButtonIconSize
[static,const]QStyle_PixelMetricPM_TitleBarButtonSizeEnum constant QStyle::PM_TitleBarButtonSize
[static,const]QStyle_PixelMetricPM_TitleBarHeightEnum constant QStyle::PM_TitleBarHeight
[static,const]QStyle_PixelMetricPM_ToolBarExtensionExtentEnum constant QStyle::PM_ToolBarExtensionExtent
[static,const]QStyle_PixelMetricPM_ToolBarFrameWidthEnum constant QStyle::PM_ToolBarFrameWidth
[static,const]QStyle_PixelMetricPM_ToolBarHandleExtentEnum constant QStyle::PM_ToolBarHandleExtent
[static,const]QStyle_PixelMetricPM_ToolBarIconSizeEnum constant QStyle::PM_ToolBarIconSize
[static,const]QStyle_PixelMetricPM_ToolBarItemMarginEnum constant QStyle::PM_ToolBarItemMargin
[static,const]QStyle_PixelMetricPM_ToolBarItemSpacingEnum constant QStyle::PM_ToolBarItemSpacing
[static,const]QStyle_PixelMetricPM_ToolBarSeparatorExtentEnum constant QStyle::PM_ToolBarSeparatorExtent
[static,const]QStyle_PixelMetricPM_ToolTipLabelFrameWidthEnum constant QStyle::PM_ToolTipLabelFrameWidth
[static,const]QStyle_PixelMetricPM_TreeViewIndentationEnum constant QStyle::PM_TreeViewIndentation

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]booldestroyed?Use of this method is deprecated. Use _destroyed? instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

!=

(1) Signature: [const] bool != (const QStyle_PixelMetric other)

Description: Compares two enums for inequality

(2) Signature: [const] bool != (int other)

Description: Compares an enum with an integer for inequality

<

(1) Signature: [const] bool < (const QStyle_PixelMetric other)

Description: Returns true if the first enum is less (in the enum symbol order) than the second

(2) Signature: [const] bool < (int other)

Description: Returns true if the enum is less (in the enum symbol order) than the integer value

==

(1) Signature: [const] bool == (const QStyle_PixelMetric other)

Description: Compares two enums

(2) Signature: [const] bool == (int other)

Description: Compares an enum with an integer value

PM_ButtonDefaultIndicator

Signature: [static,const] QStyle_PixelMetric PM_ButtonDefaultIndicator

Description: Enum constant QStyle::PM_ButtonDefaultIndicator

Python specific notes:
The object exposes a readable attribute 'PM_ButtonDefaultIndicator'. This is the getter.

PM_ButtonIconSize

Signature: [static,const] QStyle_PixelMetric PM_ButtonIconSize

Description: Enum constant QStyle::PM_ButtonIconSize

Python specific notes:
The object exposes a readable attribute 'PM_ButtonIconSize'. This is the getter.

PM_ButtonMargin

Signature: [static,const] QStyle_PixelMetric PM_ButtonMargin

Description: Enum constant QStyle::PM_ButtonMargin

Python specific notes:
The object exposes a readable attribute 'PM_ButtonMargin'. This is the getter.

PM_ButtonShiftHorizontal

Signature: [static,const] QStyle_PixelMetric PM_ButtonShiftHorizontal

Description: Enum constant QStyle::PM_ButtonShiftHorizontal

Python specific notes:
The object exposes a readable attribute 'PM_ButtonShiftHorizontal'. This is the getter.

PM_ButtonShiftVertical

Signature: [static,const] QStyle_PixelMetric PM_ButtonShiftVertical

Description: Enum constant QStyle::PM_ButtonShiftVertical

Python specific notes:
The object exposes a readable attribute 'PM_ButtonShiftVertical'. This is the getter.

PM_CheckBoxLabelSpacing

Signature: [static,const] QStyle_PixelMetric PM_CheckBoxLabelSpacing

Description: Enum constant QStyle::PM_CheckBoxLabelSpacing

Python specific notes:
The object exposes a readable attribute 'PM_CheckBoxLabelSpacing'. This is the getter.

PM_ComboBoxFrameWidth

Signature: [static,const] QStyle_PixelMetric PM_ComboBoxFrameWidth

Description: Enum constant QStyle::PM_ComboBoxFrameWidth

Python specific notes:
The object exposes a readable attribute 'PM_ComboBoxFrameWidth'. This is the getter.

PM_CustomBase

Signature: [static,const] QStyle_PixelMetric PM_CustomBase

Description: Enum constant QStyle::PM_CustomBase

Python specific notes:
The object exposes a readable attribute 'PM_CustomBase'. This is the getter.

PM_DefaultChildMargin

Signature: [static,const] QStyle_PixelMetric PM_DefaultChildMargin

Description: Enum constant QStyle::PM_DefaultChildMargin

Python specific notes:
The object exposes a readable attribute 'PM_DefaultChildMargin'. This is the getter.

PM_DefaultFrameWidth

Signature: [static,const] QStyle_PixelMetric PM_DefaultFrameWidth

Description: Enum constant QStyle::PM_DefaultFrameWidth

Python specific notes:
The object exposes a readable attribute 'PM_DefaultFrameWidth'. This is the getter.

PM_DefaultLayoutSpacing

Signature: [static,const] QStyle_PixelMetric PM_DefaultLayoutSpacing

Description: Enum constant QStyle::PM_DefaultLayoutSpacing

Python specific notes:
The object exposes a readable attribute 'PM_DefaultLayoutSpacing'. This is the getter.

PM_DefaultTopLevelMargin

Signature: [static,const] QStyle_PixelMetric PM_DefaultTopLevelMargin

Description: Enum constant QStyle::PM_DefaultTopLevelMargin

Python specific notes:
The object exposes a readable attribute 'PM_DefaultTopLevelMargin'. This is the getter.

PM_DialogButtonsButtonHeight

Signature: [static,const] QStyle_PixelMetric PM_DialogButtonsButtonHeight

Description: Enum constant QStyle::PM_DialogButtonsButtonHeight

Python specific notes:
The object exposes a readable attribute 'PM_DialogButtonsButtonHeight'. This is the getter.

PM_DialogButtonsButtonWidth

Signature: [static,const] QStyle_PixelMetric PM_DialogButtonsButtonWidth

Description: Enum constant QStyle::PM_DialogButtonsButtonWidth

Python specific notes:
The object exposes a readable attribute 'PM_DialogButtonsButtonWidth'. This is the getter.

PM_DialogButtonsSeparator

Signature: [static,const] QStyle_PixelMetric PM_DialogButtonsSeparator

Description: Enum constant QStyle::PM_DialogButtonsSeparator

Python specific notes:
The object exposes a readable attribute 'PM_DialogButtonsSeparator'. This is the getter.

PM_DockWidgetFrameWidth

Signature: [static,const] QStyle_PixelMetric PM_DockWidgetFrameWidth

Description: Enum constant QStyle::PM_DockWidgetFrameWidth

Python specific notes:
The object exposes a readable attribute 'PM_DockWidgetFrameWidth'. This is the getter.

PM_DockWidgetHandleExtent

Signature: [static,const] QStyle_PixelMetric PM_DockWidgetHandleExtent

Description: Enum constant QStyle::PM_DockWidgetHandleExtent

Python specific notes:
The object exposes a readable attribute 'PM_DockWidgetHandleExtent'. This is the getter.

PM_DockWidgetSeparatorExtent

Signature: [static,const] QStyle_PixelMetric PM_DockWidgetSeparatorExtent

Description: Enum constant QStyle::PM_DockWidgetSeparatorExtent

Python specific notes:
The object exposes a readable attribute 'PM_DockWidgetSeparatorExtent'. This is the getter.

PM_DockWidgetTitleBarButtonMargin

Signature: [static,const] QStyle_PixelMetric PM_DockWidgetTitleBarButtonMargin

Description: Enum constant QStyle::PM_DockWidgetTitleBarButtonMargin

Python specific notes:
The object exposes a readable attribute 'PM_DockWidgetTitleBarButtonMargin'. This is the getter.

PM_DockWidgetTitleMargin

Signature: [static,const] QStyle_PixelMetric PM_DockWidgetTitleMargin

Description: Enum constant QStyle::PM_DockWidgetTitleMargin

Python specific notes:
The object exposes a readable attribute 'PM_DockWidgetTitleMargin'. This is the getter.

PM_ExclusiveIndicatorHeight

Signature: [static,const] QStyle_PixelMetric PM_ExclusiveIndicatorHeight

Description: Enum constant QStyle::PM_ExclusiveIndicatorHeight

Python specific notes:
The object exposes a readable attribute 'PM_ExclusiveIndicatorHeight'. This is the getter.

PM_ExclusiveIndicatorWidth

Signature: [static,const] QStyle_PixelMetric PM_ExclusiveIndicatorWidth

Description: Enum constant QStyle::PM_ExclusiveIndicatorWidth

Python specific notes:
The object exposes a readable attribute 'PM_ExclusiveIndicatorWidth'. This is the getter.

PM_FocusFrameHMargin

Signature: [static,const] QStyle_PixelMetric PM_FocusFrameHMargin

Description: Enum constant QStyle::PM_FocusFrameHMargin

Python specific notes:
The object exposes a readable attribute 'PM_FocusFrameHMargin'. This is the getter.

PM_FocusFrameVMargin

Signature: [static,const] QStyle_PixelMetric PM_FocusFrameVMargin

Description: Enum constant QStyle::PM_FocusFrameVMargin

Python specific notes:
The object exposes a readable attribute 'PM_FocusFrameVMargin'. This is the getter.

PM_HeaderDefaultSectionSizeHorizontal

Signature: [static,const] QStyle_PixelMetric PM_HeaderDefaultSectionSizeHorizontal

Description: Enum constant QStyle::PM_HeaderDefaultSectionSizeHorizontal

Python specific notes:
The object exposes a readable attribute 'PM_HeaderDefaultSectionSizeHorizontal'. This is the getter.

PM_HeaderDefaultSectionSizeVertical

Signature: [static,const] QStyle_PixelMetric PM_HeaderDefaultSectionSizeVertical

Description: Enum constant QStyle::PM_HeaderDefaultSectionSizeVertical

Python specific notes:
The object exposes a readable attribute 'PM_HeaderDefaultSectionSizeVertical'. This is the getter.

PM_HeaderGripMargin

Signature: [static,const] QStyle_PixelMetric PM_HeaderGripMargin

Description: Enum constant QStyle::PM_HeaderGripMargin

Python specific notes:
The object exposes a readable attribute 'PM_HeaderGripMargin'. This is the getter.

PM_HeaderMargin

Signature: [static,const] QStyle_PixelMetric PM_HeaderMargin

Description: Enum constant QStyle::PM_HeaderMargin

Python specific notes:
The object exposes a readable attribute 'PM_HeaderMargin'. This is the getter.

PM_HeaderMarkSize

Signature: [static,const] QStyle_PixelMetric PM_HeaderMarkSize

Description: Enum constant QStyle::PM_HeaderMarkSize

Python specific notes:
The object exposes a readable attribute 'PM_HeaderMarkSize'. This is the getter.

PM_IconViewIconSize

Signature: [static,const] QStyle_PixelMetric PM_IconViewIconSize

Description: Enum constant QStyle::PM_IconViewIconSize

Python specific notes:
The object exposes a readable attribute 'PM_IconViewIconSize'. This is the getter.

PM_IndicatorHeight

Signature: [static,const] QStyle_PixelMetric PM_IndicatorHeight

Description: Enum constant QStyle::PM_IndicatorHeight

Python specific notes:
The object exposes a readable attribute 'PM_IndicatorHeight'. This is the getter.

PM_IndicatorWidth

Signature: [static,const] QStyle_PixelMetric PM_IndicatorWidth

Description: Enum constant QStyle::PM_IndicatorWidth

Python specific notes:
The object exposes a readable attribute 'PM_IndicatorWidth'. This is the getter.

PM_LargeIconSize

Signature: [static,const] QStyle_PixelMetric PM_LargeIconSize

Description: Enum constant QStyle::PM_LargeIconSize

Python specific notes:
The object exposes a readable attribute 'PM_LargeIconSize'. This is the getter.

PM_LayoutBottomMargin

Signature: [static,const] QStyle_PixelMetric PM_LayoutBottomMargin

Description: Enum constant QStyle::PM_LayoutBottomMargin

Python specific notes:
The object exposes a readable attribute 'PM_LayoutBottomMargin'. This is the getter.

PM_LayoutHorizontalSpacing

Signature: [static,const] QStyle_PixelMetric PM_LayoutHorizontalSpacing

Description: Enum constant QStyle::PM_LayoutHorizontalSpacing

Python specific notes:
The object exposes a readable attribute 'PM_LayoutHorizontalSpacing'. This is the getter.

PM_LayoutLeftMargin

Signature: [static,const] QStyle_PixelMetric PM_LayoutLeftMargin

Description: Enum constant QStyle::PM_LayoutLeftMargin

Python specific notes:
The object exposes a readable attribute 'PM_LayoutLeftMargin'. This is the getter.

PM_LayoutRightMargin

Signature: [static,const] QStyle_PixelMetric PM_LayoutRightMargin

Description: Enum constant QStyle::PM_LayoutRightMargin

Python specific notes:
The object exposes a readable attribute 'PM_LayoutRightMargin'. This is the getter.

PM_LayoutTopMargin

Signature: [static,const] QStyle_PixelMetric PM_LayoutTopMargin

Description: Enum constant QStyle::PM_LayoutTopMargin

Python specific notes:
The object exposes a readable attribute 'PM_LayoutTopMargin'. This is the getter.

PM_LayoutVerticalSpacing

Signature: [static,const] QStyle_PixelMetric PM_LayoutVerticalSpacing

Description: Enum constant QStyle::PM_LayoutVerticalSpacing

Python specific notes:
The object exposes a readable attribute 'PM_LayoutVerticalSpacing'. This is the getter.

PM_ListViewIconSize

Signature: [static,const] QStyle_PixelMetric PM_ListViewIconSize

Description: Enum constant QStyle::PM_ListViewIconSize

Python specific notes:
The object exposes a readable attribute 'PM_ListViewIconSize'. This is the getter.

PM_MDIFrameWidth

Signature: [static,const] QStyle_PixelMetric PM_MDIFrameWidth

Description: Enum constant QStyle::PM_MDIFrameWidth

Python specific notes:
The object exposes a readable attribute 'PM_MDIFrameWidth'. This is the getter.

PM_MDIMinimizedWidth

Signature: [static,const] QStyle_PixelMetric PM_MDIMinimizedWidth

Description: Enum constant QStyle::PM_MDIMinimizedWidth

Python specific notes:
The object exposes a readable attribute 'PM_MDIMinimizedWidth'. This is the getter.

PM_MaximumDragDistance

Signature: [static,const] QStyle_PixelMetric PM_MaximumDragDistance

Description: Enum constant QStyle::PM_MaximumDragDistance

Python specific notes:
The object exposes a readable attribute 'PM_MaximumDragDistance'. This is the getter.

PM_MdiSubWindowFrameWidth

Signature: [static,const] QStyle_PixelMetric PM_MdiSubWindowFrameWidth

Description: Enum constant QStyle::PM_MdiSubWindowFrameWidth

Python specific notes:
The object exposes a readable attribute 'PM_MdiSubWindowFrameWidth'. This is the getter.

PM_MdiSubWindowMinimizedWidth

Signature: [static,const] QStyle_PixelMetric PM_MdiSubWindowMinimizedWidth

Description: Enum constant QStyle::PM_MdiSubWindowMinimizedWidth

Python specific notes:
The object exposes a readable attribute 'PM_MdiSubWindowMinimizedWidth'. This is the getter.

PM_MenuBarHMargin

Signature: [static,const] QStyle_PixelMetric PM_MenuBarHMargin

Description: Enum constant QStyle::PM_MenuBarHMargin

Python specific notes:
The object exposes a readable attribute 'PM_MenuBarHMargin'. This is the getter.

PM_MenuBarItemSpacing

Signature: [static,const] QStyle_PixelMetric PM_MenuBarItemSpacing

Description: Enum constant QStyle::PM_MenuBarItemSpacing

Python specific notes:
The object exposes a readable attribute 'PM_MenuBarItemSpacing'. This is the getter.

PM_MenuBarPanelWidth

Signature: [static,const] QStyle_PixelMetric PM_MenuBarPanelWidth

Description: Enum constant QStyle::PM_MenuBarPanelWidth

Python specific notes:
The object exposes a readable attribute 'PM_MenuBarPanelWidth'. This is the getter.

PM_MenuBarVMargin

Signature: [static,const] QStyle_PixelMetric PM_MenuBarVMargin

Description: Enum constant QStyle::PM_MenuBarVMargin

Python specific notes:
The object exposes a readable attribute 'PM_MenuBarVMargin'. This is the getter.

PM_MenuButtonIndicator

Signature: [static,const] QStyle_PixelMetric PM_MenuButtonIndicator

Description: Enum constant QStyle::PM_MenuButtonIndicator

Python specific notes:
The object exposes a readable attribute 'PM_MenuButtonIndicator'. This is the getter.

PM_MenuDesktopFrameWidth

Signature: [static,const] QStyle_PixelMetric PM_MenuDesktopFrameWidth

Description: Enum constant QStyle::PM_MenuDesktopFrameWidth

Python specific notes:
The object exposes a readable attribute 'PM_MenuDesktopFrameWidth'. This is the getter.

PM_MenuHMargin

Signature: [static,const] QStyle_PixelMetric PM_MenuHMargin

Description: Enum constant QStyle::PM_MenuHMargin

Python specific notes:
The object exposes a readable attribute 'PM_MenuHMargin'. This is the getter.

PM_MenuPanelWidth

Signature: [static,const] QStyle_PixelMetric PM_MenuPanelWidth

Description: Enum constant QStyle::PM_MenuPanelWidth

Python specific notes:
The object exposes a readable attribute 'PM_MenuPanelWidth'. This is the getter.

PM_MenuScrollerHeight

Signature: [static,const] QStyle_PixelMetric PM_MenuScrollerHeight

Description: Enum constant QStyle::PM_MenuScrollerHeight

Python specific notes:
The object exposes a readable attribute 'PM_MenuScrollerHeight'. This is the getter.

PM_MenuTearoffHeight

Signature: [static,const] QStyle_PixelMetric PM_MenuTearoffHeight

Description: Enum constant QStyle::PM_MenuTearoffHeight

Python specific notes:
The object exposes a readable attribute 'PM_MenuTearoffHeight'. This is the getter.

PM_MenuVMargin

Signature: [static,const] QStyle_PixelMetric PM_MenuVMargin

Description: Enum constant QStyle::PM_MenuVMargin

Python specific notes:
The object exposes a readable attribute 'PM_MenuVMargin'. This is the getter.

PM_MessageBoxIconSize

Signature: [static,const] QStyle_PixelMetric PM_MessageBoxIconSize

Description: Enum constant QStyle::PM_MessageBoxIconSize

Python specific notes:
The object exposes a readable attribute 'PM_MessageBoxIconSize'. This is the getter.

PM_ProgressBarChunkWidth

Signature: [static,const] QStyle_PixelMetric PM_ProgressBarChunkWidth

Description: Enum constant QStyle::PM_ProgressBarChunkWidth

Python specific notes:
The object exposes a readable attribute 'PM_ProgressBarChunkWidth'. This is the getter.

PM_RadioButtonLabelSpacing

Signature: [static,const] QStyle_PixelMetric PM_RadioButtonLabelSpacing

Description: Enum constant QStyle::PM_RadioButtonLabelSpacing

Python specific notes:
The object exposes a readable attribute 'PM_RadioButtonLabelSpacing'. This is the getter.

PM_ScrollBarExtent

Signature: [static,const] QStyle_PixelMetric PM_ScrollBarExtent

Description: Enum constant QStyle::PM_ScrollBarExtent

Python specific notes:
The object exposes a readable attribute 'PM_ScrollBarExtent'. This is the getter.

PM_ScrollBarSliderMin

Signature: [static,const] QStyle_PixelMetric PM_ScrollBarSliderMin

Description: Enum constant QStyle::PM_ScrollBarSliderMin

Python specific notes:
The object exposes a readable attribute 'PM_ScrollBarSliderMin'. This is the getter.

PM_ScrollView_ScrollBarOverlap

Signature: [static,const] QStyle_PixelMetric PM_ScrollView_ScrollBarOverlap

Description: Enum constant QStyle::PM_ScrollView_ScrollBarOverlap

Python specific notes:
The object exposes a readable attribute 'PM_ScrollView_ScrollBarOverlap'. This is the getter.

PM_ScrollView_ScrollBarSpacing

Signature: [static,const] QStyle_PixelMetric PM_ScrollView_ScrollBarSpacing

Description: Enum constant QStyle::PM_ScrollView_ScrollBarSpacing

Python specific notes:
The object exposes a readable attribute 'PM_ScrollView_ScrollBarSpacing'. This is the getter.

PM_SizeGripSize

Signature: [static,const] QStyle_PixelMetric PM_SizeGripSize

Description: Enum constant QStyle::PM_SizeGripSize

Python specific notes:
The object exposes a readable attribute 'PM_SizeGripSize'. This is the getter.

PM_SliderControlThickness

Signature: [static,const] QStyle_PixelMetric PM_SliderControlThickness

Description: Enum constant QStyle::PM_SliderControlThickness

Python specific notes:
The object exposes a readable attribute 'PM_SliderControlThickness'. This is the getter.

PM_SliderLength

Signature: [static,const] QStyle_PixelMetric PM_SliderLength

Description: Enum constant QStyle::PM_SliderLength

Python specific notes:
The object exposes a readable attribute 'PM_SliderLength'. This is the getter.

PM_SliderSpaceAvailable

Signature: [static,const] QStyle_PixelMetric PM_SliderSpaceAvailable

Description: Enum constant QStyle::PM_SliderSpaceAvailable

Python specific notes:
The object exposes a readable attribute 'PM_SliderSpaceAvailable'. This is the getter.

PM_SliderThickness

Signature: [static,const] QStyle_PixelMetric PM_SliderThickness

Description: Enum constant QStyle::PM_SliderThickness

Python specific notes:
The object exposes a readable attribute 'PM_SliderThickness'. This is the getter.

PM_SliderTickmarkOffset

Signature: [static,const] QStyle_PixelMetric PM_SliderTickmarkOffset

Description: Enum constant QStyle::PM_SliderTickmarkOffset

Python specific notes:
The object exposes a readable attribute 'PM_SliderTickmarkOffset'. This is the getter.

PM_SmallIconSize

Signature: [static,const] QStyle_PixelMetric PM_SmallIconSize

Description: Enum constant QStyle::PM_SmallIconSize

Python specific notes:
The object exposes a readable attribute 'PM_SmallIconSize'. This is the getter.

PM_SpinBoxFrameWidth

Signature: [static,const] QStyle_PixelMetric PM_SpinBoxFrameWidth

Description: Enum constant QStyle::PM_SpinBoxFrameWidth

Python specific notes:
The object exposes a readable attribute 'PM_SpinBoxFrameWidth'. This is the getter.

PM_SpinBoxSliderHeight

Signature: [static,const] QStyle_PixelMetric PM_SpinBoxSliderHeight

Description: Enum constant QStyle::PM_SpinBoxSliderHeight

Python specific notes:
The object exposes a readable attribute 'PM_SpinBoxSliderHeight'. This is the getter.

PM_SplitterWidth

Signature: [static,const] QStyle_PixelMetric PM_SplitterWidth

Description: Enum constant QStyle::PM_SplitterWidth

Python specific notes:
The object exposes a readable attribute 'PM_SplitterWidth'. This is the getter.

PM_SubMenuOverlap

Signature: [static,const] QStyle_PixelMetric PM_SubMenuOverlap

Description: Enum constant QStyle::PM_SubMenuOverlap

Python specific notes:
The object exposes a readable attribute 'PM_SubMenuOverlap'. This is the getter.

PM_TabBarBaseHeight

Signature: [static,const] QStyle_PixelMetric PM_TabBarBaseHeight

Description: Enum constant QStyle::PM_TabBarBaseHeight

Python specific notes:
The object exposes a readable attribute 'PM_TabBarBaseHeight'. This is the getter.

PM_TabBarBaseOverlap

Signature: [static,const] QStyle_PixelMetric PM_TabBarBaseOverlap

Description: Enum constant QStyle::PM_TabBarBaseOverlap

Python specific notes:
The object exposes a readable attribute 'PM_TabBarBaseOverlap'. This is the getter.

PM_TabBarIconSize

Signature: [static,const] QStyle_PixelMetric PM_TabBarIconSize

Description: Enum constant QStyle::PM_TabBarIconSize

Python specific notes:
The object exposes a readable attribute 'PM_TabBarIconSize'. This is the getter.

PM_TabBarScrollButtonWidth

Signature: [static,const] QStyle_PixelMetric PM_TabBarScrollButtonWidth

Description: Enum constant QStyle::PM_TabBarScrollButtonWidth

Python specific notes:
The object exposes a readable attribute 'PM_TabBarScrollButtonWidth'. This is the getter.

PM_TabBarTabHSpace

Signature: [static,const] QStyle_PixelMetric PM_TabBarTabHSpace

Description: Enum constant QStyle::PM_TabBarTabHSpace

Python specific notes:
The object exposes a readable attribute 'PM_TabBarTabHSpace'. This is the getter.

PM_TabBarTabOverlap

Signature: [static,const] QStyle_PixelMetric PM_TabBarTabOverlap

Description: Enum constant QStyle::PM_TabBarTabOverlap

Python specific notes:
The object exposes a readable attribute 'PM_TabBarTabOverlap'. This is the getter.

PM_TabBarTabShiftHorizontal

Signature: [static,const] QStyle_PixelMetric PM_TabBarTabShiftHorizontal

Description: Enum constant QStyle::PM_TabBarTabShiftHorizontal

Python specific notes:
The object exposes a readable attribute 'PM_TabBarTabShiftHorizontal'. This is the getter.

PM_TabBarTabShiftVertical

Signature: [static,const] QStyle_PixelMetric PM_TabBarTabShiftVertical

Description: Enum constant QStyle::PM_TabBarTabShiftVertical

Python specific notes:
The object exposes a readable attribute 'PM_TabBarTabShiftVertical'. This is the getter.

PM_TabBarTabVSpace

Signature: [static,const] QStyle_PixelMetric PM_TabBarTabVSpace

Description: Enum constant QStyle::PM_TabBarTabVSpace

Python specific notes:
The object exposes a readable attribute 'PM_TabBarTabVSpace'. This is the getter.

PM_TabBar_ScrollButtonOverlap

Signature: [static,const] QStyle_PixelMetric PM_TabBar_ScrollButtonOverlap

Description: Enum constant QStyle::PM_TabBar_ScrollButtonOverlap

Python specific notes:
The object exposes a readable attribute 'PM_TabBar_ScrollButtonOverlap'. This is the getter.

PM_TabCloseIndicatorHeight

Signature: [static,const] QStyle_PixelMetric PM_TabCloseIndicatorHeight

Description: Enum constant QStyle::PM_TabCloseIndicatorHeight

Python specific notes:
The object exposes a readable attribute 'PM_TabCloseIndicatorHeight'. This is the getter.

PM_TabCloseIndicatorWidth

Signature: [static,const] QStyle_PixelMetric PM_TabCloseIndicatorWidth

Description: Enum constant QStyle::PM_TabCloseIndicatorWidth

Python specific notes:
The object exposes a readable attribute 'PM_TabCloseIndicatorWidth'. This is the getter.

PM_TextCursorWidth

Signature: [static,const] QStyle_PixelMetric PM_TextCursorWidth

Description: Enum constant QStyle::PM_TextCursorWidth

Python specific notes:
The object exposes a readable attribute 'PM_TextCursorWidth'. This is the getter.

PM_TitleBarButtonIconSize

Signature: [static,const] QStyle_PixelMetric PM_TitleBarButtonIconSize

Description: Enum constant QStyle::PM_TitleBarButtonIconSize

Python specific notes:
The object exposes a readable attribute 'PM_TitleBarButtonIconSize'. This is the getter.

PM_TitleBarButtonSize

Signature: [static,const] QStyle_PixelMetric PM_TitleBarButtonSize

Description: Enum constant QStyle::PM_TitleBarButtonSize

Python specific notes:
The object exposes a readable attribute 'PM_TitleBarButtonSize'. This is the getter.

PM_TitleBarHeight

Signature: [static,const] QStyle_PixelMetric PM_TitleBarHeight

Description: Enum constant QStyle::PM_TitleBarHeight

Python specific notes:
The object exposes a readable attribute 'PM_TitleBarHeight'. This is the getter.

PM_ToolBarExtensionExtent

Signature: [static,const] QStyle_PixelMetric PM_ToolBarExtensionExtent

Description: Enum constant QStyle::PM_ToolBarExtensionExtent

Python specific notes:
The object exposes a readable attribute 'PM_ToolBarExtensionExtent'. This is the getter.

PM_ToolBarFrameWidth

Signature: [static,const] QStyle_PixelMetric PM_ToolBarFrameWidth

Description: Enum constant QStyle::PM_ToolBarFrameWidth

Python specific notes:
The object exposes a readable attribute 'PM_ToolBarFrameWidth'. This is the getter.

PM_ToolBarHandleExtent

Signature: [static,const] QStyle_PixelMetric PM_ToolBarHandleExtent

Description: Enum constant QStyle::PM_ToolBarHandleExtent

Python specific notes:
The object exposes a readable attribute 'PM_ToolBarHandleExtent'. This is the getter.

PM_ToolBarIconSize

Signature: [static,const] QStyle_PixelMetric PM_ToolBarIconSize

Description: Enum constant QStyle::PM_ToolBarIconSize

Python specific notes:
The object exposes a readable attribute 'PM_ToolBarIconSize'. This is the getter.

PM_ToolBarItemMargin

Signature: [static,const] QStyle_PixelMetric PM_ToolBarItemMargin

Description: Enum constant QStyle::PM_ToolBarItemMargin

Python specific notes:
The object exposes a readable attribute 'PM_ToolBarItemMargin'. This is the getter.

PM_ToolBarItemSpacing

Signature: [static,const] QStyle_PixelMetric PM_ToolBarItemSpacing

Description: Enum constant QStyle::PM_ToolBarItemSpacing

Python specific notes:
The object exposes a readable attribute 'PM_ToolBarItemSpacing'. This is the getter.

PM_ToolBarSeparatorExtent

Signature: [static,const] QStyle_PixelMetric PM_ToolBarSeparatorExtent

Description: Enum constant QStyle::PM_ToolBarSeparatorExtent

Python specific notes:
The object exposes a readable attribute 'PM_ToolBarSeparatorExtent'. This is the getter.

PM_ToolTipLabelFrameWidth

Signature: [static,const] QStyle_PixelMetric PM_ToolTipLabelFrameWidth

Description: Enum constant QStyle::PM_ToolTipLabelFrameWidth

Python specific notes:
The object exposes a readable attribute 'PM_ToolTipLabelFrameWidth'. This is the getter.

PM_TreeViewIndentation

Signature: [static,const] QStyle_PixelMetric PM_TreeViewIndentation

Description: Enum constant QStyle::PM_TreeViewIndentation

Python specific notes:
The object exposes a readable attribute 'PM_TreeViewIndentation'. This is the getter.

_const_cast

Signature: [const] QStyle_PixelMetric ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

assign

Signature: void assign (const QStyle_PixelMetric other)

Description: Assigns another object to self

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

destroyed?

Signature: [const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

Use of this method is deprecated. Use _destroyed? instead

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

dup

Signature: [const] new QStyle_PixelMetric ptr dup

Description: Creates a copy of self

Python specific notes:
This method also implements '__copy__' and '__deepcopy__'.

hash

Signature: [const] int hash

Description: Gets the hash value from the enum

Python specific notes:
This method is also available as 'hash(object)'.

inspect

Signature: [const] string inspect

Description: Converts an enum to a visual string

Python specific notes:
This method is also available as 'repr(object)'.

is_const_object?

Signature: [const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

Use of this method is deprecated. Use _is_const_object? instead

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

new

(1) Signature: [static] new QStyle_PixelMetric ptr new (int i)

Description: Creates an enum from an integer value

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new QStyle_PixelMetric ptr new (string s)

Description: Creates an enum from a string value

Python specific notes:
This method is the default initializer of the object.

to_i

Signature: [const] int to_i

Description: Gets the integer value from the enum

Python specific notes:
This method is also available as 'int(object)'.

to_s

Signature: [const] string to_s

Description: Gets the symbolic string from an enum

Python specific notes:
This method is also available as 'str(object)'.

|

(1) Signature: [const] QStyle_QFlags_PixelMetric | (const QStyle_PixelMetric other)

Description: Creates a flag set by combining the two flags

(2) Signature: [const] QStyle_QFlags_PixelMetric | (const QStyle_QFlags_PixelMetric other)

Description: Combines the flag and the flag set