Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QPlatformTheme Class Reference

The QPlatformTheme class allows customizing the UI based on themes. More...

#include <qplatformtheme.h>

+ Inheritance diagram for QPlatformTheme:
+ Collaboration diagram for QPlatformTheme:

Public Types

enum  ThemeHint {
  CursorFlashTime , KeyboardInputInterval , MouseDoubleClickInterval , StartDragDistance ,
  StartDragTime , KeyboardAutoRepeatRate , PasswordMaskDelay , StartDragVelocity ,
  TextCursorWidth , DropShadow , MaximumScrollBarDragDistance , ToolButtonStyle ,
  ToolBarIconSize , ItemViewActivateItemOnSingleClick , SystemIconThemeName , SystemIconFallbackThemeName ,
  IconThemeSearchPaths , StyleNames , WindowAutoPlacement , DialogButtonBoxLayout ,
  DialogButtonBoxButtonsHaveIcons , UseFullScreenForPopupMenu , KeyboardScheme , UiEffects ,
  SpellCheckUnderlineStyle , TabFocusBehavior , IconPixmapSizes , PasswordMaskCharacter ,
  DialogSnapToDefaultButton , ContextMenuOnMouseRelease , MousePressAndHoldInterval , MouseDoubleClickDistance ,
  WheelScrollLines , TouchDoubleTapDistance , ShowShortcutsInContextMenus , IconFallbackSearchPaths ,
  MouseQuickSelectionThreshold , InteractiveResizeAcrossScreens , ShowDirectoriesFirst , PreselectFirstFileInDirectory ,
  ButtonPressKeys , SetFocusOnTouchRelease , FlickStartDistance , FlickMaximumVelocity ,
  FlickDeceleration , MenuBarFocusOnAltPressRelease , MouseCursorTheme , MouseCursorSize ,
  UnderlineShortcut , ShowIconsInMenus , PreferFileIconFromTheme , MenuSelectionWraps
}
 This enum describes the available theme hints. More...
 
enum  DialogType { FileDialog , ColorDialog , FontDialog , MessageDialog }
 
enum  Palette {
  SystemPalette , ToolTipPalette , ToolButtonPalette , ButtonPalette ,
  CheckBoxPalette , RadioButtonPalette , HeaderPalette , ComboBoxPalette ,
  ItemViewPalette , MessageBoxLabelPelette , MessageBoxLabelPalette = MessageBoxLabelPelette , TabBarPalette ,
  LabelPalette , GroupBoxPalette , MenuPalette , MenuBarPalette ,
  TextEditPalette , TextLineEditPalette , NPalettes
}
 
enum  Font {
  SystemFont , MenuFont , MenuBarFont , MenuItemFont ,
  MessageBoxFont , LabelFont , TipLabelFont , StatusBarFont ,
  TitleBarFont , MdiSubWindowTitleFont , DockWidgetTitleFont , PushButtonFont ,
  CheckBoxFont , RadioButtonFont , ToolButtonFont , ItemViewFont ,
  ListViewFont , HeaderViewFont , ListBoxFont , ComboMenuItemFont ,
  ComboLineEditFont , SmallFont , MiniFont , FixedFont ,
  GroupBoxTitleFont , TabButtonFont , EditorFont , NFonts
}
 
enum  StandardPixmap {
  TitleBarMenuButton , TitleBarMinButton , TitleBarMaxButton , TitleBarCloseButton ,
  TitleBarNormalButton , TitleBarShadeButton , TitleBarUnshadeButton , TitleBarContextHelpButton ,
  DockWidgetCloseButton , MessageBoxInformation , MessageBoxWarning , MessageBoxCritical ,
  MessageBoxQuestion , DesktopIcon , TrashIcon , ComputerIcon ,
  DriveFDIcon , DriveHDIcon , DriveCDIcon , DriveDVDIcon ,
  DriveNetIcon , DirOpenIcon , DirClosedIcon , DirLinkIcon ,
  DirLinkOpenIcon , FileIcon , FileLinkIcon , ToolBarHorizontalExtensionButton ,
  ToolBarVerticalExtensionButton , FileDialogStart , FileDialogEnd , FileDialogToParent ,
  FileDialogNewFolder , FileDialogDetailedView , FileDialogInfoView , FileDialogContentsView ,
  FileDialogListView , FileDialogBack , DirIcon , DialogOkButton ,
  DialogCancelButton , DialogHelpButton , DialogOpenButton , DialogSaveButton ,
  DialogCloseButton , DialogApplyButton , DialogResetButton , DialogDiscardButton ,
  DialogYesButton , DialogNoButton , ArrowUp , ArrowDown ,
  ArrowLeft , ArrowRight , ArrowBack , ArrowForward ,
  DirHomeIcon , CommandLink , VistaShield , BrowserReload ,
  BrowserStop , MediaPlay , MediaStop , MediaPause ,
  MediaSkipForward , MediaSkipBackward , MediaSeekForward , MediaSeekBackward ,
  MediaVolume , MediaVolumeMuted , LineEditClearButton , DialogYesToAllButton ,
  DialogNoToAllButton , DialogSaveAllButton , DialogAbortButton , DialogRetryButton ,
  DialogIgnoreButton , RestoreDefaultsButton , TabCloseButton , NStandardPixmap ,
  CustomBase = 0xf0000000
}
 
enum  KeyboardSchemes {
  WindowsKeyboardScheme , MacKeyboardScheme , X11KeyboardScheme , KdeKeyboardScheme ,
  GnomeKeyboardScheme , CdeKeyboardScheme
}
 
enum  UiEffect {
  GeneralUiEffect = 0x1 , AnimateMenuUiEffect = 0x2 , FadeMenuUiEffect = 0x4 , AnimateComboUiEffect = 0x8 ,
  AnimateTooltipUiEffect = 0x10 , FadeTooltipUiEffect = 0x20 , AnimateToolBoxUiEffect = 0x40 , HoverEffect = 0x80
}
 
enum  IconOption { DontUseCustomDirectoryIcons = 0x01 }
 

Public Member Functions

 QPlatformTheme ()
 
virtual ~QPlatformTheme ()
 
virtual QPlatformMenuItemcreatePlatformMenuItem () const
 
virtual QPlatformMenucreatePlatformMenu () const
 
virtual QPlatformMenuBarcreatePlatformMenuBar () const
 
virtual void showPlatformMenuBar ()
 
virtual bool usePlatformNativeDialog (DialogType type) const
 
virtual QPlatformDialogHelpercreatePlatformDialogHelper (DialogType type) const
 
virtual QPlatformSystemTrayIconcreatePlatformSystemTrayIcon () const
 Factory function for QSystemTrayIcon.
 
virtual Qt::ColorScheme colorScheme () const
 
virtual const QPalettepalette (Palette type=SystemPalette) const
 Return a color palette for type type.
 
virtual const QFontfont (Font type=SystemFont) const
 
virtual QVariant themeHint (ThemeHint hint) const
 
virtual QPixmap standardPixmap (StandardPixmap sp, const QSizeF &size) const
 Return a pixmap for standardPixmap, at the given size.
 
virtual QIcon fileIcon (const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions={ }) const
 Return an icon for fileInfo, observing iconOptions.
 
virtual QIconEnginecreateIconEngine (const QString &iconName) const
 Factory function for the QIconEngine used by QIcon::fromTheme().
 
virtual QString standardButtonText (int button) const
 Returns the text of a standard button.
 
virtual void requestColorScheme (Qt::ColorScheme scheme)
 
virtual Qt::ContrastPreference contrastPreference () const
 
QString name () const
 

Static Public Member Functions

static QVariant defaultThemeHint (ThemeHint hint)
 
static QString defaultStandardButtonText (int button)
 
static QString removeMnemonics (const QString &original)
 

Protected Member Functions

 QPlatformTheme (QPlatformThemePrivate *priv)
 

Protected Attributes

QScopedPointer< QPlatformThemePrivated_ptr
 

Friends

class QPlatformThemeFactory
 

Detailed Description

The QPlatformTheme class allows customizing the UI based on themes.

Since
5.0

\preliminary

See the init_platform function in qguiapplication.cpp for the complete platform initialization process.

Definition at line 42 of file qplatformtheme.h.

Member Enumeration Documentation

◆ DialogType

Enumerator
FileDialog 
ColorDialog 
FontDialog 
MessageDialog 

Definition at line 106 of file qplatformtheme.h.

◆ Font

Enumerator
SystemFont 
MenuFont 
MenuBarFont 
MenuItemFont 
MessageBoxFont 
LabelFont 
TipLabelFont 
StatusBarFont 
TitleBarFont 
MdiSubWindowTitleFont 
DockWidgetTitleFont 
PushButtonFont 
CheckBoxFont 
RadioButtonFont 
ToolButtonFont 
ItemViewFont 
ListViewFont 
HeaderViewFont 
ListBoxFont 
ComboMenuItemFont 
ComboLineEditFont 
SmallFont 
MiniFont 
FixedFont 
GroupBoxTitleFont 
TabButtonFont 
EditorFont 
NFonts 

Definition at line 137 of file qplatformtheme.h.

◆ IconOption

Enumerator
DontUseCustomDirectoryIcons 

Definition at line 280 of file qplatformtheme.h.

◆ KeyboardSchemes

Enumerator
WindowsKeyboardScheme 
MacKeyboardScheme 
X11KeyboardScheme 
KdeKeyboardScheme 
GnomeKeyboardScheme 
CdeKeyboardScheme 

Definition at line 256 of file qplatformtheme.h.

◆ Palette

Enumerator
SystemPalette 
ToolTipPalette 
ToolButtonPalette 
ButtonPalette 
CheckBoxPalette 
RadioButtonPalette 
HeaderPalette 
ComboBoxPalette 
ItemViewPalette 
MessageBoxLabelPelette 
MessageBoxLabelPalette 
TabBarPalette 
LabelPalette 
GroupBoxPalette 
MenuPalette 
MenuBarPalette 
TextEditPalette 
TextLineEditPalette 
NPalettes 

Definition at line 114 of file qplatformtheme.h.

◆ StandardPixmap

Enumerator
TitleBarMenuButton 
TitleBarMinButton 
TitleBarMaxButton 
TitleBarCloseButton 
TitleBarNormalButton 
TitleBarShadeButton 
TitleBarUnshadeButton 
TitleBarContextHelpButton 
DockWidgetCloseButton 
MessageBoxInformation 
MessageBoxWarning 
MessageBoxCritical 
MessageBoxQuestion 
DesktopIcon 
TrashIcon 
ComputerIcon 
DriveFDIcon 
DriveHDIcon 
DriveCDIcon 
DriveDVDIcon 
DriveNetIcon 
DirOpenIcon 
DirClosedIcon 
DirLinkIcon 
DirLinkOpenIcon 
FileIcon 
FileLinkIcon 
ToolBarHorizontalExtensionButton 
ToolBarVerticalExtensionButton 
FileDialogStart 
FileDialogEnd 
FileDialogToParent 
FileDialogNewFolder 
FileDialogDetailedView 
FileDialogInfoView 
FileDialogContentsView 
FileDialogListView 
FileDialogBack 
DirIcon 
DialogOkButton 
DialogCancelButton 
DialogHelpButton 
DialogOpenButton 
DialogSaveButton 
DialogCloseButton 
DialogApplyButton 
DialogResetButton 
DialogDiscardButton 
DialogYesButton 
DialogNoButton 
ArrowUp 
ArrowDown 
ArrowLeft 
ArrowRight 
ArrowBack 
ArrowForward 
DirHomeIcon 
CommandLink 
VistaShield 
BrowserReload 
BrowserStop 
MediaPlay 
MediaStop 
MediaPause 
MediaSkipForward 
MediaSkipBackward 
MediaSeekForward 
MediaSeekBackward 
MediaVolume 
MediaVolumeMuted 
LineEditClearButton 
DialogYesToAllButton 
DialogNoToAllButton 
DialogSaveAllButton 
DialogAbortButton 
DialogRetryButton 
DialogIgnoreButton 
RestoreDefaultsButton 
TabCloseButton 
NStandardPixmap 
CustomBase 

Definition at line 169 of file qplatformtheme.h.

◆ ThemeHint

This enum describes the available theme hints.

\value CursorFlashTime (int) Cursor flash time in ms, overriding QPlatformIntegration::styleHint.

\value KeyboardInputInterval (int) Keyboard input interval in ms, overriding QPlatformIntegration::styleHint.

\value MouseDoubleClickInterval (int) Mouse double click interval in ms, overriding QPlatformIntegration::styleHint.

\value MouseDoubleClickDistance (int) The maximum distance in logical pixels which the mouse can travel between clicks in order for the click sequence to be handled as a double click. The default value is 5 logical pixels.

\value MousePressAndHoldInterval (int) Mouse press and hold interval in ms, overriding QPlatformIntegration::styleHint.

\value StartDragDistance (int) Start drag distance, overriding QPlatformIntegration::styleHint.

\value StartDragTime (int) Start drag time in ms, overriding QPlatformIntegration::styleHint.

\value WheelScrollLines (int) The number of lines to scroll a widget, when the mouse wheel is rotated. The default value is 3.

See also
QApplication::wheelScrollLines()

\value KeyboardAutoRepeatRate (int) Keyboard auto repeat rate, overriding QPlatformIntegration::styleHint.

\value PasswordMaskDelay (int) Pass word mask delay in ms, overriding QPlatformIntegration::styleHint.

\value StartDragVelocity (int) Velocity of a drag, overriding QPlatformIntegration::styleHint.

\value TextCursorWidth (int) Determines the width of the text cursor.

\value DropShadow (bool) Determines whether the drop shadow effect for tooltips or whatsthis is enabled.

\value MaximumScrollBarDragDistance (int) Determines the value returned by QStyle::pixelMetric(PM_MaximumDragDistance)

\value ToolButtonStyle (int) A value representing a Qt::ToolButtonStyle.

\value ToolBarIconSize Icon size for tool bars.

\value SystemIconThemeName (QString) Name of the icon theme.

\value SystemIconFallbackThemeName (QString) Name of the fallback icon theme.

\value IconThemeSearchPaths (QStringList) Search paths for icons.

\value ItemViewActivateItemOnSingleClick (bool) Activate items by single click.

\value StyleNames (QStringList) A list of preferred style names.

\value WindowAutoPlacement (bool) A boolean value indicating whether Windows (particularly dialogs) are placed by the system (see _NET_WM_FULL_PLACEMENT in X11).

\value DialogButtonBoxLayout (int) An integer representing a QDialogButtonBox::ButtonLayout value.

\value DialogButtonBoxButtonsHaveIcons (bool) A boolean value indicating whether the buttons of a QDialogButtonBox should have icons.

\value UseFullScreenForPopupMenu (bool) Pop menus can cover the full screen including task bar.

\value KeyboardScheme (int) An integer value (enum KeyboardSchemes) specifying the keyboard scheme.

\value UiEffects (int) A flag value consisting of UiEffect values specifying the enabled UI animations.

\value SpellCheckUnderlineStyle (int) A QTextCharFormat::UnderlineStyle specifying the underline style used misspelled words when spell checking.

\value TabFocusBehavior (int) A Qt::TabFocusBehavior specifying the behavior of focus change when tab key was pressed. This enum value was added in Qt 5.5.

\value DialogSnapToDefaultButton (bool) Whether the mouse should snap to the default button when a dialog becomes visible.

\value ContextMenuOnMouseRelease (bool) Whether the context menu should be shown on mouse release.

\value MenuSelectionWraps (bool) Determines whether menu selection wraps. That is, whether key navigation moves the selection to the first menu item again after the last menu item has been reached, and vice versa. This enum value was added in Qt 6.10.

\value TouchDoubleTapDistance (int) The maximum distance in logical pixels which a touchpoint can travel between taps in order for the tap sequence to be handled as a double tap. The default value is double the MouseDoubleClickDistance, or 10 logical pixels if that is not specified.

\value ShowShortcutsInContextMenus (bool) Whether to display shortcut key sequences in context menus.

\value InteractiveResizeAcrossScreens (bool) Whether using the whole virtual geometry of all the screens as basis for the resize. This enum value has been added in Qt 6.2.

\value ShowDirectoriesFirst (bool) Whether directories should be shown first (before files) in file dialogs. This enum value was added in Qt 6.3.

\value PreselectFirstFileInDirectory (bool) Whether the first file in a directory should be automatically selected when a file dialog opens. This enum value was added in Qt 6.3.

\value ButtonPressKeys (QList<Qt::Key>) A list of keys that can be used to press buttons via keyboard input.

\value SetFocusOnTouchRelease (bool) Whether focus objects (line edits etc) should receive input focus after a touch/mouse release. This enum value has been added in Qt 6.5.

\value MouseCursorTheme (QString) Name of the mouse cursor theme. This enum value has been added in Qt 6.5.

\value MouseCursorSize (QSize) Size of the mouse cursor. This enum value has been added in Qt 6.5.

See also
themeHint(), QStyle::pixelMetric()
Enumerator
CursorFlashTime 
KeyboardInputInterval 
MouseDoubleClickInterval 
StartDragDistance 
StartDragTime 
KeyboardAutoRepeatRate 
PasswordMaskDelay 
StartDragVelocity 
TextCursorWidth 
DropShadow 
MaximumScrollBarDragDistance 
ToolButtonStyle 
ToolBarIconSize 
ItemViewActivateItemOnSingleClick 
SystemIconThemeName 
SystemIconFallbackThemeName 
IconThemeSearchPaths 
StyleNames 
WindowAutoPlacement 
DialogButtonBoxLayout 
DialogButtonBoxButtonsHaveIcons 
UseFullScreenForPopupMenu 
KeyboardScheme 
UiEffects 
SpellCheckUnderlineStyle 
TabFocusBehavior 
IconPixmapSizes 
PasswordMaskCharacter 
DialogSnapToDefaultButton 
ContextMenuOnMouseRelease 
MousePressAndHoldInterval 
MouseDoubleClickDistance 
WheelScrollLines 
TouchDoubleTapDistance 
ShowShortcutsInContextMenus 
IconFallbackSearchPaths 
MouseQuickSelectionThreshold 
InteractiveResizeAcrossScreens 
ShowDirectoriesFirst 
PreselectFirstFileInDirectory 
ButtonPressKeys 
SetFocusOnTouchRelease 
FlickStartDistance 
FlickMaximumVelocity 
FlickDeceleration 
MenuBarFocusOnAltPressRelease 
MouseCursorTheme 
MouseCursorSize 
UnderlineShortcut 
ShowIconsInMenus 
PreferFileIconFromTheme 
MenuSelectionWraps 

Definition at line 50 of file qplatformtheme.h.

◆ UiEffect

Enumerator
GeneralUiEffect 
AnimateMenuUiEffect 
FadeMenuUiEffect 
AnimateComboUiEffect 
AnimateTooltipUiEffect 
FadeTooltipUiEffect 
AnimateToolBoxUiEffect 
HoverEffect 

Definition at line 267 of file qplatformtheme.h.

Constructor & Destructor Documentation

◆ QPlatformTheme() [1/2]

QPlatformTheme::QPlatformTheme ( )
explicit

Definition at line 444 of file qplatformtheme.cpp.

◆ ~QPlatformTheme()

QPlatformTheme::~QPlatformTheme ( )
virtual

Definition at line 454 of file qplatformtheme.cpp.

◆ QPlatformTheme() [2/2]

QPlatformTheme::QPlatformTheme ( QPlatformThemePrivate * priv)
explicitprotected

Definition at line 450 of file qplatformtheme.cpp.

Member Function Documentation

◆ colorScheme()

◆ contrastPreference()

Qt::ContrastPreference QPlatformTheme::contrastPreference ( ) const
virtual

Reimplemented in QCocoaTheme, QWasmTheme, QWindowsTheme, and QXdgDesktopPortalTheme.

Definition at line 486 of file qplatformtheme.cpp.

◆ createIconEngine()

QIconEngine * QPlatformTheme::createIconEngine ( const QString & iconName) const
virtual

Factory function for the QIconEngine used by QIcon::fromTheme().

By default this function returns a QIconLoaderEngine, but subclasses can reimplement it to provide their own.

It is especially useful to benefit from some platform specific facilities or optimizations like an inter-process cache in systems mostly built with Qt.

Since
5.1

Reimplemented in QAndroidPlatformTheme, QCocoaTheme, QIOSTheme, QWindowsTheme, and QXdgDesktopPortalTheme.

Definition at line 754 of file qplatformtheme.cpp.

◆ createPlatformDialogHelper()

QPlatformDialogHelper * QPlatformTheme::createPlatformDialogHelper ( DialogType type) const
virtual

◆ createPlatformMenu()

QPlatformMenu * QPlatformTheme::createPlatformMenu ( ) const
virtual

◆ createPlatformMenuBar()

QPlatformMenuBar * QPlatformTheme::createPlatformMenuBar ( ) const
virtual

Reimplemented in QAndroidPlatformTheme, QCocoaTheme, QWindowsTheme, and QXdgDesktopPortalTheme.

Definition at line 728 of file qplatformtheme.cpp.

◆ createPlatformMenuItem()

QPlatformMenuItem * QPlatformTheme::createPlatformMenuItem ( ) const
virtual

◆ createPlatformSystemTrayIcon()

QPlatformSystemTrayIcon * QPlatformTheme::createPlatformSystemTrayIcon ( ) const
virtual

Factory function for QSystemTrayIcon.

This function will return 0 if the platform integration does not support creating any system tray icon.

Reimplemented in QCocoaTheme, and QXdgDesktopPortalTheme.

Definition at line 738 of file qplatformtheme.cpp.

◆ defaultStandardButtonText()

QString QPlatformTheme::defaultStandardButtonText ( int button)
static

Definition at line 835 of file qplatformtheme.cpp.

◆ defaultThemeHint()

QVariant QPlatformTheme::defaultThemeHint ( ThemeHint hint)
static

Definition at line 598 of file qplatformtheme.cpp.

◆ fileIcon()

QIcon QPlatformTheme::fileIcon ( const QFileInfo & fileInfo,
QPlatformTheme::IconOptions iconOptions = { } ) const
virtual

Return an icon for fileInfo, observing iconOptions.

This function is queried by QFileIconProvider and similar classes to obtain an icon for a file. If it does not return a non-null icon, fileIconPixmap() is queried for a specific size.

Since
5.8

Reimplemented in QCocoaTheme, QGnomeTheme, QGtk3Theme, QKdeTheme, QWindowsTheme, and QXdgDesktopPortalTheme.

Definition at line 542 of file qplatformtheme.cpp.

◆ font()

◆ name()

QString QPlatformTheme::name ( ) const

Definition at line 932 of file qplatformtheme.cpp.

◆ palette()

const QPalette * QPlatformTheme::palette ( Palette type = SystemPalette) const
virtual

Return a color palette for type type.

When relying on system color palette keep in mind that it is lazily initialized and cached. If it needs to be updated (i.e. due to ColorScheme changes), it's up to the caller to take care of it. See requestColorScheme.

Reimplemented in QAndroidPlatformTheme, QCocoaTheme, QGtk3Theme, QIOSTheme, QKdeTheme, QWasmTheme, QWindowsTheme, and QXdgDesktopPortalTheme.

Definition at line 500 of file qplatformtheme.cpp.

◆ removeMnemonics()

QString QPlatformTheme::removeMnemonics ( const QString & original)
static

Definition at line 880 of file qplatformtheme.cpp.

◆ requestColorScheme()

void QPlatformTheme::requestColorScheme ( Qt::ColorScheme scheme)
virtual

◆ showPlatformMenuBar()

virtual void QPlatformTheme::showPlatformMenuBar ( )
inlinevirtual

Reimplemented in QAndroidPlatformTheme, QWindowsTheme, and QXdgDesktopPortalTheme.

Definition at line 291 of file qplatformtheme.h.

◆ standardButtonText()

QString QPlatformTheme::standardButtonText ( int button) const
virtual

Returns the text of a standard button.

Since
5.3
See also
QPlatformDialogHelper::StandardButton

Reimplemented in QAndroidPlatformTheme, QCocoaTheme, QGnomeTheme, and QXdgDesktopPortalTheme.

Definition at line 815 of file qplatformtheme.cpp.

◆ standardPixmap()

QPixmap QPlatformTheme::standardPixmap ( StandardPixmap standardPixmap,
const QSizeF & size ) const
virtual

Return a pixmap for standardPixmap, at the given size.

The implementation should not take system DPR into account, and always return a pixmap with a DPR of 1. It's up to the consumer to account for DPR and request a pixmap of the right size.

Reimplemented in QCocoaTheme, QGtk3Theme, QWindowsTheme, and QXdgDesktopPortalTheme.

Definition at line 524 of file qplatformtheme.cpp.

◆ themeHint()

◆ usePlatformNativeDialog()

bool QPlatformTheme::usePlatformNativeDialog ( DialogType type) const
virtual

Friends And Related Symbol Documentation

◆ QPlatformThemeFactory

friend class QPlatformThemeFactory
friend

Definition at line 334 of file qplatformtheme.h.

Member Data Documentation

◆ d_ptr

QScopedPointer<QPlatformThemePrivate> QPlatformTheme::d_ptr
protected

Definition at line 331 of file qplatformtheme.h.


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