![]() |
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. | |
| 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 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. | |
| 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 962 of file qohosplatformtheme.cpp.
References QOhosPlatformTheme().
Referenced by QOhosPlatformTheme(), and QOhosPlatformIntegration::createPlatformTheme().
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 1001 of file qohosplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 1006 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 1071 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 1076 of file qohosplatformtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 1058 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 1048 of file qohosplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 990 of file qohosplatformtheme.cpp.
References QtOhos::enums::ohos::app::ability::ConfigurationConstant::COLOR_MODE_DARK, QtOhos::enums::ohos::app::ability::ConfigurationConstant::COLOR_MODE_LIGHT, and QtOhos::enums::ohos::app::ability::ConfigurationConstant::COLOR_MODE_NOT_SET.
| void QOhosPlatformTheme::setWheelScrollLines | ( | int | wheelScrollLines | ) |
Definition at line 1066 of file qohosplatformtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 1018 of file qohosplatformtheme.cpp.
References QT_BEGIN_NAMESPACE::mouseDoubleClickInterval.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 1012 of file qohosplatformtheme.cpp.
|
staticconstexpr |
Definition at line 26 of file qohosplatformtheme.h.