10#include <QQmlApplicationEngine>
11#include <QQuickWindow>
12#include <QScopedPointer>
13#if defined (Q_OS_MACOS)
18Q_FORWARD_DECLARE_OBJC_CLASS(FontChangeTracker);
22class test_UiPluginQml;
44 bool mHighContrastEnabled;
46 bool mShowFocusIndicator;
47 constexpr static qreal DEFAULT_SCALE_FACTOR = 0.6;
49 qreal mFontScaleFactor;
52 [[
nodiscard]]
static QString getOverridePlatform();
55 [[
nodiscard]]
bool showUpdateInformationIfPending();
58 void setOsDarkMode(
bool pState);
65 FontChangeTracker*
const mFontChangeTracker;
109 void doShutdown()
override;
112 void onApplicationInitialized()
override;
113 void onApplicationStarted()
override;
115 void onHideUi()
override;
116 void onTranslationChanged()
override;
119 void onUiDominationReleased()
override;
120 void onShowUserInformation(
const QString&
pMessage)
override;
121 void onUpdateScheduled()
const;
123 void onQmlWarnings(
const QList<QQmlError>&
pWarnings);
124 void onQmlObjectCreated(
const QObject*
pObject);
125 void onSceneGraphError(QQuickWindow::SceneGraphError
pError,
const QString&
pMessage);
129 void onWindowPaletteChanged();
130 void onUserDarkModeChanged()
const;
131 void onUseSystemFontChanged()
const;
132 void onTrayIconEnabledChanged();
133 void onAppConfigChanged();
Definition UiPluginModel.h:21
Definition UiPluginQml.h:30
Q_INVOKABLE void hideFromTaskbar() const override
Definition UiPluginQml.cpp:247
bool isChromeOS() const override
Definition UiPluginQml.cpp:914
bool isDarkModeEnabled() const override
Definition UiPluginQml.cpp:846
bool isDeveloperVersion() const override
Definition UiPluginQml.cpp:723
bool getShowFocusIndicator() const override
Definition UiPluginQml.cpp:882
bool eventFilter(QObject *pObj, QEvent *pEvent) override
Definition UiPluginQml.cpp:573
static QString adjustQmlImportPath(QQmlEngine *pEngine)
Definition UiPluginQml.cpp:254
static void registerQmlTypes()
Definition UiPluginQml.cpp:156
bool isHighContrastEnabled() const override
Definition UiPluginQml.cpp:794
QString getDominator() const override
Definition UiPluginQml.cpp:729
bool isOsDarkModeEnabled() const
Definition UiPluginQml.cpp:810
void fireAppConfigChanged()
QVariantMap getSafeAreaMargins() const override
Definition UiPluginQml.cpp:742
~UiPluginQml() override=default
bool isOsDarkModeSupported() const override
Definition UiPluginQml.cpp:834
bool isDominated() const override
Definition UiPluginQml.cpp:735
qreal getScaleFactor() const override
Definition UiPluginQml.cpp:888
void setScaleFactor(qreal pScaleFactor) override
Definition UiPluginQml.cpp:895
QString getFixedFontFamily() const override
Definition UiPluginQml.cpp:865
QString getQtVersion() const override
Definition UiPluginQml.cpp:705
qreal getFontScaleFactor() const override
Definition UiPluginQml.cpp:908
QSize getInitialWindowSize() const override
Definition UiPluginQml.cpp:871
bool isDebugBuild() const override
Definition UiPluginQml.cpp:711
Q_INVOKABLE void doRefresh() override
Definition UiPluginQml.cpp:693
friend class ::test_UiPluginQml
Definition UiPluginQml.h:34
void fireTranslationChanged()
Defines the AccessRight and AccessRole enum.
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:112