Skip to content

PythonQt.QtGui.QStyle

QStyle

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

Qt contains a set of QStyle subclasses that emulate the styles of the different platforms supported by Qt (QWindowsStyle, QMacStyle etc.). By default, these styles are built into the Qt GUI module. Styles can also be made available as plugins.

Qt's built-in widgets use QStyle to perform nearly all of their drawing, ensuring that they look exactly like the equivalent native widgets. The diagram below shows a QComboBox in nine different styles.

Nine combo boxes

Topics:

Setting a Style

The style of the entire application can be set using the QApplication::setStyle() function. It can also be specified by the user of the application, using the -style command-line option:

./myapplication -style windows

If no style is specified, Qt will choose the most appropriate style for the user's platform or desktop environment.

A style can also be set on an individual widget using the QWidget::setStyle() function.

Developing Style-Aware Custom Widgets

If you are developing custom widgets and want them to look good on all platforms, you can use QStyle functions to perform parts of the widget drawing, such as drawItemText(), drawItemPixmap(), drawPrimitive(), drawControl(), and drawComplexControl().

Most QStyle draw functions take four arguments:

  • an enum value specifying which graphical element to draw
  • a QStyleOption specifying how and where to render that element
  • a QPainter that should be used to draw the element
  • a QWidget on which the drawing is performed (optional)

For example, if you want to draw a focus rectangle on your widget, you can write:

void MyWidget::paintEvent(QPaintEvent * /* event */)
{
    QPainter painter(this);

    QStyleOptionFocusRect option;
    option.initFrom(this);
    option.backgroundColor = palette().color(QPalette::Background);

    style()->drawPrimitive(QStyle::PE_FrameFocusRect, &option, &painter, this);
}

QStyle gets all the information it needs to render the graphical element from QStyleOption. The widget is passed as the last argument in case the style needs it to perform special effects (such as animated default buttons on macOS), but it isn't mandatory. In fact, you can use QStyle to draw on any paint device, not just widgets, by setting the QPainter properly.

QStyleOption has various subclasses for the various types of graphical elements that can be drawn. For example, PE_FrameFocusRect expects a QStyleOptionFocusRect argument.

To ensure that drawing operations are as fast as possible, QStyleOption and its subclasses have public data members. See the QStyleOption class documentation for details on how to use it.

For convenience, Qt provides the QStylePainter class, which combines a QStyle, a QPainter, and a QWidget. This makes it possible to write

    QStylePainter painter(this);
    ...
    painter.drawPrimitive(QStyle::PE_FrameFocusRect, option);

instead of

    QPainter painter(this);
    ...
    style()->drawPrimitive(QStyle::PE_FrameFocusRect, &option, &painter, this);

Creating a Custom Style

You can create a custom look and feel for your application by creating a custom style. There are two approaches to creating a custom style. In the static approach, you either choose an existing QStyle class, subclass it, and reimplement virtual functions to provide the custom behavior, or you create an entire QStyle class from scratch. In the dynamic approach, you modify the behavior of your system style at runtime. The static approach is described below. The dynamic approach is described in QProxyStyle.

The first step in the static approach is to pick one of the styles provided by Qt from which you will build your custom style. Your choice of QStyle class will depend on which style resembles your desired style the most. The most general class that you can use as a base is QCommonStyle (not QStyle). This is because Qt requires its styles to be QCommonStyles.

Depending on which parts of the base style you want to change, you must reimplement the functions that are used to draw those parts of the interface. To illustrate this, we will modify the look of the spin box arrows drawn by QWindowsStyle. The arrows are primitive elements that are drawn by the drawPrimitive() function, so we need to reimplement that function. We need the following class declaration:

class CustomStyle : public QProxyStyle
{
    Q_OBJECT

public:
    CustomStyle();
    ~CustomStyle() {}

    void drawPrimitive(PrimitiveElement element, const QStyleOption *option,
                       QPainter *painter, const QWidget *widget) const override;
};

To draw its up and down arrows, QSpinBox uses the PE_IndicatorSpinUp and PE_IndicatorSpinDown primitive elements. Here's how to reimplement the drawPrimitive() function to draw them differently:

void CustomStyle::drawPrimitive(PrimitiveElement element, const QStyleOption *option,
                                QPainter *painter, const QWidget *widget) const
{
    if (element == PE_IndicatorSpinUp || element == PE_IndicatorSpinDown) {
        QPolygon points(3);
        int x = option->rect.x();
        int y = option->rect.y();
        int w = option->rect.width() / 2;
        int h = option->rect.height() / 2;
        x += (option->rect.width() - w) / 2;
        y += (option->rect.height() - h) / 2;

        if (element == PE_IndicatorSpinUp) {
            points[0] = QPoint(x, y + h);
            points[1] = QPoint(x + w, y + h);
            points[2] = QPoint(x + w / 2, y);
        } else { // PE_SpinBoxDown
            points[0] = QPoint(x, y);
            points[1] = QPoint(x + w, y);
            points[2] = QPoint(x + w / 2, y + h);
        }

        if (option->state & State_Enabled) {
            painter->setPen(option->palette.mid().color());
            painter->setBrush(option->palette.buttonText());
        } else {
            painter->setPen(option->palette.buttonText().color());
            painter->setBrush(option->palette.mid());
        }
        painter->drawPolygon(points);
    } else {
    QProxyStyle::drawPrimitive(element, option, painter, widget);
    }
}

Notice that we don't use the widget argument, except to pass it on to the QWindowStyle::drawPrimitive() function. As mentioned earlier, the information about what is to be drawn and how it should be drawn is specified by a QStyleOption object, so there is no need to ask the widget.

If you need to use the widget argument to obtain additional information, be careful to ensure that it isn't 0 and that it is of the correct type before using it. For example:

    const QSpinBox *spinBox = qobject_cast<const QSpinBox *>(widget);
    if (spinBox) {
    ...
    }

When implementing a custom style, you cannot assume that the widget is a QSpinBox just because the enum value is called PE_IndicatorSpinUp or PE_IndicatorSpinDown.

The documentation for the Styles example covers this topic in more detail.

Warning: Qt style sheets are currently not supported for custom QStyle subclasses. We plan to address this in some future release.

Using a Custom Style

There are several ways of using a custom style in a Qt application. The simplest way is to pass the custom style to the QApplication::setStyle() static function before creating the QApplication object:

#include <QtWidgets>

#include "customstyle.h"

int main(int argc, char *argv[])
{
    QApplication::setStyle(new CustomStyle);
    QApplication app(argc, argv);
    QSpinBox spinBox;
    spinBox.show();
    return app.exec();
}

You can call QApplication::setStyle() at any time, but by calling it before the constructor, you ensure that the user's preference, set using the -style command-line option, is respected.

You may want to make your custom style available for use in other applications, which may not be yours and hence not available for you to recompile. The Qt Plugin system makes it possible to create styles as plugins. Styles created as plugins are loaded as shared objects at runtime by Qt itself. Please refer to the Qt Plugin documentation for more information on how to go about creating a style plugin.

Compile your plugin and put it into Qt's plugins/styles directory. We now have a pluggable style that Qt can load automatically. To use your new style with existing applications, simply start the application with the following argument:

./myapplication -style custom

The application will use the look and feel from the custom style you implemented.

Right-to-Left Desktops

Languages written from right to left (such as Arabic and Hebrew) usually also mirror the whole layout of widgets, and require the light to come from the screen's top-right corner instead of top-left.

If you create a custom style, you should take special care when drawing asymmetric elements to make sure that they also look correct in a mirrored layout. An easy way to test your styles is to run applications with the -reverse command-line option or to call QApplication::setLayoutDirection() in your main() function.

Here are some things to keep in mind when making a style work well in a right-to-left environment:

Styles in Item Views

The painting of items in views is performed by a delegate. Qt's default delegate, QStyledItemDelegate, is also used for calculating bounding rectangles of items, and their sub-elements for the various kind of item data roles QStyledItemDelegate supports. See the QStyledItemDelegate class description to find out which datatypes and roles are supported. You can read more about item data roles in Model/View Programming.

When QStyledItemDelegate paints its items, it draws CE_ItemViewItem, and calculates their size with CT_ItemViewItem. Note also that it uses SE_ItemViewItemText to set the size of editors. When implementing a style to customize drawing of item views, you need to check the implementation of QCommonStyle (and any other subclasses from which your style inherits). This way, you find out which and how other style elements are painted, and you can then reimplement the painting of elements that should be drawn differently.

We include a small example where we customize the drawing of item backgrounds.

    switch (element) {
        case (PE_PanelItemViewItem): {
            painter->save();

            QPoint topLeft = option->rect.topLeft();
            QPoint bottomRight = option->rect.topRight();
            QLinearGradient backgroundGradient(topLeft, bottomRight);
            backgroundGradient.setColorAt(0.0, QColor(Qt::yellow).lighter(190));
            backgroundGradient.setColorAt(1.0, Qt::white);
            painter->fillRect(option->rect, QBrush(backgroundGradient));

            painter->restore();
        break;
        }
        default:
            QProxyStyle::drawPrimitive(element, option, painter, widget);
    }

The primitive element PE_PanelItemViewItem is responsible for painting the background of items, and is called from QCommonStyle's implementation of CE_ItemViewItem.

To add support for drawing of new datatypes and item data roles, it is necessary to create a custom delegate. But if you only need to support the datatypes implemented by the default delegate, a custom style does not need an accompanying delegate. The QStyledItemDelegate class description gives more information on custom delegates.

The drawing of item view headers is also done by the style, giving control over size of header items and row and column sizes.

Source: https://doc.qt.io/archives/qt-5.15/qstyle.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
CC_ComboBox attribute Any (shared captured text)
CC_CustomBase attribute Any (shared captured text)
CC_Dial attribute Any (shared captured text)
CC_GroupBox attribute Any (shared captured text)
CC_MdiControls attribute Any (shared captured text)
CC_ScrollBar attribute Any (shared captured text)
CC_Slider attribute Any (shared captured text)
CC_SpinBox attribute Any (shared captured text)
CC_TitleBar attribute Any (shared captured text)
CC_ToolButton attribute Any (shared captured text)
CE_CheckBox attribute Any (shared captured text)
CE_CheckBoxLabel attribute Any (shared captured text)
CE_ColumnViewGrip attribute Any (shared captured text)
CE_ComboBoxLabel attribute Any (shared captured text)
CE_CustomBase attribute Any (shared captured text)
CE_DockWidgetTitle attribute Any (shared captured text)
CE_FocusFrame attribute Any (shared captured text)
CE_Header attribute Any (shared captured text)
CE_HeaderEmptyArea attribute Any (shared captured text)
CE_HeaderLabel attribute Any (shared captured text)
CE_HeaderSection attribute Any (shared captured text)
CE_ItemViewItem attribute Any (shared captured text)
CE_MenuBarEmptyArea attribute Any (shared captured text)
CE_MenuBarItem attribute Any (shared captured text)
CE_MenuEmptyArea attribute Any (shared captured text)
CE_MenuHMargin attribute Any (shared captured text)
CE_MenuItem attribute Any (shared captured text)
CE_MenuScroller attribute Any (shared captured text)
CE_MenuTearoff attribute Any (shared captured text)
CE_MenuVMargin attribute Any (shared captured text)
CE_ProgressBar attribute Any (shared captured text)
CE_ProgressBarContents attribute Any (shared captured text)
CE_ProgressBarGroove attribute Any (shared captured text)
CE_ProgressBarLabel attribute Any (shared captured text)
CE_PushButton attribute Any (shared captured text)
CE_PushButtonBevel attribute Any (shared captured text)
CE_PushButtonLabel attribute Any (shared captured text)
CE_RadioButton attribute Any (shared captured text)
CE_RadioButtonLabel attribute Any (shared captured text)
CE_RubberBand attribute Any (shared captured text)
CE_ScrollBarAddLine attribute Any (shared captured text)
CE_ScrollBarAddPage attribute Any (shared captured text)
CE_ScrollBarFirst attribute Any (shared captured text)
CE_ScrollBarLast attribute Any (shared captured text)
CE_ScrollBarSlider attribute Any (shared captured text)
CE_ScrollBarSubLine attribute Any (shared captured text)
CE_ScrollBarSubPage attribute Any (shared captured text)
CE_ShapedFrame attribute Any (shared captured text)
CE_SizeGrip attribute Any (shared captured text)
CE_Splitter attribute Any (shared captured text)
CE_TabBarTab attribute Any (shared captured text)
CE_TabBarTabLabel attribute Any (shared captured text)
CE_TabBarTabShape attribute Any (shared captured text)
CE_ToolBar attribute Any (shared captured text)
CE_ToolBoxTab attribute Any (shared captured text)
CE_ToolBoxTabLabel attribute Any (shared captured text)
CE_ToolBoxTabShape attribute Any (shared captured text)
CE_ToolButtonLabel attribute Any (shared captured text)
CT_CheckBox attribute Any (shared captured text)
CT_ComboBox attribute Any (shared captured text)
CT_CustomBase attribute Any (shared captured text)
CT_DialogButtons attribute Any (shared captured text)
CT_GroupBox attribute Any (shared captured text)
CT_HeaderSection attribute Any (shared captured text)
CT_ItemViewItem attribute Any (shared captured text)
CT_LineEdit attribute Any (shared captured text)
CT_MdiControls attribute Any (shared captured text)
CT_Menu attribute Any (shared captured text)
CT_MenuBar attribute Any (shared captured text)
CT_MenuBarItem attribute Any (shared captured text)
CT_MenuItem attribute Any (shared captured text)
CT_ProgressBar attribute Any (shared captured text)
CT_PushButton attribute Any (shared captured text)
CT_RadioButton attribute Any (shared captured text)
CT_ScrollBar attribute Any (shared captured text)
CT_SizeGrip attribute Any (shared captured text)
CT_Slider attribute Any (shared captured text)
CT_SpinBox attribute Any (shared captured text)
CT_Splitter attribute Any (shared captured text)
CT_TabBarTab attribute Any (shared captured text)
CT_TabWidget attribute Any (shared captured text)
CT_ToolButton attribute Any (shared captured text)
ComplexControl attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
ContentsType attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
ControlElement attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
PE_CustomBase attribute Any (shared captured text)
PE_Frame attribute Any (shared captured text)
PE_FrameButtonBevel attribute Any (shared captured text)
PE_FrameButtonTool attribute Any (shared captured text)
PE_FrameDefaultButton attribute Any (shared captured text)
PE_FrameDockWidget attribute Any (shared captured text)
PE_FrameFocusRect attribute Any (shared captured text)
PE_FrameGroupBox attribute Any (shared captured text)
PE_FrameLineEdit attribute Any (shared captured text)
PE_FrameMenu attribute Any (shared captured text)
PE_FrameStatusBar attribute Any (shared captured text)
PE_FrameStatusBarItem attribute Any (shared captured text)
PE_FrameTabBarBase attribute Any (shared captured text)
PE_FrameTabWidget attribute Any (shared captured text)
PE_FrameWindow attribute Any (shared captured text)
PE_IndicatorArrowDown attribute Any (shared captured text)
PE_IndicatorArrowLeft attribute Any (shared captured text)
PE_IndicatorArrowRight attribute Any (shared captured text)
PE_IndicatorArrowUp attribute Any (shared captured text)
PE_IndicatorBranch attribute Any (shared captured text)
PE_IndicatorButtonDropDown attribute Any (shared captured text)
PE_IndicatorCheckBox attribute Any (shared captured text)
PE_IndicatorColumnViewArrow attribute Any (shared captured text)
PE_IndicatorDockWidgetResizeHandle attribute Any (shared captured text)
PE_IndicatorHeaderArrow attribute Any (shared captured text)
PE_IndicatorItemViewItemCheck attribute Any (shared captured text)
PE_IndicatorItemViewItemDrop attribute Any (shared captured text)
PE_IndicatorMenuCheckMark attribute Any (shared captured text)
PE_IndicatorProgressChunk attribute Any (shared captured text)
PE_IndicatorRadioButton attribute Any (shared captured text)
PE_IndicatorSpinDown attribute Any (shared captured text)
PE_IndicatorSpinMinus attribute Any (shared captured text)
PE_IndicatorSpinPlus attribute Any (shared captured text)
PE_IndicatorSpinUp attribute Any (shared captured text)
PE_IndicatorTabClose attribute Any (shared captured text)
PE_IndicatorTabTear attribute Any (shared captured text)
PE_IndicatorTabTearLeft attribute Any (shared captured text)
PE_IndicatorTabTearRight attribute Any (shared captured text)
PE_IndicatorToolBarHandle attribute Any (shared captured text)
PE_IndicatorToolBarSeparator attribute Any (shared captured text)
PE_IndicatorViewItemCheck attribute Any (shared captured text)
PE_PanelButtonBevel attribute Any (shared captured text)
PE_PanelButtonCommand attribute Any (shared captured text)
PE_PanelButtonTool attribute Any (shared captured text)
PE_PanelItemViewItem attribute Any (shared captured text)
PE_PanelItemViewRow attribute Any (shared captured text)
PE_PanelLineEdit attribute Any (shared captured text)
PE_PanelMenu attribute Any (shared captured text)
PE_PanelMenuBar attribute Any (shared captured text)
PE_PanelScrollAreaCorner attribute Any (shared captured text)
PE_PanelStatusBar attribute Any (shared captured text)
PE_PanelTipLabel attribute Any (shared captured text)
PE_PanelToolBar attribute Any (shared captured text)
PE_Widget attribute Any (shared captured text)
PM_ButtonDefaultIndicator attribute Any (shared captured text)
PM_ButtonIconSize attribute Any (shared captured text)
PM_ButtonMargin attribute Any (shared captured text)
PM_ButtonShiftHorizontal attribute Any (shared captured text)
PM_ButtonShiftVertical attribute Any (shared captured text)
PM_CheckBoxLabelSpacing attribute Any (shared captured text)
PM_ComboBoxFrameWidth attribute Any (shared captured text)
PM_CustomBase attribute Any (shared captured text)
PM_DefaultChildMargin attribute Any (shared captured text)
PM_DefaultFrameWidth attribute Any (shared captured text)
PM_DefaultLayoutSpacing attribute Any (shared captured text)
PM_DefaultTopLevelMargin attribute Any (shared captured text)
PM_DialogButtonsButtonHeight attribute Any (shared captured text)
PM_DialogButtonsButtonWidth attribute Any (shared captured text)
PM_DialogButtonsSeparator attribute Any (shared captured text)
PM_DockWidgetFrameWidth attribute Any (shared captured text)
PM_DockWidgetHandleExtent attribute Any (shared captured text)
PM_DockWidgetSeparatorExtent attribute Any (shared captured text)
PM_DockWidgetTitleBarButtonMargin attribute Any (shared captured text)
PM_DockWidgetTitleMargin attribute Any (shared captured text)
PM_ExclusiveIndicatorHeight attribute Any (shared captured text)
PM_ExclusiveIndicatorWidth attribute Any (shared captured text)
PM_FocusFrameHMargin attribute Any (shared captured text)
PM_FocusFrameVMargin attribute Any (shared captured text)
PM_HeaderDefaultSectionSizeHorizontal attribute Any (shared captured text)
PM_HeaderDefaultSectionSizeVertical attribute Any (shared captured text)
PM_HeaderGripMargin attribute Any (shared captured text)
PM_HeaderMargin attribute Any (shared captured text)
PM_HeaderMarkSize attribute Any (shared captured text)
PM_IconViewIconSize attribute Any (shared captured text)
PM_IndicatorHeight attribute Any (shared captured text)
PM_IndicatorWidth attribute Any (shared captured text)
PM_LargeIconSize attribute Any (shared captured text)
PM_LayoutBottomMargin attribute Any (shared captured text)
PM_LayoutHorizontalSpacing attribute Any (shared captured text)
PM_LayoutLeftMargin attribute Any (shared captured text)
PM_LayoutRightMargin attribute Any (shared captured text)
PM_LayoutTopMargin attribute Any (shared captured text)
PM_LayoutVerticalSpacing attribute Any (shared captured text)
PM_ListViewIconSize attribute Any (shared captured text)
PM_MDIFrameWidth attribute Any (shared captured text)
PM_MDIMinimizedWidth attribute Any (shared captured text)
PM_MaximumDragDistance attribute Any (shared captured text)
PM_MdiSubWindowFrameWidth attribute Any (shared captured text)
PM_MdiSubWindowMinimizedWidth attribute Any (shared captured text)
PM_MenuBarHMargin attribute Any (shared captured text)
PM_MenuBarItemSpacing attribute Any (shared captured text)
PM_MenuBarPanelWidth attribute Any (shared captured text)
PM_MenuBarVMargin attribute Any (shared captured text)
PM_MenuButtonIndicator attribute Any (shared captured text)
PM_MenuDesktopFrameWidth attribute Any (shared captured text)
PM_MenuHMargin attribute Any (shared captured text)
PM_MenuPanelWidth attribute Any (shared captured text)
PM_MenuScrollerHeight attribute Any (shared captured text)
PM_MenuTearoffHeight attribute Any (shared captured text)
PM_MenuVMargin attribute Any (shared captured text)
PM_MessageBoxIconSize attribute Any (shared captured text)
PM_ProgressBarChunkWidth attribute Any (shared captured text)
PM_RadioButtonLabelSpacing attribute Any (shared captured text)
PM_ScrollBarExtent attribute Any (shared captured text)
PM_ScrollBarSliderMin attribute Any (shared captured text)
PM_ScrollView_ScrollBarOverlap attribute Any (shared captured text)
PM_ScrollView_ScrollBarSpacing attribute Any (shared captured text)
PM_SizeGripSize attribute Any (shared captured text)
PM_SliderControlThickness attribute Any (shared captured text)
PM_SliderLength attribute Any (shared captured text)
PM_SliderSpaceAvailable attribute Any (shared captured text)
PM_SliderThickness attribute Any (shared captured text)
PM_SliderTickmarkOffset attribute Any (shared captured text)
PM_SmallIconSize attribute Any (shared captured text)
PM_SpinBoxFrameWidth attribute Any (shared captured text)
PM_SpinBoxSliderHeight attribute Any (shared captured text)
PM_SplitterWidth attribute Any (shared captured text)
PM_SubMenuOverlap attribute Any (shared captured text)
PM_TabBarBaseHeight attribute Any (shared captured text)
PM_TabBarBaseOverlap attribute Any (shared captured text)
PM_TabBarIconSize attribute Any (shared captured text)
PM_TabBarScrollButtonWidth attribute Any (shared captured text)
PM_TabBarTabHSpace attribute Any (shared captured text)
PM_TabBarTabOverlap attribute Any (shared captured text)
PM_TabBarTabShiftHorizontal attribute Any (shared captured text)
PM_TabBarTabShiftVertical attribute Any (shared captured text)
PM_TabBarTabVSpace attribute Any (shared captured text)
PM_TabBar_ScrollButtonOverlap attribute Any (shared captured text)
PM_TabCloseIndicatorHeight attribute Any (shared captured text)
PM_TabCloseIndicatorWidth attribute Any (shared captured text)
PM_TextCursorWidth attribute Any (shared captured text)
PM_TitleBarButtonIconSize attribute Any (shared captured text)
PM_TitleBarButtonSize attribute Any (shared captured text)
PM_TitleBarHeight attribute Any (shared captured text)
PM_ToolBarExtensionExtent attribute Any (shared captured text)
PM_ToolBarFrameWidth attribute Any (shared captured text)
PM_ToolBarHandleExtent attribute Any (shared captured text)
PM_ToolBarIconSize attribute Any (shared captured text)
PM_ToolBarItemMargin attribute Any (shared captured text)
PM_ToolBarItemSpacing attribute Any (shared captured text)
PM_ToolBarSeparatorExtent attribute Any (shared captured text)
PM_ToolTipLabelFrameWidth attribute Any (shared captured text)
PM_TreeViewIndentation attribute Any (shared captured text)
PixelMetric attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
PrimitiveElement attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
RSIP_OnMouseClick attribute Any (shared captured text)
RSIP_OnMouseClickAndAlreadyFocused attribute Any (shared captured text)
RequestSoftwareInputPanel attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
SC_All attribute Any (shared captured text)
SC_ComboBoxArrow attribute Any (shared captured text)
SC_ComboBoxEditField attribute Any (shared captured text)
SC_ComboBoxFrame attribute Any (shared captured text)
SC_ComboBoxListBoxPopup attribute Any (shared captured text)
SC_CustomBase attribute Any (shared captured text)
SC_DialGroove attribute Any (shared captured text)
SC_DialHandle attribute Any (shared captured text)
SC_DialTickmarks attribute Any (shared captured text)
SC_GroupBoxCheckBox attribute Any (shared captured text)
SC_GroupBoxContents attribute Any (shared captured text)
SC_GroupBoxFrame attribute Any (shared captured text)
SC_GroupBoxLabel attribute Any (shared captured text)
SC_MdiCloseButton attribute Any (shared captured text)
SC_MdiMinButton attribute Any (shared captured text)
SC_MdiNormalButton attribute Any (shared captured text)
SC_None attribute Any (shared captured text)
SC_ScrollBarAddLine attribute Any (shared captured text)
SC_ScrollBarAddPage attribute Any (shared captured text)
SC_ScrollBarFirst attribute Any (shared captured text)
SC_ScrollBarGroove attribute Any (shared captured text)
SC_ScrollBarLast attribute Any (shared captured text)
SC_ScrollBarSlider attribute Any (shared captured text)
SC_ScrollBarSubLine attribute Any (shared captured text)
SC_ScrollBarSubPage attribute Any (shared captured text)
SC_SliderGroove attribute Any (shared captured text)
SC_SliderHandle attribute Any (shared captured text)
SC_SliderTickmarks attribute Any (shared captured text)
SC_SpinBoxDown attribute Any (shared captured text)
SC_SpinBoxEditField attribute Any (shared captured text)
SC_SpinBoxFrame attribute Any (shared captured text)
SC_SpinBoxUp attribute Any (shared captured text)
SC_TitleBarCloseButton attribute Any (shared captured text)
SC_TitleBarContextHelpButton attribute Any (shared captured text)
SC_TitleBarLabel attribute Any (shared captured text)
SC_TitleBarMaxButton attribute Any (shared captured text)
SC_TitleBarMinButton attribute Any (shared captured text)
SC_TitleBarNormalButton attribute Any (shared captured text)
SC_TitleBarShadeButton attribute Any (shared captured text)
SC_TitleBarSysMenu attribute Any (shared captured text)
SC_TitleBarUnshadeButton attribute Any (shared captured text)
SC_ToolButton attribute Any (shared captured text)
SC_ToolButtonMenu attribute Any (shared captured text)
SE_CheckBoxClickRect attribute Any (shared captured text)
SE_CheckBoxContents attribute Any (shared captured text)
SE_CheckBoxFocusRect attribute Any (shared captured text)
SE_CheckBoxIndicator attribute Any (shared captured text)
SE_CheckBoxLayoutItem attribute Any (shared captured text)
SE_ComboBoxFocusRect attribute Any (shared captured text)
SE_ComboBoxLayoutItem attribute Any (shared captured text)
SE_CustomBase attribute Any (shared captured text)
SE_DateTimeEditLayoutItem attribute Any (shared captured text)
SE_DialogButtonBoxLayoutItem attribute Any (shared captured text)
SE_DockWidgetCloseButton attribute Any (shared captured text)
SE_DockWidgetFloatButton attribute Any (shared captured text)
SE_DockWidgetIcon attribute Any (shared captured text)
SE_DockWidgetTitleBarText attribute Any (shared captured text)
SE_FrameContents attribute Any (shared captured text)
SE_FrameLayoutItem attribute Any (shared captured text)
SE_GroupBoxLayoutItem attribute Any (shared captured text)
SE_HeaderArrow attribute Any (shared captured text)
SE_HeaderLabel attribute Any (shared captured text)
SE_ItemViewItemCheckIndicator attribute Any (shared captured text)
SE_ItemViewItemDecoration attribute Any (shared captured text)
SE_ItemViewItemFocusRect attribute Any (shared captured text)
SE_ItemViewItemText attribute Any (shared captured text)
SE_LabelLayoutItem attribute Any (shared captured text)
SE_LineEditContents attribute Any (shared captured text)
SE_ProgressBarContents attribute Any (shared captured text)
SE_ProgressBarGroove attribute Any (shared captured text)
SE_ProgressBarLabel attribute Any (shared captured text)
SE_ProgressBarLayoutItem attribute Any (shared captured text)
SE_PushButtonBevel attribute Any (shared captured text)
SE_PushButtonContents attribute Any (shared captured text)
SE_PushButtonFocusRect attribute Any (shared captured text)
SE_PushButtonLayoutItem attribute Any (shared captured text)
SE_RadioButtonClickRect attribute Any (shared captured text)
SE_RadioButtonContents attribute Any (shared captured text)
SE_RadioButtonFocusRect attribute Any (shared captured text)
SE_RadioButtonIndicator attribute Any (shared captured text)
SE_RadioButtonLayoutItem attribute Any (shared captured text)
SE_ShapedFrameContents attribute Any (shared captured text)
SE_SliderFocusRect attribute Any (shared captured text)
SE_SliderLayoutItem attribute Any (shared captured text)
SE_SpinBoxLayoutItem attribute Any (shared captured text)
SE_TabBarScrollLeftButton attribute Any (shared captured text)
SE_TabBarScrollRightButton attribute Any (shared captured text)
SE_TabBarTabLeftButton attribute Any (shared captured text)
SE_TabBarTabRightButton attribute Any (shared captured text)
SE_TabBarTabText attribute Any (shared captured text)
SE_TabBarTearIndicator attribute Any (shared captured text)
SE_TabBarTearIndicatorLeft attribute Any (shared captured text)
SE_TabBarTearIndicatorRight attribute Any (shared captured text)
SE_TabWidgetLayoutItem attribute Any (shared captured text)
SE_TabWidgetLeftCorner attribute Any (shared captured text)
SE_TabWidgetRightCorner attribute Any (shared captured text)
SE_TabWidgetTabBar attribute Any (shared captured text)
SE_TabWidgetTabContents attribute Any (shared captured text)
SE_TabWidgetTabPane attribute Any (shared captured text)
SE_ToolBarHandle attribute Any (shared captured text)
SE_ToolBoxTabContents attribute Any (shared captured text)
SE_ToolButtonLayoutItem attribute Any (shared captured text)
SE_TreeViewDisclosureItem attribute Any (shared captured text)
SE_ViewItemCheckIndicator attribute Any (shared captured text)
SH_BlinkCursorWhenTextSelected attribute Any (shared captured text)
SH_Button_FocusPolicy attribute Any (shared captured text)
SH_ComboBox_AllowWheelScrolling attribute Any (shared captured text)
SH_ComboBox_LayoutDirection attribute Any (shared captured text)
SH_ComboBox_ListMouseTracking attribute Any (shared captured text)
SH_ComboBox_Popup attribute Any (shared captured text)
SH_ComboBox_PopupFrameStyle attribute Any (shared captured text)
SH_ComboBox_UseNativePopup attribute Any (shared captured text)
SH_CustomBase attribute Any (shared captured text)
SH_Dial_BackgroundRole attribute Any (shared captured text)
SH_DialogButtonBox_ButtonsHaveIcons attribute Any (shared captured text)
SH_DialogButtonLayout attribute Any (shared captured text)
SH_DialogButtons_DefaultButton attribute Any (shared captured text)
SH_DitherDisabledText attribute Any (shared captured text)
SH_DockWidget_ButtonsHaveFrame attribute Any (shared captured text)
SH_DrawMenuBarSeparator attribute Any (shared captured text)
SH_EtchDisabledText attribute Any (shared captured text)
SH_FocusFrame_AboveWidget attribute Any (shared captured text)
SH_FocusFrame_Mask attribute Any (shared captured text)
SH_FontDialog_SelectAssociatedText attribute Any (shared captured text)
SH_FormLayoutFieldGrowthPolicy attribute Any (shared captured text)
SH_FormLayoutFormAlignment attribute Any (shared captured text)
SH_FormLayoutLabelAlignment attribute Any (shared captured text)
SH_FormLayoutWrapPolicy attribute Any (shared captured text)
SH_GroupBox_TextLabelColor attribute Any (shared captured text)
SH_GroupBox_TextLabelVerticalAlignment attribute Any (shared captured text)
SH_Header_ArrowAlignment attribute Any (shared captured text)
SH_ItemView_ActivateItemOnSingleClick attribute Any (shared captured text)
SH_ItemView_ArrowKeysNavigateIntoChildren attribute Any (shared captured text)
SH_ItemView_ChangeHighlightOnFocus attribute Any (shared captured text)
SH_ItemView_DrawDelegateFrame attribute Any (shared captured text)
SH_ItemView_EllipsisLocation attribute Any (shared captured text)
SH_ItemView_MovementWithoutUpdatingSelection attribute Any (shared captured text)
SH_ItemView_PaintAlternatingRowColorsForEmptyArea attribute Any (shared captured text)
SH_ItemView_ScrollMode attribute Any (shared captured text)
SH_ItemView_ShowDecorationSelected attribute Any (shared captured text)
SH_LineEdit_PasswordCharacter attribute Any (shared captured text)
SH_LineEdit_PasswordMaskDelay attribute Any (shared captured text)
SH_ListViewExpand_SelectMouseType attribute Any (shared captured text)
SH_MainWindow_SpaceBelowMenuBar attribute Any (shared captured text)
SH_MenuBar_AltKeyNavigation attribute Any (shared captured text)
SH_MenuBar_MouseTracking attribute Any (shared captured text)
SH_Menu_AllowActiveAndDisabled attribute Any (shared captured text)
SH_Menu_FadeOutOnHide attribute Any (shared captured text)
SH_Menu_FillScreenWithScroll attribute Any (shared captured text)
SH_Menu_FlashTriggeredItem attribute Any (shared captured text)
SH_Menu_KeyboardSearch attribute Any (shared captured text)
SH_Menu_Mask attribute Any (shared captured text)
SH_Menu_MouseTracking attribute Any (shared captured text)
SH_Menu_Scrollable attribute Any (shared captured text)
SH_Menu_SelectionWrap attribute Any (shared captured text)
SH_Menu_SloppySubMenus attribute Any (shared captured text)
SH_Menu_SpaceActivatesItem attribute Any (shared captured text)
SH_Menu_SubMenuDontStartSloppyOnLeave attribute Any (shared captured text)
SH_Menu_SubMenuPopupDelay attribute Any (shared captured text)
SH_Menu_SubMenuResetWhenReenteringParent attribute Any (shared captured text)
SH_Menu_SubMenuSloppyCloseTimeout attribute Any (shared captured text)
SH_Menu_SubMenuSloppySelectOtherActions attribute Any (shared captured text)
SH_Menu_SubMenuUniDirection attribute Any (shared captured text)
SH_Menu_SubMenuUniDirectionFailCount attribute Any (shared captured text)
SH_Menu_SupportsSections attribute Any (shared captured text)
SH_MessageBox_CenterButtons attribute Any (shared captured text)
SH_MessageBox_TextInteractionFlags attribute Any (shared captured text)
SH_MessageBox_UseBorderForButtonSpacing attribute Any (shared captured text)
SH_PrintDialog_RightAlignButtons attribute Any (shared captured text)
SH_ProgressDialog_CenterCancelButton attribute Any (shared captured text)
SH_ProgressDialog_TextLabelAlignment attribute Any (shared captured text)
SH_RequestSoftwareInputPanel attribute Any (shared captured text)
SH_RichText_FullWidthSelection attribute Any (shared captured text)
SH_RubberBand_Mask attribute Any (shared captured text)
SH_ScrollBar_ContextMenu attribute Any (shared captured text)
SH_ScrollBar_LeftClickAbsolutePosition attribute Any (shared captured text)
SH_ScrollBar_MiddleClickAbsolutePosition attribute Any (shared captured text)
SH_ScrollBar_RollBetweenButtons attribute Any (shared captured text)
SH_ScrollBar_ScrollWhenPointerLeavesControl attribute Any (shared captured text)
SH_ScrollBar_StopMouseOverSlider attribute Any (shared captured text)
SH_ScrollBar_Transient attribute Any (shared captured text)
SH_ScrollView_FrameOnlyAroundContents attribute Any (shared captured text)
SH_Slider_AbsoluteSetButtons attribute Any (shared captured text)
SH_Slider_PageSetButtons attribute Any (shared captured text)
SH_Slider_SloppyKeyEvents attribute Any (shared captured text)
SH_Slider_SnapToValue attribute Any (shared captured text)
SH_Slider_StopMouseOverSlider attribute Any (shared captured text)
SH_SpellCheckUnderlineStyle attribute Any (shared captured text)
SH_SpinBox_AnimateButton attribute Any (shared captured text)
SH_SpinBox_ButtonsInsideFrame attribute Any (shared captured text)
SH_SpinBox_ClickAutoRepeatRate attribute Any (shared captured text)
SH_SpinBox_ClickAutoRepeatThreshold attribute Any (shared captured text)
SH_SpinBox_KeyPressAutoRepeatRate attribute Any (shared captured text)
SH_SpinBox_StepModifier attribute Any (shared captured text)
SH_SpinControls_DisableOnBounds attribute Any (shared captured text)
SH_Splitter_OpaqueResize attribute Any (shared captured text)
SH_TabBar_Alignment attribute Any (shared captured text)
SH_TabBar_ChangeCurrentDelay attribute Any (shared captured text)
SH_TabBar_CloseButtonPosition attribute Any (shared captured text)
SH_TabBar_ElideMode attribute Any (shared captured text)
SH_TabBar_PreferNoArrows attribute Any (shared captured text)
SH_TabBar_SelectMouseType attribute Any (shared captured text)
SH_TabWidget_DefaultTabPosition attribute Any (shared captured text)
SH_Table_GridLineColor attribute Any (shared captured text)
SH_TextControl_FocusIndicatorTextCharFormat attribute Any (shared captured text)
SH_TitleBar_AutoRaise attribute Any (shared captured text)
SH_TitleBar_ModifyNotification attribute Any (shared captured text)
SH_TitleBar_NoBorder attribute Any (shared captured text)
SH_TitleBar_ShowToolTipsOnButtons attribute Any (shared captured text)
SH_ToolBar_Movable attribute Any (shared captured text)
SH_ToolBox_SelectedPageTitleBold attribute Any (shared captured text)
SH_ToolButtonStyle attribute Any (shared captured text)
SH_ToolButton_PopupDelay attribute Any (shared captured text)
SH_ToolTipLabel_Opacity attribute Any (shared captured text)
SH_ToolTip_FallAsleepDelay attribute Any (shared captured text)
SH_ToolTip_Mask attribute Any (shared captured text)
SH_ToolTip_WakeUpDelay attribute Any (shared captured text)
SH_UnderlineShortcut attribute Any (shared captured text)
SH_Widget_Animate attribute Any (shared captured text)
SH_Widget_Animation_Duration attribute Any (shared captured text)
SH_Widget_ShareActivation attribute Any (shared captured text)
SH_WindowFrame_Mask attribute Any (shared captured text)
SH_WizardStyle attribute Any (shared captured text)
SH_Workspace_FillSpaceOnMaximize attribute Any (shared captured text)
SP_ArrowBack attribute Any (shared captured text)
SP_ArrowDown attribute Any (shared captured text)
SP_ArrowForward attribute Any (shared captured text)
SP_ArrowLeft attribute Any (shared captured text)
SP_ArrowRight attribute Any (shared captured text)
SP_ArrowUp attribute Any (shared captured text)
SP_BrowserReload attribute Any (shared captured text)
SP_BrowserStop attribute Any (shared captured text)
SP_CommandLink attribute Any (shared captured text)
SP_ComputerIcon attribute Any (shared captured text)
SP_CustomBase attribute Any (shared captured text)
SP_DesktopIcon attribute Any (shared captured text)
SP_DialogAbortButton attribute Any (shared captured text)
SP_DialogApplyButton attribute Any (shared captured text)
SP_DialogCancelButton attribute Any (shared captured text)
SP_DialogCloseButton attribute Any (shared captured text)
SP_DialogDiscardButton attribute Any (shared captured text)
SP_DialogHelpButton attribute Any (shared captured text)
SP_DialogIgnoreButton attribute Any (shared captured text)
SP_DialogNoButton attribute Any (shared captured text)
SP_DialogNoToAllButton attribute Any (shared captured text)
SP_DialogOkButton attribute Any (shared captured text)
SP_DialogOpenButton attribute Any (shared captured text)
SP_DialogResetButton attribute Any (shared captured text)
SP_DialogRetryButton attribute Any (shared captured text)
SP_DialogSaveAllButton attribute Any (shared captured text)
SP_DialogSaveButton attribute Any (shared captured text)
SP_DialogYesButton attribute Any (shared captured text)
SP_DialogYesToAllButton attribute Any (shared captured text)
SP_DirClosedIcon attribute Any (shared captured text)
SP_DirHomeIcon attribute Any (shared captured text)
SP_DirIcon attribute Any (shared captured text)
SP_DirLinkIcon attribute Any (shared captured text)
SP_DirLinkOpenIcon attribute Any (shared captured text)
SP_DirOpenIcon attribute Any (shared captured text)
SP_DockWidgetCloseButton attribute Any (shared captured text)
SP_DriveCDIcon attribute Any (shared captured text)
SP_DriveDVDIcon attribute Any (shared captured text)
SP_DriveFDIcon attribute Any (shared captured text)
SP_DriveHDIcon attribute Any (shared captured text)
SP_DriveNetIcon attribute Any (shared captured text)
SP_FileDialogBack attribute Any (shared captured text)
SP_FileDialogContentsView attribute Any (shared captured text)
SP_FileDialogDetailedView attribute Any (shared captured text)
SP_FileDialogEnd attribute Any (shared captured text)
SP_FileDialogInfoView attribute Any (shared captured text)
SP_FileDialogListView attribute Any (shared captured text)
SP_FileDialogNewFolder attribute Any (shared captured text)
SP_FileDialogStart attribute Any (shared captured text)
SP_FileDialogToParent attribute Any (shared captured text)
SP_FileIcon attribute Any (shared captured text)
SP_FileLinkIcon attribute Any (shared captured text)
SP_LineEditClearButton attribute Any (shared captured text)
SP_MediaPause attribute Any (shared captured text)
SP_MediaPlay attribute Any (shared captured text)
SP_MediaSeekBackward attribute Any (shared captured text)
SP_MediaSeekForward attribute Any (shared captured text)
SP_MediaSkipBackward attribute Any (shared captured text)
SP_MediaSkipForward attribute Any (shared captured text)
SP_MediaStop attribute Any (shared captured text)
SP_MediaVolume attribute Any (shared captured text)
SP_MediaVolumeMuted attribute Any (shared captured text)
SP_MessageBoxCritical attribute Any (shared captured text)
SP_MessageBoxInformation attribute Any (shared captured text)
SP_MessageBoxQuestion attribute Any (shared captured text)
SP_MessageBoxWarning attribute Any (shared captured text)
SP_RestoreDefaultsButton attribute Any (shared captured text)
SP_TitleBarCloseButton attribute Any (shared captured text)
SP_TitleBarContextHelpButton attribute Any (shared captured text)
SP_TitleBarMaxButton attribute Any (shared captured text)
SP_TitleBarMenuButton attribute Any (shared captured text)
SP_TitleBarMinButton attribute Any (shared captured text)
SP_TitleBarNormalButton attribute Any (shared captured text)
SP_TitleBarShadeButton attribute Any (shared captured text)
SP_TitleBarUnshadeButton attribute Any (shared captured text)
SP_ToolBarHorizontalExtensionButton attribute Any (shared captured text)
SP_ToolBarVerticalExtensionButton attribute Any (shared captured text)
SP_TrashIcon attribute Any (shared captured text)
SP_VistaShield attribute Any (shared captured text)
StandardPixmap attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
State attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
StateFlag attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
State_Active attribute Any (shared captured text)
State_AutoRaise attribute Any (shared captured text)
State_Bottom attribute Any (shared captured text)
State_Children attribute Any (shared captured text)
State_DownArrow attribute Any (shared captured text)
State_Editing attribute Any (shared captured text)
State_Enabled attribute Any (shared captured text)
State_FocusAtBorder attribute Any (shared captured text)
State_HasFocus attribute Any (shared captured text)
State_Horizontal attribute Any (shared captured text)
State_Item attribute Any (shared captured text)
State_KeyboardFocusChange attribute Any (shared captured text)
State_Mini attribute Any (shared captured text)
State_MouseOver attribute Any (shared captured text)
State_NoChange attribute Any (shared captured text)
State_None attribute Any (shared captured text)
State_Off attribute Any (shared captured text)
State_On attribute Any (shared captured text)
State_Open attribute Any (shared captured text)
State_Raised attribute Any (shared captured text)
State_ReadOnly attribute Any (shared captured text)
State_Selected attribute Any (shared captured text)
State_Sibling attribute Any (shared captured text)
State_Small attribute Any (shared captured text)
State_Sunken attribute Any (shared captured text)
State_Top attribute Any (shared captured text)
State_UpArrow attribute Any (shared captured text)
State_Window attribute Any (shared captured text)
StyleHint attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
SubControl attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
SubControls attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
SubElement attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
alignedRect function (self, direction: Any, alignment: Any, size: Any, rectangle: Any) -> Any X.alignedRect(direction, alignment, size, rectangle) -> PythonQt.QtCore.QRect
blockSignals function (self, b: Any) -> bool X.blockSignals(b) -> bool (shared captured text)
childEvent function (self, event: Any) -> Any (shared captured text)
children function (self) -> tuple X.children() -> tuple (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
combinedLayoutSpacing function (self, controls1: Any, controls2: Any, orientation: Any, option: Any, widget: Any) -> int X.combinedLayoutSpacing(controls1, controls2, orientation, option, widget) -> int
connect function (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool X.connect(signal, receiver, slot, type) -> bool (shared captured text)
customEvent function (self, event: Any) -> Any (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
deleteLater function (self) -> Any (shared captured text)
destroyed function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.QtGui.QStyle.destroyed; argument details are not documented.
disconnect function (self, signal: Any, receiver: Any, slot: Any) -> bool X.disconnect(signal, receiver, slot) -> bool (shared captured text)
drawComplexControl function (self, cc: Any, opt: Any, p: Any, widget: Any) -> None X.drawComplexControl(cc, opt, p, widget)
drawControl function (self, element: Any, opt: Any, p: Any, w: Any) -> None X.drawControl(element, opt, p, w)
drawItemPixmap function (self, painter: Any, rect: Any, alignment: int, pixmap: Any) -> None X.drawItemPixmap(painter, rect, alignment, pixmap)
drawItemText function (self, painter: Any, rect: Any, arg2: flags, pal: Any, enabled: bool, text: str, textRole: Any) -> None X.drawItemText(painter, rect, flags, pal, enabled, text, textRole)
drawPrimitive function (self, pe: Any, opt: Any, p: Any, w: Any) -> None X.drawPrimitive(pe, opt, p, w)
dumpObjectInfo function (self) -> Any (shared captured text)
dumpObjectTree function (self) -> Any (shared captured text)
dynamicPropertyNames function (self) -> Any (shared captured text)
event function (self, event: Any) -> bool X.event(event) -> bool (shared captured text)
eventFilter function (self, watched: Any, event: Any) -> bool X.eventFilter(watched, event) -> bool (shared captured text)
findChild function (self, type: Any, name: Any) -> Any X.findChild(type, name) -> PythonQt.private.QObject (shared captured text)
findChildren function (self, type: Any, name: Any) -> tuple X.findChildren(type, name) -> tuple (shared captured text)
generatedIconPixmap function (self, iconMode: Any, pixmap: Any, opt: Any) -> Any X.generatedIconPixmap(iconMode, pixmap, opt) -> PythonQt.QtGui.QPixmap
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
hitTestComplexControl function (self, cc: Any, opt: Any, pt: Any, widget: Any) -> Any X.hitTestComplexControl(cc, opt, pt, widget)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
installEventFilter function (self, filterObj: Any) -> Any (shared captured text)
isSignalConnected function (self, signal: Any) -> bool X.isSignalConnected(signal) -> bool (shared captured text)
isWidgetType function (self) -> bool X.isWidgetType() -> bool (shared captured text)
isWindowType function (self) -> bool X.isWindowType() -> bool (shared captured text)
itemPixmapRect function (self, r: Any, arg1: flags, pixmap: Any) -> Any X.itemPixmapRect(r, flags, pixmap) -> PythonQt.QtCore.QRect
killTimer function (self, id: Any) -> Any (shared captured text)
layoutSpacing function (self, control1: Any, control2: Any, orientation: Any, option: Any, widget: Any) -> int X.layoutSpacing(control1, control2, orientation, option, widget) -> int
metaObject function (self) -> Any X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text)
moveToThread function (self, thread: Any) -> Any (shared captured text)
objectName attribute Any (shared captured text)
objectNameChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.QtGui.QStyle.objectNameChanged; argument details are not documented.
parent function (self) -> Any X.parent() -> PythonQt.private.QObject (shared captured text)
pixelMetric function (self, metric: Any, option: Any, widget: Any) -> int X.pixelMetric(metric, option, widget) -> int
polish function (self, application: Any) -> None Initializes the appearance of the given widget.
property function (self, name: Any) -> Any X.property(name) -> object (shared captured text)
proxy function (self) -> Any X.proxy() -> PythonQt.QtGui.QStyle
removeEventFilter function (self, obj: Any) -> Any (shared captured text)
sender function (self) -> Any X.sender() -> PythonQt.private.QObject (shared captured text)
senderSignalIndex function (self) -> int X.senderSignalIndex() -> int (shared captured text)
setObjectName function (self, name: Any) -> Any (shared captured text)
setParent function (self, parent: Any) -> Any (shared captured text)
setProperty function (self, name: Any, value: Any) -> bool X.setProperty(name, value) -> bool (shared captured text)
signalsBlocked function (self) -> bool X.signalsBlocked() -> bool (shared captured text)
sizeFromContents function (self, ct: Any, opt: Any, contentsSize: Any, w: Any) -> Any X.sizeFromContents(ct, opt, contentsSize, w) -> PythonQt.QtCore.QSize
sliderPositionFromValue function (self, min: int, max: int, val: int, space: int, upsideDown: bool) -> int X.sliderPositionFromValue(min, max, val, space, upsideDown) -> int
sliderValueFromPosition function (self, min: int, max: int, pos: int, space: int, upsideDown: bool) -> int X.sliderValueFromPosition(min, max, pos, space, upsideDown) -> int
standardIcon function (self, standardIcon: Any, option: Any, widget: Any) -> Any X.standardIcon(standardIcon, option, widget) -> PythonQt.QtGui.QIcon
standardPalette function (self) -> Any X.standardPalette() -> PythonQt.QtGui.QPalette
standardPixmap function (self, standardPixmap: Any, opt: Any, widget: Any) -> Any X.standardPixmap(standardPixmap, opt, widget) -> PythonQt.QtGui.QPixmap
startTimer function (self, interval: Any, timerType: Any) -> int X.startTimer(interval, timerType) -> int (shared captured text)
styleHint function (self, stylehint: Any, opt: Any, widget: Any, returnData: Any) -> int X.styleHint(stylehint, opt, widget, returnData) -> int
subControlRect function (self, cc: Any, opt: Any, sc: Any, widget: Any) -> Any X.subControlRect(cc, opt, sc, widget) -> PythonQt.QtCore.QRect
subElementRect function (self, subElement: Any, option: Any, widget: Any) -> Any X.subElementRect(subElement, option, widget) -> PythonQt.QtCore.QRect
thread function (self) -> Any (shared captured text)
timerEvent function (self, event: Any) -> Any (shared captured text)
tr function (self, text: Any, ambig: Any, n: Any) -> str X.tr(text, ambig, n) -> str (shared captured text)
unpolish function (self, application: Any) -> None Uninitialize the given widget's appearance.
visualAlignment function (self, direction: Any, alignment: Any) -> Any X.visualAlignment(direction, alignment)
visualPos function (self, direction: Any, boundingRect: Any, logicalPos: Any) -> Any X.visualPos(direction, boundingRect, logicalPos) -> PythonQt.QtCore.QPoint
visualRect function (self, direction: Any, boundingRect: Any, logicalRect: Any) -> Any X.visualRect(direction, boundingRect, logicalRect) -> PythonQt.QtCore.QRect