QtBase  v6.3.1
Public Types | Public Member Functions | Protected Member Functions | List of all members
QPixmapStyle Class Reference

The QPixmapStyle class provides mechanism for writing pixmap based styles. More...

#include <qpixmapstyle_p.h>

Inheritance diagram for QPixmapStyle:
Inheritance graph
[legend]
Collaboration diagram for QPixmapStyle:
Collaboration graph
[legend]

Public Types

enum  ControlDescriptor {
  BG_Background , LE_Enabled , LE_Disabled , LE_Focused ,
  PB_Enabled , PB_Pressed , PB_PressedDisabled , PB_Checked ,
  PB_Disabled , TE_Enabled , TE_Disabled , TE_Focused ,
  PB_HBackground , PB_HContent , PB_HComplete , PB_VBackground ,
  PB_VContent , PB_VComplete , SG_HEnabled , SG_HDisabled ,
  SG_HActiveEnabled , SG_HActivePressed , SG_HActiveDisabled , SG_VEnabled ,
  SG_VDisabled , SG_VActiveEnabled , SG_VActivePressed , SG_VActiveDisabled ,
  DD_ButtonEnabled , DD_ButtonDisabled , DD_ButtonPressed , DD_PopupDown ,
  DD_PopupUp , DD_ItemSelected , ID_Selected , SB_Horizontal ,
  SB_Vertical
}
 
enum  ControlPixmap {
  CB_Enabled , CB_Checked , CB_Pressed , CB_PressedChecked ,
  CB_Disabled , CB_DisabledChecked , RB_Enabled , RB_Checked ,
  RB_Pressed , RB_Disabled , RB_DisabledChecked , SH_HEnabled ,
  SH_HDisabled , SH_HPressed , SH_VEnabled , SH_VDisabled ,
  SH_VPressed , DD_ArrowEnabled , DD_ArrowDisabled , DD_ArrowPressed ,
  DD_ArrowOpen , DD_ItemSeparator , ID_Separator
}
 
- Public Types inherited from QStyle
enum  StateFlag {
  State_None = 0x00000000 , State_Enabled = 0x00000001 , State_Raised = 0x00000002 , State_Sunken = 0x00000004 ,
  State_Off = 0x00000008 , State_NoChange = 0x00000010 , State_On = 0x00000020 , State_DownArrow = 0x00000040 ,
  State_Horizontal = 0x00000080 , State_HasFocus = 0x00000100 , State_Top = 0x00000200 , State_Bottom = 0x00000400 ,
  State_FocusAtBorder = 0x00000800 , State_AutoRaise = 0x00001000 , State_MouseOver = 0x00002000 , State_UpArrow = 0x00004000 ,
  State_Selected = 0x00008000 , State_Active = 0x00010000 , State_Window = 0x00020000 , State_Open = 0x00040000 ,
  State_Children = 0x00080000 , State_Item = 0x00100000 , State_Sibling = 0x00200000 , State_Editing = 0x00400000 ,
  State_KeyboardFocusChange = 0x00800000 , State_ReadOnly = 0x02000000 , State_Small = 0x04000000 , State_Mini = 0x08000000
}
 
enum  PrimitiveElement {
  PE_Frame , PE_FrameDefaultButton , PE_FrameDockWidget , PE_FrameFocusRect ,
  PE_FrameGroupBox , PE_FrameLineEdit , PE_FrameMenu , PE_FrameStatusBarItem ,
  PE_FrameTabWidget , PE_FrameWindow , PE_FrameButtonBevel , PE_FrameButtonTool ,
  PE_FrameTabBarBase , PE_PanelButtonCommand , PE_PanelButtonBevel , PE_PanelButtonTool ,
  PE_PanelMenuBar , PE_PanelToolBar , PE_PanelLineEdit , PE_IndicatorArrowDown ,
  PE_IndicatorArrowLeft , PE_IndicatorArrowRight , PE_IndicatorArrowUp , PE_IndicatorBranch ,
  PE_IndicatorButtonDropDown , PE_IndicatorItemViewItemCheck , PE_IndicatorCheckBox , PE_IndicatorDockWidgetResizeHandle ,
  PE_IndicatorHeaderArrow , PE_IndicatorMenuCheckMark , PE_IndicatorProgressChunk , PE_IndicatorRadioButton ,
  PE_IndicatorSpinDown , PE_IndicatorSpinMinus , PE_IndicatorSpinPlus , PE_IndicatorSpinUp ,
  PE_IndicatorToolBarHandle , PE_IndicatorToolBarSeparator , PE_PanelTipLabel , PE_IndicatorTabTear ,
  PE_IndicatorTabTearLeft = PE_IndicatorTabTear , PE_PanelScrollAreaCorner , PE_Widget , PE_IndicatorColumnViewArrow ,
  PE_IndicatorItemViewItemDrop , PE_PanelItemViewItem , PE_PanelItemViewRow , PE_PanelStatusBar ,
  PE_IndicatorTabClose , PE_PanelMenu , PE_IndicatorTabTearRight , PE_CustomBase = 0xf000000
}
 
enum  ControlElement {
  CE_PushButton , CE_PushButtonBevel , CE_PushButtonLabel , CE_CheckBox ,
  CE_CheckBoxLabel , CE_RadioButton , CE_RadioButtonLabel , CE_TabBarTab ,
  CE_TabBarTabShape , CE_TabBarTabLabel , CE_ProgressBar , CE_ProgressBarGroove ,
  CE_ProgressBarContents , CE_ProgressBarLabel , CE_MenuItem , CE_MenuScroller ,
  CE_MenuVMargin , CE_MenuHMargin , CE_MenuTearoff , CE_MenuEmptyArea ,
  CE_MenuBarItem , CE_MenuBarEmptyArea , CE_ToolButtonLabel , CE_Header ,
  CE_HeaderSection , CE_HeaderLabel , CE_ToolBoxTab , CE_SizeGrip ,
  CE_Splitter , CE_RubberBand , CE_DockWidgetTitle , CE_ScrollBarAddLine ,
  CE_ScrollBarSubLine , CE_ScrollBarAddPage , CE_ScrollBarSubPage , CE_ScrollBarSlider ,
  CE_ScrollBarFirst , CE_ScrollBarLast , CE_FocusFrame , CE_ComboBoxLabel ,
  CE_ToolBar , CE_ToolBoxTabShape , CE_ToolBoxTabLabel , CE_HeaderEmptyArea ,
  CE_ColumnViewGrip , CE_ItemViewItem , CE_ShapedFrame , CE_CustomBase = 0xf0000000
}
 
enum  SubElement {
  SE_PushButtonContents , SE_PushButtonFocusRect , SE_CheckBoxIndicator , SE_CheckBoxContents ,
  SE_CheckBoxFocusRect , SE_CheckBoxClickRect , SE_RadioButtonIndicator , SE_RadioButtonContents ,
  SE_RadioButtonFocusRect , SE_RadioButtonClickRect , SE_ComboBoxFocusRect , SE_SliderFocusRect ,
  SE_ProgressBarGroove , SE_ProgressBarContents , SE_ProgressBarLabel , SE_ToolBoxTabContents ,
  SE_HeaderLabel , SE_HeaderArrow , SE_TabWidgetTabBar , SE_TabWidgetTabPane ,
  SE_TabWidgetTabContents , SE_TabWidgetLeftCorner , SE_TabWidgetRightCorner , SE_ItemViewItemCheckIndicator ,
  SE_TabBarTearIndicator , SE_TabBarTearIndicatorLeft = SE_TabBarTearIndicator , SE_TreeViewDisclosureItem , SE_LineEditContents ,
  SE_FrameContents , SE_DockWidgetCloseButton , SE_DockWidgetFloatButton , SE_DockWidgetTitleBarText ,
  SE_DockWidgetIcon , SE_CheckBoxLayoutItem , SE_ComboBoxLayoutItem , SE_DateTimeEditLayoutItem ,
  SE_LabelLayoutItem , SE_ProgressBarLayoutItem , SE_PushButtonLayoutItem , SE_RadioButtonLayoutItem ,
  SE_SliderLayoutItem , SE_SpinBoxLayoutItem , SE_ToolButtonLayoutItem , SE_FrameLayoutItem ,
  SE_GroupBoxLayoutItem , SE_TabWidgetLayoutItem , SE_ItemViewItemDecoration , SE_ItemViewItemText ,
  SE_ItemViewItemFocusRect , SE_TabBarTabLeftButton , SE_TabBarTabRightButton , SE_TabBarTabText ,
  SE_ShapedFrameContents , SE_ToolBarHandle , SE_TabBarScrollLeftButton , SE_TabBarScrollRightButton ,
  SE_TabBarTearIndicatorRight , SE_PushButtonBevel , SE_CustomBase = 0xf0000000
}
 
enum  ComplexControl {
  CC_SpinBox , CC_ComboBox , CC_ScrollBar , CC_Slider ,
  CC_ToolButton , CC_TitleBar , CC_Dial , CC_GroupBox ,
  CC_MdiControls , CC_CustomBase = 0xf0000000
}
 
enum  SubControl {
  SC_None = 0x00000000 , SC_ScrollBarAddLine = 0x00000001 , SC_ScrollBarSubLine = 0x00000002 , SC_ScrollBarAddPage = 0x00000004 ,
  SC_ScrollBarSubPage = 0x00000008 , SC_ScrollBarFirst = 0x00000010 , SC_ScrollBarLast = 0x00000020 , SC_ScrollBarSlider = 0x00000040 ,
  SC_ScrollBarGroove = 0x00000080 , SC_SpinBoxUp = 0x00000001 , SC_SpinBoxDown = 0x00000002 , SC_SpinBoxFrame = 0x00000004 ,
  SC_SpinBoxEditField = 0x00000008 , SC_ComboBoxFrame = 0x00000001 , SC_ComboBoxEditField = 0x00000002 , SC_ComboBoxArrow = 0x00000004 ,
  SC_ComboBoxListBoxPopup = 0x00000008 , SC_SliderGroove = 0x00000001 , SC_SliderHandle = 0x00000002 , SC_SliderTickmarks = 0x00000004 ,
  SC_ToolButton = 0x00000001 , SC_ToolButtonMenu = 0x00000002 , SC_TitleBarSysMenu = 0x00000001 , SC_TitleBarMinButton = 0x00000002 ,
  SC_TitleBarMaxButton = 0x00000004 , SC_TitleBarCloseButton = 0x00000008 , SC_TitleBarNormalButton = 0x00000010 , SC_TitleBarShadeButton = 0x00000020 ,
  SC_TitleBarUnshadeButton = 0x00000040 , SC_TitleBarContextHelpButton = 0x00000080 , SC_TitleBarLabel = 0x00000100 , SC_DialGroove = 0x00000001 ,
  SC_DialHandle = 0x00000002 , SC_DialTickmarks = 0x00000004 , SC_GroupBoxCheckBox = 0x00000001 , SC_GroupBoxLabel = 0x00000002 ,
  SC_GroupBoxContents = 0x00000004 , SC_GroupBoxFrame = 0x00000008 , SC_MdiMinButton = 0x00000001 , SC_MdiNormalButton = 0x00000002 ,
  SC_MdiCloseButton = 0x00000004 , SC_CustomBase = 0xf0000000 , SC_All = 0xffffffff
}
 
enum  PixelMetric {
  PM_ButtonMargin , PM_ButtonDefaultIndicator , PM_MenuButtonIndicator , PM_ButtonShiftHorizontal ,
  PM_ButtonShiftVertical , PM_DefaultFrameWidth , PM_SpinBoxFrameWidth , PM_ComboBoxFrameWidth ,
  PM_MaximumDragDistance , PM_ScrollBarExtent , PM_ScrollBarSliderMin , PM_SliderThickness ,
  PM_SliderControlThickness , PM_SliderLength , PM_SliderTickmarkOffset , PM_SliderSpaceAvailable ,
  PM_DockWidgetSeparatorExtent , PM_DockWidgetHandleExtent , PM_DockWidgetFrameWidth , PM_TabBarTabOverlap ,
  PM_TabBarTabHSpace , PM_TabBarTabVSpace , PM_TabBarBaseHeight , PM_TabBarBaseOverlap ,
  PM_ProgressBarChunkWidth , PM_SplitterWidth , PM_TitleBarHeight , PM_MenuScrollerHeight ,
  PM_MenuHMargin , PM_MenuVMargin , PM_MenuPanelWidth , PM_MenuTearoffHeight ,
  PM_MenuDesktopFrameWidth , PM_MenuBarPanelWidth , PM_MenuBarItemSpacing , PM_MenuBarVMargin ,
  PM_MenuBarHMargin , PM_IndicatorWidth , PM_IndicatorHeight , PM_ExclusiveIndicatorWidth ,
  PM_ExclusiveIndicatorHeight , PM_DialogButtonsSeparator , PM_DialogButtonsButtonWidth , PM_DialogButtonsButtonHeight ,
  PM_MdiSubWindowFrameWidth , PM_MdiSubWindowMinimizedWidth , PM_HeaderMargin , PM_HeaderMarkSize ,
  PM_HeaderGripMargin , PM_TabBarTabShiftHorizontal , PM_TabBarTabShiftVertical , PM_TabBarScrollButtonWidth ,
  PM_ToolBarFrameWidth , PM_ToolBarHandleExtent , PM_ToolBarItemSpacing , PM_ToolBarItemMargin ,
  PM_ToolBarSeparatorExtent , PM_ToolBarExtensionExtent , PM_SpinBoxSliderHeight , PM_ToolBarIconSize ,
  PM_ListViewIconSize , PM_IconViewIconSize , PM_SmallIconSize , PM_LargeIconSize ,
  PM_FocusFrameVMargin , PM_FocusFrameHMargin , PM_ToolTipLabelFrameWidth , PM_CheckBoxLabelSpacing ,
  PM_TabBarIconSize , PM_SizeGripSize , PM_DockWidgetTitleMargin , PM_MessageBoxIconSize ,
  PM_ButtonIconSize , PM_DockWidgetTitleBarButtonMargin , PM_RadioButtonLabelSpacing , PM_LayoutLeftMargin ,
  PM_LayoutTopMargin , PM_LayoutRightMargin , PM_LayoutBottomMargin , PM_LayoutHorizontalSpacing ,
  PM_LayoutVerticalSpacing , PM_TabBar_ScrollButtonOverlap , PM_TextCursorWidth , PM_TabCloseIndicatorWidth ,
  PM_TabCloseIndicatorHeight , PM_ScrollView_ScrollBarSpacing , PM_ScrollView_ScrollBarOverlap , PM_SubMenuOverlap ,
  PM_TreeViewIndentation , PM_HeaderDefaultSectionSizeHorizontal , PM_HeaderDefaultSectionSizeVertical , PM_TitleBarButtonIconSize ,
  PM_TitleBarButtonSize , PM_LineEditIconSize , PM_LineEditIconMargin , PM_CustomBase = 0xf0000000
}
 
enum  ContentsType {
  CT_PushButton , CT_CheckBox , CT_RadioButton , CT_ToolButton ,
  CT_ComboBox , CT_Splitter , CT_ProgressBar , CT_MenuItem ,
  CT_MenuBarItem , CT_MenuBar , CT_Menu , CT_TabBarTab ,
  CT_Slider , CT_ScrollBar , CT_LineEdit , CT_SpinBox ,
  CT_SizeGrip , CT_TabWidget , CT_DialogButtons , CT_HeaderSection ,
  CT_GroupBox , CT_MdiControls , CT_ItemViewItem , CT_CustomBase = 0xf0000000
}
 
enum  RequestSoftwareInputPanel { RSIP_OnMouseClickAndAlreadyFocused , RSIP_OnMouseClick }
 
enum  StyleHint {
  SH_EtchDisabledText , SH_DitherDisabledText , SH_ScrollBar_MiddleClickAbsolutePosition , SH_ScrollBar_ScrollWhenPointerLeavesControl ,
  SH_TabBar_SelectMouseType , SH_TabBar_Alignment , SH_Header_ArrowAlignment , SH_Slider_SnapToValue ,
  SH_Slider_SloppyKeyEvents , SH_ProgressDialog_CenterCancelButton , SH_ProgressDialog_TextLabelAlignment , SH_PrintDialog_RightAlignButtons ,
  SH_MainWindow_SpaceBelowMenuBar , SH_FontDialog_SelectAssociatedText , SH_Menu_AllowActiveAndDisabled , SH_Menu_SpaceActivatesItem ,
  SH_Menu_SubMenuPopupDelay , SH_ScrollView_FrameOnlyAroundContents , SH_MenuBar_AltKeyNavigation , SH_ComboBox_ListMouseTracking ,
  SH_Menu_MouseTracking , SH_MenuBar_MouseTracking , SH_ItemView_ChangeHighlightOnFocus , SH_Widget_ShareActivation ,
  SH_Workspace_FillSpaceOnMaximize , SH_ComboBox_Popup , SH_TitleBar_NoBorder , SH_Slider_StopMouseOverSlider ,
  SH_BlinkCursorWhenTextSelected , SH_RichText_FullWidthSelection , SH_Menu_Scrollable , SH_GroupBox_TextLabelVerticalAlignment ,
  SH_GroupBox_TextLabelColor , SH_Menu_SloppySubMenus , SH_Table_GridLineColor , SH_LineEdit_PasswordCharacter ,
  SH_DialogButtons_DefaultButton , SH_ToolBox_SelectedPageTitleBold , SH_TabBar_PreferNoArrows , SH_ScrollBar_LeftClickAbsolutePosition ,
  SH_ListViewExpand_SelectMouseType , SH_UnderlineShortcut , SH_SpinBox_AnimateButton , SH_SpinBox_KeyPressAutoRepeatRate ,
  SH_SpinBox_ClickAutoRepeatRate , SH_Menu_FillScreenWithScroll , SH_ToolTipLabel_Opacity , SH_DrawMenuBarSeparator ,
  SH_TitleBar_ModifyNotification , SH_Button_FocusPolicy , SH_MessageBox_UseBorderForButtonSpacing , SH_TitleBar_AutoRaise ,
  SH_ToolButton_PopupDelay , SH_FocusFrame_Mask , SH_RubberBand_Mask , SH_WindowFrame_Mask ,
  SH_SpinControls_DisableOnBounds , SH_Dial_BackgroundRole , SH_ComboBox_LayoutDirection , SH_ItemView_EllipsisLocation ,
  SH_ItemView_ShowDecorationSelected , SH_ItemView_ActivateItemOnSingleClick , SH_ScrollBar_ContextMenu , SH_ScrollBar_RollBetweenButtons ,
  SH_Slider_AbsoluteSetButtons , SH_Slider_PageSetButtons , SH_Menu_KeyboardSearch , SH_TabBar_ElideMode ,
  SH_DialogButtonLayout , SH_ComboBox_PopupFrameStyle , SH_MessageBox_TextInteractionFlags , SH_DialogButtonBox_ButtonsHaveIcons ,
  SH_MessageBox_CenterButtons , SH_Menu_SelectionWrap , SH_ItemView_MovementWithoutUpdatingSelection , SH_ToolTip_Mask ,
  SH_FocusFrame_AboveWidget , SH_TextControl_FocusIndicatorTextCharFormat , SH_WizardStyle , SH_ItemView_ArrowKeysNavigateIntoChildren ,
  SH_Menu_Mask , SH_Menu_FlashTriggeredItem , SH_Menu_FadeOutOnHide , SH_SpinBox_ClickAutoRepeatThreshold ,
  SH_ItemView_PaintAlternatingRowColorsForEmptyArea , SH_FormLayoutWrapPolicy , SH_TabWidget_DefaultTabPosition , SH_ToolBar_Movable ,
  SH_FormLayoutFieldGrowthPolicy , SH_FormLayoutFormAlignment , SH_FormLayoutLabelAlignment , SH_ItemView_DrawDelegateFrame ,
  SH_TabBar_CloseButtonPosition , SH_DockWidget_ButtonsHaveFrame , SH_ToolButtonStyle , SH_RequestSoftwareInputPanel ,
  SH_ScrollBar_Transient , SH_Menu_SupportsSections , SH_ToolTip_WakeUpDelay , SH_ToolTip_FallAsleepDelay ,
  SH_Widget_Animate , SH_Splitter_OpaqueResize , SH_ComboBox_UseNativePopup , SH_LineEdit_PasswordMaskDelay ,
  SH_TabBar_ChangeCurrentDelay , SH_Menu_SubMenuUniDirection , SH_Menu_SubMenuUniDirectionFailCount , SH_Menu_SubMenuSloppySelectOtherActions ,
  SH_Menu_SubMenuSloppyCloseTimeout , SH_Menu_SubMenuResetWhenReenteringParent , SH_Menu_SubMenuDontStartSloppyOnLeave , SH_ItemView_ScrollMode ,
  SH_TitleBar_ShowToolTipsOnButtons , SH_Widget_Animation_Duration , SH_ComboBox_AllowWheelScrolling , SH_SpinBox_ButtonsInsideFrame ,
  SH_SpinBox_StepModifier , SH_TabBar_AllowWheelScrolling , SH_Table_AlwaysDrawLeftTopGridLines , SH_SpinBox_SelectOnStep ,
  SH_CustomBase = 0xf0000000
}
 
enum  StandardPixmap {
  SP_TitleBarMenuButton , SP_TitleBarMinButton , SP_TitleBarMaxButton , SP_TitleBarCloseButton ,
  SP_TitleBarNormalButton , SP_TitleBarShadeButton , SP_TitleBarUnshadeButton , SP_TitleBarContextHelpButton ,
  SP_DockWidgetCloseButton , SP_MessageBoxInformation , SP_MessageBoxWarning , SP_MessageBoxCritical ,
  SP_MessageBoxQuestion , SP_DesktopIcon , SP_TrashIcon , SP_ComputerIcon ,
  SP_DriveFDIcon , SP_DriveHDIcon , SP_DriveCDIcon , SP_DriveDVDIcon ,
  SP_DriveNetIcon , SP_DirOpenIcon , SP_DirClosedIcon , SP_DirLinkIcon ,
  SP_DirLinkOpenIcon , SP_FileIcon , SP_FileLinkIcon , SP_ToolBarHorizontalExtensionButton ,
  SP_ToolBarVerticalExtensionButton , SP_FileDialogStart , SP_FileDialogEnd , SP_FileDialogToParent ,
  SP_FileDialogNewFolder , SP_FileDialogDetailedView , SP_FileDialogInfoView , SP_FileDialogContentsView ,
  SP_FileDialogListView , SP_FileDialogBack , SP_DirIcon , SP_DialogOkButton ,
  SP_DialogCancelButton , SP_DialogHelpButton , SP_DialogOpenButton , SP_DialogSaveButton ,
  SP_DialogCloseButton , SP_DialogApplyButton , SP_DialogResetButton , SP_DialogDiscardButton ,
  SP_DialogYesButton , SP_DialogNoButton , SP_ArrowUp , SP_ArrowDown ,
  SP_ArrowLeft , SP_ArrowRight , SP_ArrowBack , SP_ArrowForward ,
  SP_DirHomeIcon , SP_CommandLink , SP_VistaShield , SP_BrowserReload ,
  SP_BrowserStop , SP_MediaPlay , SP_MediaStop , SP_MediaPause ,
  SP_MediaSkipForward , SP_MediaSkipBackward , SP_MediaSeekForward , SP_MediaSeekBackward ,
  SP_MediaVolume , SP_MediaVolumeMuted , SP_LineEditClearButton , SP_DialogYesToAllButton ,
  SP_DialogNoToAllButton , SP_DialogSaveAllButton , SP_DialogAbortButton , SP_DialogRetryButton ,
  SP_DialogIgnoreButton , SP_RestoreDefaultsButton , SP_TabCloseButton , SP_CustomBase = 0xf0000000
}
 

Public Member Functions

 QPixmapStyle ()
 
 ~QPixmapStyle ()
 
void polish (QApplication *application) override
 
void polish (QPalette &palette) override
 
void polish (QWidget *widget) override
 
void unpolish (QApplication *application) override
 
void unpolish (QWidget *widget) override
 
void drawPrimitive (PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget=nullptr) const override
 
void drawControl (ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget=nullptr) const override
 
void drawComplexControl (ComplexControl cc, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget=nullptr) const override
 
QSize sizeFromContents (ContentsType type, const QStyleOption *option, const QSize &contentsSize, const QWidget *widget=nullptr) const override
 
QRect subElementRect (SubElement element, const QStyleOption *option, const QWidget *widget=nullptr) const override
 
QRect subControlRect (ComplexControl cc, const QStyleOptionComplex *option, SubControl sc, const QWidget *widget=nullptr) const override
 
int pixelMetric (PixelMetric metric, const QStyleOption *option=nullptr, const QWidget *widget=nullptr) const override
 
int styleHint (StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData) const override
 
SubControl hitTestComplexControl (ComplexControl control, const QStyleOptionComplex *option, const QPoint &pos, const QWidget *widget) const override
 
bool eventFilter (QObject *watched, QEvent *event) override
 
void addDescriptor (ControlDescriptor control, const QString &fileName, QMargins margins=QMargins(), QTileRules tileRules=QTileRules(Qt::RepeatTile, Qt::RepeatTile))
 
void copyDescriptor (ControlDescriptor source, ControlDescriptor dest)
 
void drawCachedPixmap (ControlDescriptor control, const QRect &rect, QPainter *p) const
 
void addPixmap (ControlPixmap control, const QString &fileName, QMargins margins=QMargins())
 
void copyPixmap (ControlPixmap source, ControlPixmap dest)
 
- Public Member Functions inherited from QCommonStyle
 QCommonStyle ()
 
 ~QCommonStyle ()
 
QIcon standardIcon (StandardPixmap standardIcon, const QStyleOption *opt=nullptr, const QWidget *widget=nullptr) const override
 
QPixmap standardPixmap (StandardPixmap sp, const QStyleOption *opt=nullptr, const QWidget *widget=nullptr) const override
 
QPixmap generatedIconPixmap (QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const override
 
int layoutSpacing (QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption *option=nullptr, const QWidget *widget=nullptr) const override
 
- Public Member Functions inherited from QStyle
 QStyle ()
 
virtual ~QStyle ()
 
QString name () const
 
virtual QRect itemTextRect (const QFontMetrics &fm, const QRect &r, int flags, bool enabled, const QString &text) const
 
virtual QRect itemPixmapRect (const QRect &r, int flags, const QPixmap &pixmap) const
 
virtual void drawItemText (QPainter *painter, const QRect &rect, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole=QPalette::NoRole) const
 
virtual void drawItemPixmap (QPainter *painter, const QRect &rect, int alignment, const QPixmap &pixmap) const
 
virtual QPalette standardPalette () const
 
int combinedLayoutSpacing (QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption *option=nullptr, QWidget *widget=nullptr) const
 
const QStyleproxy () const
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 
virtual ~QObject ()
 
virtual bool event (QEvent *event)
 
QString objectName () const
 
void setObjectName (const QString &name)
 
QBindable< QStringbindableObjectName ()
 
bool isWidgetType () const
 
bool isWindowType () const
 
bool signalsBlocked () const noexcept
 
bool blockSignals (bool b) noexcept
 
QThreadthread () const
 
void moveToThread (QThread *thread)
 
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 
void killTimer (int id)
 
template<typename T >
T findChild (const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
const QObjectListchildren () const
 
void setParent (QObject *parent)
 
void installEventFilter (QObject *filterObj)
 
void removeEventFilter (QObject *obj)
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const
 
bool disconnect (const QObject *receiver, const char *member=nullptr) const
 
void dumpObjectTree () const
 
void dumpObjectInfo () const
 
bool setProperty (const char *name, const QVariant &value)
 
QVariant property (const char *name) const
 
QList< QByteArraydynamicPropertyNames () const
 
QBindingStoragebindingStorage ()
 
const QBindingStoragebindingStorage () const
 
QObjectparent () const
 
bool inherits (const char *classname) const
 

Protected Member Functions

void drawPushButton (const QStyleOption *option, QPainter *painter, const QWidget *widget) const
 
void drawLineEdit (const QStyleOption *option, QPainter *painter, const QWidget *widget) const
 
void drawTextEdit (const QStyleOption *option, QPainter *painter, const QWidget *widget) const
 
void drawCheckBox (const QStyleOption *option, QPainter *painter, const QWidget *widget) const
 
void drawRadioButton (const QStyleOption *option, QPainter *painter, const QWidget *widget) const
 
void drawPanelItemViewItem (const QStyleOption *option, QPainter *painter, const QWidget *widget) const
 
void drawProgressBarBackground (const QStyleOption *option, QPainter *painter, const QWidget *widget) const
 
void drawProgressBarLabel (const QStyleOption *option, QPainter *painter, const QWidget *widget) const
 
void drawProgressBarFill (const QStyleOption *option, QPainter *painter, const QWidget *widget) const
 
void drawSlider (const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const
 
void drawComboBox (const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const
 
void drawScrollBar (const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const
 
QSize pushButtonSizeFromContents (const QStyleOption *option, const QSize &contentsSize, const QWidget *widget) const
 
QSize lineEditSizeFromContents (const QStyleOption *option, const QSize &contentsSize, const QWidget *widget) const
 
QSize progressBarSizeFromContents (const QStyleOption *option, const QSize &contentsSize, const QWidget *widget) const
 
QSize sliderSizeFromContents (const QStyleOption *option, const QSize &contentsSize, const QWidget *widget) const
 
QSize comboBoxSizeFromContents (const QStyleOption *option, const QSize &contentsSize, const QWidget *widget) const
 
QSize itemViewSizeFromContents (const QStyleOption *option, const QSize &contentsSize, const QWidget *widget) const
 
QRect comboBoxSubControlRect (const QStyleOptionComplex *option, QPixmapStyle::SubControl sc, const QWidget *widget) const
 
QRect scrollBarSubControlRect (const QStyleOptionComplex *option, QPixmapStyle::SubControl sc, const QWidget *widget) const
 
 QPixmapStyle (QPixmapStylePrivate &dd)
 
- Protected Member Functions inherited from QCommonStyle
 QCommonStyle (QCommonStylePrivate &dd)
 
- Protected Member Functions inherited from QStyle
 QStyle (QStylePrivate &dd)
 
- Protected Member Functions inherited from QObject
QObjectsender () const
 
int senderSignalIndex () const
 
int receivers (const char *signal) const
 
bool isSignalConnected (const QMetaMethod &signal) const
 
virtual void timerEvent (QTimerEvent *event)
 
virtual void childEvent (QChildEvent *event)
 
virtual void customEvent (QEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)
 

Additional Inherited Members

- Public Slots inherited from QObject
void deleteLater ()
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 
- Static Public Member Functions inherited from QStyle
static QRect visualRect (Qt::LayoutDirection direction, const QRect &boundingRect, const QRect &logicalRect)
 
static QPoint visualPos (Qt::LayoutDirection direction, const QRect &boundingRect, const QPoint &logicalPos)
 
static int sliderPositionFromValue (int min, int max, int val, int space, bool upsideDown=false)
 
static int sliderValueFromPosition (int min, int max, int pos, int space, bool upsideDown=false)
 
static Qt::Alignment visualAlignment (Qt::LayoutDirection direction, Qt::Alignment alignment)
 
static QRect alignedRect (Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize &size, const QRect &rectangle)
 
- Static Public Member Functions inherited from QObject
static QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static bool disconnect (const QMetaObject::Connection &)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot)
 
template<typename Func1 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero)
 
- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Properties inherited from QObject
QString objectName
 the name of this object More...
 

Detailed Description

The QPixmapStyle class provides mechanism for writing pixmap based styles.

Since
5.7

\inmodule QtWidgets

Definition at line 64 of file qpixmapstyle_p.h.

Member Enumeration Documentation

◆ ControlDescriptor

Enumerator
BG_Background 
LE_Enabled 
LE_Disabled 
LE_Focused 
PB_Enabled 
PB_Pressed 
PB_PressedDisabled 
PB_Checked 
PB_Disabled 
TE_Enabled 
TE_Disabled 
TE_Focused 
PB_HBackground 
PB_HContent 
PB_HComplete 
PB_VBackground 
PB_VContent 
PB_VComplete 
SG_HEnabled 
SG_HDisabled 
SG_HActiveEnabled 
SG_HActivePressed 
SG_HActiveDisabled 
SG_VEnabled 
SG_VDisabled 
SG_VActiveEnabled 
SG_VActivePressed 
SG_VActiveDisabled 
DD_ButtonEnabled 
DD_ButtonDisabled 
DD_ButtonPressed 
DD_PopupDown 
DD_PopupUp 
DD_ItemSelected 
ID_Selected 
SB_Horizontal 
SB_Vertical 

Definition at line 69 of file qpixmapstyle_p.h.

◆ ControlPixmap

Enumerator
CB_Enabled 
CB_Checked 
CB_Pressed 
CB_PressedChecked 
CB_Disabled 
CB_DisabledChecked 
RB_Enabled 
RB_Checked 
RB_Pressed 
RB_Disabled 
RB_DisabledChecked 
SH_HEnabled 
SH_HDisabled 
SH_HPressed 
SH_VEnabled 
SH_VDisabled 
SH_VPressed 
DD_ArrowEnabled 
DD_ArrowDisabled 
DD_ArrowPressed 
DD_ArrowOpen 
DD_ItemSeparator 
ID_Separator 

Definition at line 109 of file qpixmapstyle_p.h.

Constructor & Destructor Documentation

◆ QPixmapStyle() [1/2]

QPixmapStyle::QPixmapStyle ( )

Definition at line 107 of file qpixmapstyle.cpp.

◆ ~QPixmapStyle()

QPixmapStyle::~QPixmapStyle ( )

Destroys the QPixmapStyle object.

Definition at line 115 of file qpixmapstyle.cpp.

◆ QPixmapStyle() [2/2]

QPixmapStyle::QPixmapStyle ( QPixmapStylePrivate dd)
protected

Definition at line 716 of file qpixmapstyle.cpp.

Member Function Documentation

◆ addDescriptor()

void QPixmapStyle::addDescriptor ( QPixmapStyle::ControlDescriptor  control,
const QString fileName,
QMargins  margins = QMargins(),
QTileRules  tileRules = QTileRules(Qt::RepeatTileQt::RepeatTile) 
)

Associates the pixmap having the given fileName with the given control. The margins parameter describe the boundaries of the pixmap's top-left, top-right, bottom-left and bottom-right corners, as well as the left, right, top and bottorm segments and the middle. The tileRules parameter describes how QPixmapStyle is supposed to handle the scaling of the center of the pixmap.

Use QPixmapStyle::addPixmap() for controls that are not resizable.

See also
addPixmap, copyDescriptor

Definition at line 623 of file qpixmapstyle.cpp.

◆ addPixmap()

void QPixmapStyle::addPixmap ( ControlPixmap  control,
const QString fileName,
QMargins  margins = QMargins() 
)

Use this function to style statically sized controls such as check boxes.

See also
addDescriptor, copyPixmap

Definition at line 681 of file qpixmapstyle.cpp.

◆ comboBoxSizeFromContents()

QSize QPixmapStyle::comboBoxSizeFromContents ( const QStyleOption option,
const QSize contentsSize,
const QWidget widget 
) const
protected

Definition at line 1069 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ comboBoxSubControlRect()

QRect QPixmapStyle::comboBoxSubControlRect ( const QStyleOptionComplex option,
QPixmapStyle::SubControl  sc,
const QWidget widget 
) const
protected

Definition at line 1103 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyDescriptor()

void QPixmapStyle::copyDescriptor ( QPixmapStyle::ControlDescriptor  source,
QPixmapStyle::ControlDescriptor  dest 
)

Copies the data associated with the source descriptor to the dest descriptor.

Definition at line 650 of file qpixmapstyle.cpp.

◆ copyPixmap()

void QPixmapStyle::copyPixmap ( QPixmapStyle::ControlPixmap  source,
QPixmapStyle::ControlPixmap  dest 
)

Definition at line 705 of file qpixmapstyle.cpp.

◆ drawCachedPixmap()

void QPixmapStyle::drawCachedPixmap ( QPixmapStyle::ControlDescriptor  control,
const QRect rect,
QPainter painter 
) const

Draws the image associated with the current control on the given rect using the given painter.

Definition at line 662 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawCheckBox()

void QPixmapStyle::drawCheckBox ( const QStyleOption option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 760 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawComboBox()

void QPixmapStyle::drawComboBox ( const QStyleOptionComplex option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 946 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawComplexControl()

void QPixmapStyle::drawComplexControl ( ComplexControl  cc,
const QStyleOptionComplex option,
QPainter painter,
const QWidget widget = nullptr 
) const
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 339 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ drawControl()

void QPixmapStyle::drawControl ( ControlElement  element,
const QStyleOption option,
QPainter painter,
const QWidget widget = nullptr 
) const
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 301 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ drawLineEdit()

void QPixmapStyle::drawLineEdit ( const QStyleOption option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 735 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawPanelItemViewItem()

void QPixmapStyle::drawPanelItemViewItem ( const QStyleOption option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 798 of file qpixmapstyle.cpp.

Here is the caller graph for this function:

◆ drawPrimitive()

void QPixmapStyle::drawPrimitive ( PrimitiveElement  element,
const QStyleOption option,
QPainter painter,
const QWidget widget = nullptr 
) const
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 258 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ drawProgressBarBackground()

void QPixmapStyle::drawProgressBarBackground ( const QStyleOption option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 822 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawProgressBarFill()

void QPixmapStyle::drawProgressBarFill ( const QStyleOption option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 848 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawProgressBarLabel()

void QPixmapStyle::drawProgressBarLabel ( const QStyleOption option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 833 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawPushButton()

void QPixmapStyle::drawPushButton ( const QStyleOption option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 720 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawRadioButton()

void QPixmapStyle::drawRadioButton ( const QStyleOption option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 779 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawScrollBar()

void QPixmapStyle::drawScrollBar ( const QStyleOptionComplex option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 967 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawSlider()

void QPixmapStyle::drawSlider ( const QStyleOptionComplex option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 886 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawTextEdit()

void QPixmapStyle::drawTextEdit ( const QStyleOption option,
QPainter painter,
const QWidget widget 
) const
protected

Definition at line 751 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ eventFilter()

bool QPixmapStyle::eventFilter ( QObject watched,
QEvent event 
)
overridevirtual

\reimp

Reimplemented from QObject.

Definition at line 553 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ hitTestComplexControl()

QStyle::SubControl QPixmapStyle::hitTestComplexControl ( QStyle::ComplexControl  control,
const QStyleOptionComplex option,
const QPoint pos,
const QWidget widget 
) const
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 534 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ itemViewSizeFromContents()

QSize QPixmapStyle::itemViewSizeFromContents ( const QStyleOption option,
const QSize contentsSize,
const QWidget widget 
) const
protected

Definition at line 1081 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lineEditSizeFromContents()

QSize QPixmapStyle::lineEditSizeFromContents ( const QStyleOption option,
const QSize contentsSize,
const QWidget widget 
) const
protected

Definition at line 1006 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pixelMetric()

int QPixmapStyle::pixelMetric ( PixelMetric  metric,
const QStyleOption option = nullptr,
const QWidget widget = nullptr 
) const
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 426 of file qpixmapstyle.cpp.

◆ polish() [1/3]

void QPixmapStyle::polish ( QApplication application)
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 122 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ polish() [2/3]

void QPixmapStyle::polish ( QPalette palette)
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 130 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ polish() [3/3]

void QPixmapStyle::polish ( QWidget widget)
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 138 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ progressBarSizeFromContents()

QSize QPixmapStyle::progressBarSizeFromContents ( const QStyleOption option,
const QSize contentsSize,
const QWidget widget 
) const
protected

Definition at line 1020 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushButtonSizeFromContents()

QSize QPixmapStyle::pushButtonSizeFromContents ( const QStyleOption option,
const QSize contentsSize,
const QWidget widget 
) const
protected

Definition at line 989 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ scrollBarSubControlRect()

QRect QPixmapStyle::scrollBarSubControlRect ( const QStyleOptionComplex option,
QPixmapStyle::SubControl  sc,
const QWidget widget 
) const
protected

Definition at line 1131 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sizeFromContents()

QSize QPixmapStyle::sizeFromContents ( ContentsType  type,
const QStyleOption option,
const QSize contentsSize,
const QWidget widget = nullptr 
) const
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 360 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ sliderSizeFromContents()

QSize QPixmapStyle::sliderSizeFromContents ( const QStyleOption option,
const QSize contentsSize,
const QWidget widget 
) const
protected

Definition at line 1041 of file qpixmapstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ styleHint()

int QPixmapStyle::styleHint ( StyleHint  hint,
const QStyleOption option,
const QWidget widget,
QStyleHintReturn returnData 
) const
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 517 of file qpixmapstyle.cpp.

◆ subControlRect()

QRect QPixmapStyle::subControlRect ( ComplexControl  cc,
const QStyleOptionComplex option,
SubControl  sc,
const QWidget widget = nullptr 
) const
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 409 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ subElementRect()

QRect QPixmapStyle::subElementRect ( SubElement  element,
const QStyleOption option,
const QWidget widget = nullptr 
) const
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 385 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ unpolish() [1/2]

void QPixmapStyle::unpolish ( QApplication application)
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 221 of file qpixmapstyle.cpp.

Here is the call graph for this function:

◆ unpolish() [2/2]

void QPixmapStyle::unpolish ( QWidget widget)
overridevirtual

\reimp

Reimplemented from QCommonStyle.

Definition at line 229 of file qpixmapstyle.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: