![]() |
Qt 6.x
The Qt SDK
|
QGnomeTheme is a theme implementation for the Gnome desktop. More...
#include <qgenericunixthemes_p.h>
Inheritance diagram for QGnomeTheme:
Collaboration diagram for QGnomeTheme:Public Member Functions | |
| QGnomeTheme () | |
| QVariant | themeHint (ThemeHint hint) const override |
| QIcon | fileIcon (const QFileInfo &fileInfo, QPlatformTheme::IconOptions={ }) const override |
| Return an icon for fileInfo, observing iconOptions. | |
| const QFont * | font (Font type) const override |
| QString | standardButtonText (int button) const override |
| Returns the text of a standard button. | |
| virtual QString | gtkFontName () const |
| QPlatformMenuBar * | createPlatformMenuBar () const override |
| Qt::ColorScheme | colorScheme () const override |
| QPlatformSystemTrayIcon * | createPlatformSystemTrayIcon () const override |
| Factory function for QSystemTrayIcon. | |
Public Member Functions inherited from QPlatformTheme | |
| Q_ENUM (DialogType) | |
| QPlatformTheme () | |
| virtual | ~QPlatformTheme () |
| virtual QPlatformMenuItem * | createPlatformMenuItem () const |
| virtual QPlatformMenu * | createPlatformMenu () const |
| virtual QPlatformMenuBar * | createPlatformMenuBar () const |
| virtual void | showPlatformMenuBar () |
| virtual bool | usePlatformNativeDialog (DialogType type) const |
| virtual QPlatformDialogHelper * | createPlatformDialogHelper (DialogType type) const |
| virtual QPlatformSystemTrayIcon * | createPlatformSystemTrayIcon () const |
| Factory function for QSystemTrayIcon. | |
| virtual Qt::ColorScheme | colorScheme () const |
| virtual const QPalette * | palette (Palette type=SystemPalette) const |
| virtual const QFont * | font (Font type=SystemFont) const |
| virtual QVariant | themeHint (ThemeHint hint) const |
| virtual QPixmap | standardPixmap (StandardPixmap sp, const QSizeF &size) const |
| virtual QIcon | fileIcon (const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions={ }) const |
| Return an icon for fileInfo, observing iconOptions. | |
| virtual QIconEngine * | createIconEngine (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. | |
| QString | name () const |
Static Public Attributes | |
| static const char * | name = "gnome" |
QGnomeTheme is a theme implementation for the Gnome desktop.
Definition at line 96 of file qgenericunixthemes_p.h.
| QGnomeTheme::QGnomeTheme | ( | ) |
Definition at line 1176 of file qgenericunixthemes.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Reimplemented in QGtk3Theme.
Definition at line 1260 of file qgenericunixthemes.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 1253 of file qgenericunixthemes.cpp.
References isDBusGlobalMenuAvailable().
Here is the call graph for this function:
|
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 1268 of file qgenericunixthemes.cpp.
References isDBusTrayAvailable().
Here is the call graph for this function:
|
overridevirtual |
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.
Reimplemented from QPlatformTheme.
Reimplemented in QGtk3Theme.
Definition at line 1222 of file qgenericunixthemes.cpp.
References Q_UNUSED.
Reimplemented from QPlatformTheme.
Reimplemented in QGtk3Theme.
Definition at line 1232 of file qgenericunixthemes.cpp.
References d, QPlatformTheme::FixedFont, gtkFontName(), and QPlatformTheme::SystemFont.
Here is the call graph for this function:
|
virtual |
Reimplemented in QGtk3Theme.
Definition at line 1247 of file qgenericunixthemes.cpp.
References defaultSystemFontNameC, defaultSystemFontSize, and QStringLiteral.
Referenced by font(), and QGtk3Theme::gtkFontName().
Here is the caller graph for this function:
|
overridevirtual |
Returns the text of a standard button.
Reimplemented from QPlatformTheme.
Definition at line 1276 of file qgenericunixthemes.cpp.
References button, QPlatformDialogHelper::Cancel, QPlatformDialogHelper::Close, QPlatformDialogHelper::Discard, QPlatformDialogHelper::Ok, QPlatformDialogHelper::Save, QPlatformTheme::standardButtonText(), and QCoreApplication::translate().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QPlatformTheme.
Reimplemented in QGtk3Theme.
Definition at line 1181 of file qgenericunixthemes.cpp.
References availableXdgFileIconSizes(), QPlatformTheme::ButtonPressKeys, QPlatformTheme::DialogButtonBoxButtonsHaveIcons, QPlatformTheme::DialogButtonBoxLayout, QVariant::fromValue(), QPlatformTheme::GnomeKeyboardScheme, QPlatformDialogHelper::GnomeLayout, hint(), QPlatformTheme::HoverEffect, QPlatformTheme::IconPixmapSizes, QPlatformTheme::IconThemeSearchPaths, Qt::Key_Enter, Qt::Key_Return, Qt::Key_Select, Qt::Key_Space, QPlatformTheme::KeyboardScheme, QPlatformTheme::MouseCursorSize, mouseCursorSize(), QPlatformTheme::MouseCursorTheme, mouseCursorTheme(), QPlatformTheme::PasswordMaskCharacter, QPlatformTheme::PreselectFirstFileInDirectory, QStringLiteral, QPlatformTheme::StyleNames, styleNames(), QPlatformTheme::SystemIconFallbackThemeName, QPlatformTheme::SystemIconThemeName, QPlatformTheme::themeHint(), QPlatformTheme::UiEffects, and QGenericUnixTheme::xdgIconThemePaths().
Referenced by QGtk3Theme::themeHint().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 116 of file qgenericunixthemes_p.h.
Referenced by QGenericUnixTheme::createUnixTheme(), and QGenericUnixTheme::themeNames().