![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qiostheme.h>
Public Member Functions | |
QIOSTheme () | |
~QIOSTheme () | |
const QPalette * | palette (Palette type=SystemPalette) const override |
Return a color palette for type type. | |
QVariant | themeHint (ThemeHint hint) const override |
Qt::ColorScheme | colorScheme () const override |
void | requestColorScheme (Qt::ColorScheme scheme) override |
QPlatformMenuItem * | createPlatformMenuItem () const override |
QPlatformMenu * | createPlatformMenu () const override |
bool | usePlatformNativeDialog (DialogType type) const override |
QPlatformDialogHelper * | createPlatformDialogHelper (DialogType type) const override |
const QFont * | font (Font type=SystemFont) const override |
QIconEngine * | createIconEngine (const QString &iconName) const override |
Factory function for the QIconEngine used by QIcon::fromTheme(). | |
QIcon | fileIcon (const QFileInfo &fileInfo, QPlatformTheme::IconOptions options={}) const override |
Return an icon for fileInfo, observing iconOptions. | |
Public Member Functions inherited from QPlatformTheme | |
QPlatformTheme () | |
virtual | ~QPlatformTheme () |
virtual QPlatformMenuBar * | createPlatformMenuBar () const |
virtual void | showPlatformMenuBar () |
virtual QPlatformSystemTrayIcon * | createPlatformSystemTrayIcon () const |
Factory function for QSystemTrayIcon. | |
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 |
QString | name () const |
Static Public Member Functions | |
static void | initializeSystemPalette () |
static void | applyTheme (UIWindow *window) |
Static Public Member Functions inherited from QPlatformTheme | |
static QVariant | defaultThemeHint (ThemeHint hint) |
static QString | defaultStandardButtonText (int button) |
static QString | removeMnemonics (const QString &original) |
Static Public Attributes | |
static const char * | name = "ios" |
Definition at line 18 of file qiostheme.h.
QIOSTheme::QIOSTheme | ( | ) |
Definition at line 40 of file qiostheme.mm.
References initializeSystemPalette().
QIOSTheme::~QIOSTheme | ( | ) |
Definition at line 51 of file qiostheme.mm.
|
static |
Definition at line 205 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 160 of file qiostheme.mm.
|
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 228 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 124 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 105 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 100 of file qiostheme.mm.
|
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 233 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 221 of file qiostheme.mm.
|
static |
Definition at line 57 of file qiostheme.mm.
Referenced by QIOSTheme().
|
overridevirtual |
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 92 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 189 of file qiostheme.mm.
Reimplemented from QPlatformTheme.
Definition at line 146 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 111 of file qiostheme.mm.
|
static |
Definition at line 42 of file qiostheme.h.
Referenced by QIOSIntegration::createPlatformTheme(), testing.tools.encode_pdf_filter._PdfStream::RegisterByName(), and QIOSIntegration::themeNames().