![]() |
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. | |
| 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 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. | |
| virtual Qt::ContrastPreference | contrastPreference () const |
| virtual Qt::MotionPreference | motionPreference () const |
| QString | name () const |
Static Public Attributes | |
| static constexpr int | defaultWheelScrollLines = 3 |
Definition at line 23 of file qohosplatformtheme.h.
| QOhosPlatformTheme::QOhosPlatformTheme | ( | ) |
Definition at line 806 of file qohosplatformtheme.cpp.
References QOhosPlatformTheme().
Referenced by QOhosPlatformTheme(), and QOhosPlatformIntegration::createPlatformTheme().
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 837 of file qohosplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 842 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 905 of file qohosplatformtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 892 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 882 of file qohosplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 831 of file qohosplatformtheme.cpp.
References QOhosOptional< T >::andThen(), QtOhos::getQOhosQpaFunctions(), and QtOhos::QOhosQpaFunctions::setOhosConfigDarkModeFlag().
| void QOhosPlatformTheme::setWheelScrollLines | ( | int | wheelScrollLines | ) |
Definition at line 900 of file qohosplatformtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 854 of file qohosplatformtheme.cpp.
References QT_BEGIN_NAMESPACE::mouseDoubleClickInterval.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 848 of file qohosplatformtheme.cpp.
|
staticconstexpr |
Definition at line 27 of file qohosplatformtheme.h.