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 <qxdgdesktopportaltheme.h>
Public Member Functions | |
QXdgDesktopPortalTheme () | |
QPlatformMenuItem * | createPlatformMenuItem () const override |
QPlatformMenu * | createPlatformMenu () const override |
QPlatformMenuBar * | createPlatformMenuBar () const override |
void | showPlatformMenuBar () override |
bool | usePlatformNativeDialog (DialogType type) const override |
QPlatformDialogHelper * | createPlatformDialogHelper (DialogType type) const override |
QPlatformSystemTrayIcon * | createPlatformSystemTrayIcon () const override |
Factory function for QSystemTrayIcon. | |
const QPalette * | palette (Palette type=SystemPalette) const override |
const QFont * | font (Font type=SystemFont) const override |
QVariant | themeHint (ThemeHint hint) const override |
Qt::ColorScheme | colorScheme () const override |
QPixmap | standardPixmap (StandardPixmap sp, const QSizeF &size) const override |
QIcon | fileIcon (const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions={ }) const override |
Return an icon for fileInfo, observing iconOptions. | |
QIconEngine * | createIconEngine (const QString &iconName) const override |
Factory function for the QIconEngine used by QIcon::fromTheme(). | |
QString | standardButtonText (int button) const override |
Returns the text of a standard button. | |
Public Member Functions inherited from QPlatformTheme | |
Q_ENUM (DialogType) | |
QPlatformTheme () | |
virtual | ~QPlatformTheme () |
QString | name () const |
Definition at line 13 of file qxdgdesktopportaltheme.h.
QXdgDesktopPortalTheme::QXdgDesktopPortalTheme | ( | ) |
Definition at line 82 of file qxdgdesktopportaltheme.cpp.
References QPlatformTheme::QPlatformTheme(), QXdgDesktopPortalThemePrivate::colorSchemeFromXdgPref(), QObject::connect(), QPlatformThemeFactory::create(), QDBusMessage::createMethodCall(), d, QDBusPendingCallWatcher::finished(), QScopedPointer< T, Cleanup >::get(), QGuiApplicationPrivate::platform_integration, reply, QDBusConnection::sessionBus(), SLOT, themeName(), themeNames, and watcher.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 225 of file qxdgdesktopportaltheme.cpp.
References d, and Qt::Unknown.
|
overridevirtual |
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.
Reimplemented from QPlatformTheme.
Definition at line 246 of file qxdgdesktopportaltheme.cpp.
References d.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 182 of file qxdgdesktopportaltheme.cpp.
References d, and QPlatformTheme::FileDialog.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 154 of file qxdgdesktopportaltheme.cpp.
References d.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 160 of file qxdgdesktopportaltheme.cpp.
References d.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 148 of file qxdgdesktopportaltheme.cpp.
References d.
|
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 200 of file qxdgdesktopportaltheme.cpp.
References d.
|
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.
Definition at line 239 of file qxdgdesktopportaltheme.cpp.
References d.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 213 of file qxdgdesktopportaltheme.cpp.
References d.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 207 of file qxdgdesktopportaltheme.cpp.
References d.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 166 of file qxdgdesktopportaltheme.cpp.
References d.
|
overridevirtual |
Returns the text of a standard button.
Reimplemented from QPlatformTheme.
Definition at line 260 of file qxdgdesktopportaltheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 233 of file qxdgdesktopportaltheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 219 of file qxdgdesktopportaltheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 172 of file qxdgdesktopportaltheme.cpp.
References d, and QPlatformTheme::FileDialog.