![]() |
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 907 of file qohosplatformtheme.cpp.
References QOhosPlatformTheme().
Referenced by QOhosPlatformTheme(), and QOhosPlatformIntegration::createPlatformTheme().
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 938 of file qohosplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 943 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 1008 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 1013 of file qohosplatformtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 995 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 985 of file qohosplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 932 of file qohosplatformtheme.cpp.
References QtOhos::getQOhosQpaFunctions().
| void QOhosPlatformTheme::setWheelScrollLines | ( | int | wheelScrollLines | ) |
Definition at line 1003 of file qohosplatformtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 955 of file qohosplatformtheme.cpp.
References QT_BEGIN_NAMESPACE::mouseDoubleClickInterval.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 949 of file qohosplatformtheme.cpp.
|
staticconstexpr |
Definition at line 26 of file qohosplatformtheme.h.