![]() |
Qt 6.x
The Qt SDK
|
#include <qgenericunixthemes_p.h>
Static Public Member Functions | |
static QPlatformTheme * | createUnixTheme (const QString &name) |
Creates a UNIX theme according to the detected desktop environment. | |
static QStringList | themeNames () |
static QStringList | xdgIconThemePaths () |
static QStringList | iconFallbackPaths () |
![]() | |
static QVariant | defaultThemeHint (ThemeHint hint) |
static QString | defaultStandardButtonText (int button) |
static QString | removeMnemonics (const QString &original) |
Static Public Attributes | |
static const char * | name = "generic" |
Definition at line 40 of file qgenericunixthemes_p.h.
QGenericUnixTheme::QGenericUnixTheme | ( | ) |
Definition at line 424 of file qgenericunixthemes.cpp.
Referenced by createUnixTheme().
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 469 of file qgenericunixthemes.cpp.
References isDBusGlobalMenuAvailable().
|
overridevirtual |
Factory function for QSystemTrayIcon.
This function will return 0 if the platform integration does not support creating any system tray icon.
Reimplemented from QPlatformTheme.
Definition at line 478 of file qgenericunixthemes.cpp.
References isDBusTrayAvailable().
|
static |
Creates a UNIX theme according to the detected desktop environment.
Definition at line 1299 of file qgenericunixthemes.cpp.
References QGenericUnixTheme(), name, and QGnomeTheme::name.
Referenced by QEglFSIntegration::createPlatformTheme(), QVkKhrDisplayIntegration::createPlatformTheme(), QXcbIntegration::createPlatformTheme(), and QtWaylandClient::QWaylandIntegration::createPlatformTheme().
Reimplemented from QPlatformTheme.
Definition at line 429 of file qgenericunixthemes.cpp.
References d, QPlatformTheme::FixedFont, and QPlatformTheme::SystemFont.
|
static |
Definition at line 458 of file qgenericunixthemes.cpp.
References QFileInfo::absoluteFilePath(), QFileInfo::isDir(), and QStringLiteral.
Referenced by themeHint().
Reimplemented from QPlatformTheme.
Definition at line 486 of file qgenericunixthemes.cpp.
References QPlatformTheme::DialogButtonBoxButtonsHaveIcons, hint(), QPlatformTheme::HoverEffect, iconFallbackPaths(), QPlatformTheme::IconFallbackSearchPaths, QPlatformTheme::IconThemeSearchPaths, QPlatformTheme::KeyboardScheme, QPlatformTheme::MouseCursorSize, mouseCursorSize(), QPlatformTheme::MouseCursorTheme, mouseCursorTheme(), QStringLiteral, QPlatformTheme::StyleNames, styleNames(), QPlatformTheme::SystemIconFallbackThemeName, QPlatformTheme::themeHint(), QPlatformTheme::UiEffects, QPlatformTheme::X11KeyboardScheme, and xdgIconThemePaths().
|
static |
Definition at line 1313 of file qgenericunixthemes.cpp.
References QListSpecialMethodsBase< T >::contains(), QPlatformServices::desktopEnvironment(), QGuiApplication::desktopSettingsAware(), QString::fromLatin1(), name, QGnomeTheme::name, QGuiApplicationPrivate::platformIntegration(), QList< T >::push_back(), QStringLiteral, QPlatformIntegration::services(), and QByteArray::split().
Referenced by QXcbIntegration::themeNames(), and QtWaylandClient::QWaylandIntegration::themeNames().
|
static |
Definition at line 443 of file qgenericunixthemes.cpp.
References QFileInfo::absoluteFilePath(), QStandardPaths::GenericDataLocation, QDir::homePath(), QFileInfo::isDir(), QStandardPaths::locateAll(), QStandardPaths::LocateDirectory, and QStringLiteral.
Referenced by themeHint(), and QGnomeTheme::themeHint().
|
static |
Definition at line 61 of file qgenericunixthemes_p.h.
Referenced by createUnixTheme(), and themeNames().