Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qiostheme.h>
Public Member Functions | |
QIOSTheme () | |
~QIOSTheme () | |
const QPalette * | palette (Palette type=SystemPalette) const override |
QVariant | themeHint (ThemeHint hint) const override |
Qt::ColorScheme | colorScheme () const 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(). | |
Public Member Functions inherited from QPlatformTheme | |
Q_ENUM (DialogType) | |
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 |
virtual QIcon | fileIcon (const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions={ }) const |
Return an icon for fileInfo, observing iconOptions. | |
virtual QString | standardButtonText (int button) const |
Returns the text of a standard button. | |
QString | name () const |
Static Public Member Functions | |
static void | initializeSystemPalette () |
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 15 of file qiostheme.h.
QIOSTheme::QIOSTheme | ( | ) |
Definition at line 38 of file qiostheme.mm.
References initializeSystemPalette(), qCDebug, and QPlatformFontDatabase::repopulateFontDatabase().
QIOSTheme::~QIOSTheme | ( | ) |
Definition at line 49 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 148 of file qiostheme.mm.
References Qt::Dark, Qt::Light, qt_apple_sharedApplication(), and window().
|
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 181 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 114 of file qiostheme.mm.
References QPlatformTheme::ColorDialog, QPlatformTheme::FileDialog, QPlatformTheme::FontDialog, and QPlatformTheme::MessageDialog.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 95 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 90 of file qiostheme.mm.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 174 of file qiostheme.mm.
References QGuiApplicationPrivate::platformIntegration(), and QCoreTextFontDatabase::themeFont().
|
static |
Definition at line 55 of file qiostheme.mm.
References QPalette::Accent, QPalette::Active, QPalette::Base, QPalette::BrightText, QPalette::Button, QPalette::ButtonText, QPalette::Highlight, QPalette::HighlightedText, QPalette::Link, QPalette::LinkVisited, QPalette::PlaceholderText, Q_DECL_IMPORT, qt_fusionPalette(), qt_mac_toQBrush(), QPalette::Text, QPalette::Window, and QPalette::WindowText.
Referenced by QIOSTheme().
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 82 of file qiostheme.mm.
References QPlatformTheme::SystemPalette.
Reimplemented from QPlatformTheme.
Definition at line 136 of file qiostheme.mm.
References hint(), QPlatformTheme::KeyboardScheme, QPlatformTheme::MacKeyboardScheme, QStringLiteral, QPlatformTheme::StyleNames, and QPlatformTheme::themeHint().
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 101 of file qiostheme.mm.
References QPlatformTheme::ColorDialog, QPlatformTheme::FileDialog, QPlatformTheme::FontDialog, QPlatformTheme::MessageDialog, and qt_apple_isApplicationExtension().
|
static |
Definition at line 37 of file qiostheme.h.
Referenced by QIOSIntegration::createPlatformTheme(), and QIOSIntegration::themeNames().