16#include <QQmlApplicationEngine>
17#include <QQuickWindow>
18#include <QScopedPointer>
19#if defined (Q_OS_MACOS)
24Q_FORWARD_DECLARE_OBJC_CLASS(FontChangeTracker);
28class test_UiPluginQml;
48 bool mUpdateInformationPending;
51 bool mHighContrastEnabled;
53 bool mShowFocusIndicator;
54 constexpr static qreal DEFAULT_SCALE_FACTOR = 0.6;
56 qreal mFontScaleFactor;
59 [[
nodiscard]]
static QString getOverridePlatform();
62 [[
nodiscard]]
bool showUpdateInformationIfPending();
65 void setOsDarkMode(
bool pState);
72 FontChangeTracker*
const mFontChangeTracker;
114 void doShutdown()
override;
117 void onApplicationInitialized()
override;
118 void onApplicationStarted()
override;
120 void onHideUi()
override;
121 void onTranslationChanged()
override;
124 void onUiDominationReleased()
override;
125 void onShowUserInformation(
const QString&
pMessage)
override;
126 void onUpdateScheduled()
const;
129 void onQmlWarnings(
const QList<QQmlError>&
pWarnings);
130 void onQmlObjectCreated(QObject*
pObject);
131 void onSceneGraphError(QQuickWindow::SceneGraphError
pError,
const QString&
pMessage);
135 void onWindowPaletteChanged();
136 void onUseSystemFontChanged()
const;
137 void onAutoStartChanged();
138 void onAppConfigChanged();
Definition UiPluginModel.h:21
Definition UiPluginQml.h:36
Q_INVOKABLE void hideFromTaskbar() const override
Definition UiPluginQml.cpp:249
bool isChromeOS() const override
Definition UiPluginQml.cpp:895
bool isDeveloperVersion() const override
Definition UiPluginQml.cpp:726
bool getShowFocusIndicator() const override
Definition UiPluginQml.cpp:863
bool eventFilter(QObject *pObj, QEvent *pEvent) override
Definition UiPluginQml.cpp:578
static QString adjustQmlImportPath(QQmlEngine *pEngine)
Definition UiPluginQml.cpp:256
static void registerQmlTypes()
Definition UiPluginQml.cpp:166
bool isHighContrastEnabled() const override
Definition UiPluginQml.cpp:797
QString getDominator() const override
Definition UiPluginQml.cpp:732
void fireAppConfigChanged()
QVariantMap getSafeAreaMargins() const override
Definition UiPluginQml.cpp:745
~UiPluginQml() override=default
bool isOsDarkModeSupported() const override
Definition UiPluginQml.cpp:834
bool isDominated() const override
Definition UiPluginQml.cpp:738
qreal getScaleFactor() const override
Definition UiPluginQml.cpp:869
void setScaleFactor(qreal pScaleFactor) override
Definition UiPluginQml.cpp:876
QString getFixedFontFamily() const override
Definition UiPluginQml.cpp:846
qreal getFontScaleFactor() const override
Definition UiPluginQml.cpp:889
QSize getInitialWindowSize() const override
Definition UiPluginQml.cpp:852
bool isOsDarkModeEnabled() const override
Definition UiPluginQml.cpp:813
bool isDebugBuild() const override
Definition UiPluginQml.cpp:714
Q_INVOKABLE void doRefresh() override
Definition UiPluginQml.cpp:702
friend class ::test_UiPluginQml
Definition UiPluginQml.h:40
void fireTranslationChanged()
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114