![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qohosplatformtheme.h>
Public Member Functions | |
| QOhosPlatformTheme () | |
| void | requestColorScheme (Qt::ColorScheme scheme) override |
| Qt::ColorScheme | colorScheme () const override |
| QPlatformDialogHelper * | createPlatformDialogHelper (DialogType type) const override |
| bool | usePlatformNativeDialog (DialogType type) const override |
| QVariant | themeHint (ThemeHint hint) const override |
| const QPalette * | palette (Palette type) const override |
| Return a color palette for type type. | |
| const QFont * | font (Font type) const override |
| void | setWheelScrollLines (int wheelScrollLines) |
| QPlatformSystemTrayIcon * | createPlatformSystemTrayIcon () const override |
| Factory function for QSystemTrayIcon. | |
| 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(). | |
| 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 QPixmap | standardPixmap (StandardPixmap sp, const QSizeF &size) const |
| Return a pixmap for standardPixmap, at the given size. | |
| virtual QString | standardButtonText (int button) const |
| Returns the text of a standard button. | |
| virtual Qt::ContrastPreference | contrastPreference () const |
| virtual Qt::MotionPreference | motionPreference () const |
| QString | name () const |
Static Public Attributes | |
| static constexpr int | defaultWheelScrollLines = 3 |
Definition at line 22 of file qohosplatformtheme.h.
| QOhosPlatformTheme::QOhosPlatformTheme | ( | ) |
Definition at line 971 of file qohosplatformtheme.cpp.
References QOhosPlatformTheme().
Referenced by QOhosPlatformTheme(), and QOhosPlatformIntegration::createPlatformTheme().
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 1010 of file qohosplatformtheme.cpp.
|
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 1094 of file qohosplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 1015 of file qohosplatformtheme.cpp.
|
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 1082 of file qohosplatformtheme.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.
Definition at line 1087 of file qohosplatformtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 1069 of file qohosplatformtheme.cpp.
Return a color palette for type type.
When relying on system color palette keep in mind that it is lazily initialized and cached. If it needs to be updated (i.e. due to ColorScheme changes), it's up to the caller to take care of it. See requestColorScheme.
Reimplemented from QPlatformTheme.
Definition at line 1059 of file qohosplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 999 of file qohosplatformtheme.cpp.
| void QOhosPlatformTheme::setWheelScrollLines | ( | int | wheelScrollLines | ) |
Definition at line 1077 of file qohosplatformtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 1027 of file qohosplatformtheme.cpp.
References QT_BEGIN_NAMESPACE::mouseDoubleClickInterval.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 1021 of file qohosplatformtheme.cpp.
|
staticconstexpr |
Definition at line 26 of file qohosplatformtheme.h.