![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
QGnomeTheme is a theme implementation for the Gnome desktop. More...
#include <qgnometheme_p.h>
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 |
| virtual void | requestColorScheme (Qt::ColorScheme) override |
| virtual Qt::ColorScheme | colorScheme () const override |
| Public Member Functions inherited from QGenericUnixTheme | |
| QGenericUnixTheme () | |
| Public Member Functions inherited from QPlatformTheme | |
| 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 const QPalette * | palette (Palette type=SystemPalette) const |
| Return a color palette for type type. | |
| virtual QPixmap | standardPixmap (StandardPixmap sp, const QSizeF &size) const |
| Return a pixmap for standardPixmap, at the given size. | |
| virtual QIconEngine * | createIconEngine (const QString &iconName) const |
| Factory function for the QIconEngine used by QIcon::fromTheme(). | |
| virtual Qt::ContrastPreference | contrastPreference () const |
| QString | name () const |
Static Public Attributes | |
| static const char * | name = "gnome" |
| Static Public Attributes inherited from QGenericUnixTheme | |
| static const char * | name = "generic" |
| static constexpr char | defaultSystemFontNameC [] = "Sans Serif" |
| static constexpr char | defaultFixedFontNameC [] = "monospace" |
QGnomeTheme is a theme implementation for the Gnome desktop.
Definition at line 31 of file qgnometheme_p.h.
| QGnomeTheme::QGnomeTheme | ( | ) |
Definition at line 83 of file qgnometheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Reimplemented in QGtk3Theme.
Definition at line 183 of file qgnometheme.cpp.
|
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 142 of file qgnometheme.cpp.
Reimplemented from QGenericUnixTheme.
Reimplemented in QGtk3Theme.
Definition at line 152 of file qgnometheme.cpp.
|
virtual |
Reimplemented in QGtk3Theme.
Definition at line 167 of file qgnometheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Reimplemented in QGtk3Theme.
Definition at line 173 of file qgnometheme.cpp.
|
overridevirtual |
Returns the text of a standard button.
Reimplemented from QPlatformTheme.
Definition at line 228 of file qgnometheme.cpp.
|
overridevirtual |
Reimplemented from QGenericUnixTheme.
Reimplemented in QGtk3Theme.
Definition at line 99 of file qgnometheme.cpp.
|
static |
Definition at line 63 of file qgnometheme_p.h.
Referenced by testing.tools.encode_pdf_filter._PdfStream::RegisterByName().