Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 Public Member Functions inherited from QPlatformTheme | |
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 423 of file qgenericunixthemes.cpp.
Referenced by createUnixTheme().
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 468 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 477 of file qgenericunixthemes.cpp.
References isDBusTrayAvailable().
|
static |
Creates a UNIX theme according to the detected desktop environment.
Definition at line 1298 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 428 of file qgenericunixthemes.cpp.
References d, QPlatformTheme::FixedFont, and QPlatformTheme::SystemFont.
|
static |
Definition at line 457 of file qgenericunixthemes.cpp.
References QStringLiteral.
Referenced by themeHint().
Reimplemented from QPlatformTheme.
Definition at line 485 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 1312 of file qgenericunixthemes.cpp.
References QGuiApplication::desktopSettingsAware(), QString::fromLatin1(), name, QGnomeTheme::name, QGuiApplicationPrivate::platformIntegration(), QList< T >::push_back(), QStringLiteral, and QByteArray::split().
Referenced by QXcbIntegration::themeNames(), and QtWaylandClient::QWaylandIntegration::themeNames().
|
static |
Definition at line 442 of file qgenericunixthemes.cpp.
References QStandardPaths::GenericDataLocation, QDir::homePath(), 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().