686 \value PE_IndicatorArrowDown Generic Down arrow.
687 \value PE_IndicatorArrowRight Generic Right arrow.
688 \value PE_IndicatorArrowLeft Generic Left arrow.
689
690 \value PE_IndicatorSpinUp Up symbol for a spin widget, for example a QSpinBox.
691 \value PE_IndicatorSpinDown Down symbol for a spin widget.
692 \value PE_IndicatorSpinPlus Increase symbol for a spin widget.
693 \value PE_IndicatorSpinMinus Decrease symbol for a spin widget.
694
695 \value PE_IndicatorItemViewItemCheck On/off indicator for a view item.
696
697 \value PE_IndicatorCheckBox On/off indicator, for example, a QCheckBox.
698 \value PE_IndicatorRadioButton Exclusive on/off indicator, for example, a QRadioButton.
699
700 \value PE_IndicatorDockWidgetResizeHandle Resize handle for dock windows.
701
702 \value PE_Frame Generic frame
703 \value PE_FrameMenu Frame for popup windows/menus; see also QMenu.
704 \value PE_PanelMenuBar Panel for menu bars.
705 \value PE_PanelScrollAreaCorner Panel at the bottom-right (or
706 bottom-left) corner of a scroll area.
707
708 \value PE_FrameDockWidget Panel frame for dock windows and toolbars.
709 \value PE_FrameTabWidget Frame for tab widgets.
710 \value PE_FrameLineEdit Panel frame for line edits.
711 \value PE_FrameGroupBox Panel frame around group boxes.
712 \value PE_FrameButtonBevel Panel frame for a button bevel.
713 \value PE_FrameButtonTool Panel frame for a tool button.
714
715 \value PE_IndicatorHeaderArrow Arrow used to indicate sorting on a list or table
716 header.
717 \value PE_FrameStatusBarItem Frame for an item of a status bar; see also QStatusBar.
718
719 \value PE_FrameWindow Frame around a MDI window or a docking window.
720
721 \value PE_IndicatorMenuCheckMark Check mark used in a menu.
722
723 \value PE_IndicatorProgressChunk Section of a progress bar indicator; see also QProgressBar.
724
725 \value PE_IndicatorBranch Lines used to represent the branch of a tree in a tree view.
726 \value PE_IndicatorToolBarHandle The handle of a toolbar.
727 \value PE_IndicatorToolBarSeparator The separator in a toolbar.
728 \value PE_PanelToolBar The panel for a toolbar.
729 \value PE_PanelTipLabel The panel for a tip label.
730 \value PE_FrameTabBarBase The frame that is drawn for a tab bar, usually drawn for a tab bar that isn't part of a tab widget.
731 \value PE_IndicatorTabTear Deprecated. Use \l{PE_IndicatorTabTearLeft} instead.
732 \value PE_IndicatorTabTearLeft An indicator that a tab is partially scrolled out on the left side of the visible tab bar when there are many tabs.
733 \value PE_IndicatorTabTearRight An indicator that a tab is partially scrolled out on the right side of the visible tab bar when there are many tabs.
734 \value PE_IndicatorColumnViewArrow An arrow in a QColumnView.
735
736 \value PE_Widget A plain QWidget.
737
738 \value PE_CustomBase Base value for custom primitive elements.
739 All values above this are reserved for custom use. Custom values
740 must be greater than this value.
741
742 \value PE_IndicatorItemViewItemDrop An indicator that is drawn to show where an item in an item view is about to be dropped
743 during a drag-and-drop operation in an item view.
744 \value PE_PanelItemViewItem The background for an item in an item view.
745 \value PE_PanelItemViewRow The background of a row in an item view.
746
747 \value PE_PanelStatusBar The panel for a status bar.
748
749 \value PE_IndicatorTabClose The close button on a tab bar.
750 \value PE_PanelMenu The panel for a menu.
751
752 \sa drawPrimitive()
753*/
754
755
756/*!
757 \enum QStyle::StateFlag
758
759 This enum describes flags that are used when drawing primitive
760 elements.
761
762 Note that not all primitives use all of these flags, and that the
763 flags may mean different things to different items.
764
765 \value State_None Indicates that the widget does not have a state.
766 \value State_Active Indicates that the widget is active.
767 \value State_AutoRaise Used to indicate if auto-raise appearance should be used on a tool button.
768 \value State_Children Used to indicate if an item view branch has children.
769 \value State_DownArrow Used to indicate if a down arrow should be visible on the widget.
770 \value State_Editing Deprecated. No longer used as the editor is drawn over the itemview cell.
771 \value State_Enabled Used to indicate if the widget is enabled.
772 \value State_HasFocus Used to indicate if the widget has focus.
773 \value State_Horizontal Used to indicate if the widget is laid out horizontally, for example. a tool bar.
774 \value State_KeyboardFocusChange Used to indicate if the focus was changed with the keyboard, e.g., tab, backtab or shortcut.
775 \value State_MouseOver Used to indicate if the widget is under the mouse.
776 \value State_NoChange Used to indicate a tri-state checkbox.
777 \value State_Off Used to indicate if the widget is not checked.
778 \value State_On Used to indicate if the widget is checked.
779 \value State_Raised Used to indicate if a button is raised.
780 \value State_ReadOnly Used to indicate if a widget is read-only.
781 \value State_Selected Used to indicate if a widget is selected.
782 \value State_Item Used by item views to indicate if a horizontal branch should be drawn.
783 \value State_Open Used by item views to indicate if the tree branch is open.
784 \value State_Sibling Used by item views to indicate if a vertical line needs to be drawn (for siblings).
785 \value State_Sunken Used to indicate if the widget is sunken or pressed.
786 \value State_UpArrow Used to indicate if an up arrow should be visible on the widget.
787 \value State_Mini Used to indicate a mini style Mac widget or button.
788 \value State_Small Used to indicate a small style Mac widget or button.
1844 should extend to the full width of the document.
1845
1846 \value SH_GroupBox_TextLabelVerticalAlignment How to vertically align a
1847 group box's text label.
1848
1849 \value SH_GroupBox_TextLabelColor How to paint a group box's text label.
1850
1851 \value SH_DialogButtons_DefaultButton Which button gets the
1852 default status in a dialog's button widget.
1853
1854 \value SH_ToolBox_SelectedPageTitleBold Boldness of the selected
1855 page title in a QToolBox.
1856
1857 \value SH_LineEdit_PasswordCharacter The Unicode character to be
1858 used for passwords.
1859
1860 \value SH_LineEdit_PasswordMaskDelay Determines the delay before visible character is masked
1861 with password character, in milliseconds. This enum value was added in Qt 5.4.
1862
1863 \value SH_Table_GridLineColor The RGBA value of the grid for a table.
1864
1865 \value SH_UnderlineShortcut Whether shortcuts are underlined.
1866
1867 \value SH_SpinBox_AnimateButton Animate a click when up or down is
1868 pressed in a spin box.
1869 \value SH_SpinBox_KeyPressAutoRepeatRate Auto-repeat interval for
1870 spinbox key presses.
1871 \value SH_SpinBox_ClickAutoRepeatRate Auto-repeat interval for
1872 spinbox mouse clicks.
1873 \value SH_SpinBox_ClickAutoRepeatThreshold Auto-repeat threshold for
1874 spinbox mouse clicks.
1875 \value [since 6.3] SH_SpinBox_SelectOnStep Whether changing the value using
1876 the buttons or up/down keys automatically selects the text.
1877
1878 \value SH_ToolTipLabel_Opacity An integer indicating the opacity for
1879 the tip label, 0 is completely transparent, 255 is completely
1880 opaque.
1881 \value SH_DrawMenuBarSeparator Indicates whether or not the menu bar draws separators.
1882 \value SH_TitleBar_ModifyNotification Indicates if the title bar should show
1883 a '*' for windows that are modified.
1884
1885 \value SH_Button_FocusPolicy The default focus policy for buttons.
1886
1887 \value SH_CustomBase Base value for custom style hints.
1888 Custom values must be greater than this value.
1889
1890 \value SH_MessageBox_UseBorderForButtonSpacing A boolean indicating what the to
1891 use the border of the buttons (computed as half the button height) for the spacing
1892 of the button in a message box.
1893
1894 \value SH_MessageBox_CenterButtons A boolean indicating whether the buttons in the
1895 message box should be centered or not (see QDialogButtonBox::setCentered()).
1896
1897 \value SH_MessageBox_TextInteractionFlags A boolean indicating if
1898 the text in a message box should allow user interactions (e.g.
1899 selection) or not.
1900
1901 \value SH_TitleBar_AutoRaise A boolean indicating whether
1902 controls on a title bar ought to update when the mouse is over them.
1903
1904 \value SH_ToolButton_PopupDelay An int indicating the popup delay in milliseconds
1905 for menus attached to tool buttons.
1906
1907 \value SH_FocusFrame_Mask The mask of the focus frame.
1908
1909 \value SH_RubberBand_Mask The mask of the rubber band.
1910
1911 \value SH_WindowFrame_Mask The mask of the window frame.
1912
1913 \value SH_SpinControls_DisableOnBounds Determines if the spin controls will shown
1914 as disabled when reaching the spin range boundary.
1915
1916 \value SH_Dial_BackgroundRole Defines the style's preferred
1917 background role (as QPalette::ColorRole) for a dial widget.
1918
1919 \value SH_ComboBox_LayoutDirection The layout direction for the
1920 combo box. By default it should be the same as indicated by the
1921 QStyleOption::direction variable.
1922
1923 \value SH_ItemView_EllipsisLocation The location where ellipses should be
1924 added for item text that is too long to fit in an view item.
1925
1926 \value SH_ItemView_ShowDecorationSelected When an item in an item
1927 view is selected, also highlight the branch or other decoration.
1928
1929 \value SH_ItemView_ActivateItemOnSingleClick Emit the activated signal
1930 when the user single clicks on an item in an item in an item view.
1931 Otherwise the signal is emitted when the user double clicks on an item.
1932
1933 \value SH_Slider_AbsoluteSetButtons Which mouse buttons cause a slider
1934 to set the value to the position clicked on.
1935
1936 \value SH_Slider_PageSetButtons Which mouse buttons cause a slider
1937 to page step the value.
1938
1939 \value SH_TabBar_ElideMode The default eliding style for a tab bar.
1940
1941 \value SH_DialogButtonLayout Controls how buttons are laid out in a QDialogButtonBox, returns a QDialogButtonBox::ButtonLayout enum.
1942
1943 \value SH_WizardStyle Controls the look and feel of a QWizard. Returns a QWizard::WizardStyle enum.
1944
1945 \value SH_FormLayoutWrapPolicy Provides a default for how rows are wrapped in a QFormLayout. Returns a QFormLayout::RowWrapPolicy enum.
1946 \value SH_FormLayoutFieldGrowthPolicy Provides a default for how fields can grow in a QFormLayout. Returns a QFormLayout::FieldGrowthPolicy enum.
1947 \value SH_FormLayoutFormAlignment Provides a default for how a QFormLayout aligns its contents within the available space. Returns a Qt::Alignment enum.
1948 \value SH_FormLayoutLabelAlignment Provides a default for how a QFormLayout aligns labels within the available space. Returns a Qt::Alignment enum.
1949
1950 \value SH_ItemView_ArrowKeysNavigateIntoChildren Controls whether the tree view will select the first child when it is exapanded and the right arrow key is pressed.
1951 \value SH_ComboBox_PopupFrameStyle The frame style used when drawing a combobox popup menu.
1952
1953 \value SH_DialogButtonBox_ButtonsHaveIcons Indicates whether or not StandardButtons in QDialogButtonBox should have icons or not.
1954 \value SH_ItemView_MovementWithoutUpdatingSelection The item view is able to indicate a current item without changing the selection.
1955 \value SH_ToolTip_Mask The mask of a tool tip.
1956
1957 \value SH_FocusFrame_AboveWidget The FocusFrame is stacked above the widget that it is "focusing on".
1958
1959 \value SH_TextControl_FocusIndicatorTextCharFormat Specifies the text format used to highlight focused anchors in rich text
1960 documents displayed for example in QTextBrowser. The format has to be a QTextCharFormat returned in the variant of the
1961 QStyleHintReturnVariant return value. The QTextFormat::OutlinePen property is used for the outline and QTextFormat::BackgroundBrush
1965 \value SH_Menu_FadeOutOnHide Fade out the menu instead of hiding it immediately.
1966
1967 \value SH_TabWidget_DefaultTabPosition Default position of the tab bar in a tab widget.
1968
1969 \value SH_ToolBar_Movable Determines if the tool bar is movable by default.
1970
1971 \value SH_ItemView_PaintAlternatingRowColorsForEmptyArea Whether QTreeView paints alternating row colors for the area that does not have any items.
1972
1973 \value SH_Menu_Mask The mask for a popup menu.
1974
1975 \value SH_ItemView_DrawDelegateFrame Determines if there should be a frame for a delegate widget.
1976
1977 \value SH_TabBar_CloseButtonPosition Determines the position of the close button on a tab in a tab bar.
1978
1979 \value SH_DockWidget_ButtonsHaveFrame Determines if dockwidget buttons should have frames. Default is true.
1980
1981 \value SH_ToolButtonStyle Determines the default system style for tool buttons that uses Qt::ToolButtonFollowStyle.
1982
1983 \value SH_RequestSoftwareInputPanel Determines when a software input panel should
1984 be requested by input widgets. Returns an enum of type QStyle::RequestSoftwareInputPanel.
1985
1986 \value SH_ScrollBar_Transient Determines if the style supports transient scroll bars. Transient
1987 scroll bars appear when the content is scrolled and disappear when they are no longer needed.
1988
1989 \value SH_Menu_SupportsSections Determines if the style displays sections in menus or treat them as
1990 plain separators. Sections are separators with a text and icon hint.
1991
1992 \value SH_ToolTip_WakeUpDelay Determines the delay before a tooltip is shown, in milliseconds.
1993
1994 \value SH_ToolTip_FallAsleepDelay Determines the delay (in milliseconds) before a new wake time is needed when
1995 a tooltip is shown (notice: shown, not hidden). When a new wake isn't needed, a user-requested tooltip
1996 will be shown nearly instantly.
1997
1998 \value SH_Widget_Animate Deprecated. Use \l{SH_Widget_Animation_Duration} instead.
1999
2000 \value SH_Splitter_OpaqueResize Determines if widgets are resized dynamically (opaquely) while
2001 interactively moving the splitter. This enum value was introduced in Qt 5.2.
2002
2003 \value SH_TabBar_ChangeCurrentDelay Determines the delay before the current
2004 tab is changed while dragging over the tabbar, in milliseconds. This
2005 enum value has been introduced in Qt 5.4
2006
2007 \value SH_ItemView_ScrollMode The default vertical and horizontal scroll mode as specified
2008 by the style. Can be overridden with QAbstractItemView::setVerticalScrollMode() and
2009 QAbstractItemView::setHorizontalScrollMode(). This enum value has been introduced in Qt 5.7.
2010
2011 \value SH_TitleBar_ShowToolTipsOnButtons
2012 Determines if tool tips are shown on window title bar buttons.
2013 The Mac style, for example, sets this to false.
2014 This enum value has been introduced in Qt 5.10.
2015
2016 \value SH_Widget_Animation_Duration
2017 Determines how much an animation should last (in ms).
2018 A value equal to zero means that the animations will be disabled.
2019 This enum value has been introduced in Qt 5.10.
2020
2021 \value SH_ComboBox_AllowWheelScrolling
2022 Determines if the mouse wheel can be used to scroll inside a QComboBox.
2023 This is on by default in all styles except the Mac style.
2024 This enum value has been introduced in Qt 5.10.
2025
2026 \value SH_SpinBox_ButtonsInsideFrame
2027 Determines if the spin box buttons are inside the line edit frame.
2028 This enum value has been introduced in Qt 5.11.
2029
2030 \value SH_SpinBox_StepModifier
2031 Determines which Qt::KeyboardModifier increases the step rate of
2032 QAbstractSpinBox. Possible values are Qt::NoModifier,
2033 Qt::ControlModifier (default) or Qt::ShiftModifier. Qt::NoModifier
2034 disables this feature.
2035 This enum value has been introduced in Qt 5.12.
2036
2037 \value SH_TabBar_AllowWheelScrolling
2038 Determines if the mouse wheel can be used to cycle through the tabs
2039 of a QTabBar.
2040 This enum value has been introduced in Qt 6.1.
2041
2042 \value SH_Table_AlwaysDrawLeftTopGridLines
2043 Determines if the far left and top grid lines are drawn in a table or
2044 not when the header is hidden. Defaults to false.
2045 This enum value has been introduced in Qt 6.3.