16#include <QQmlApplicationEngine>
17#include <QQuickWindow>
18#include <QScopedPointer>
19#if defined (Q_OS_MACOS)
24Q_FORWARD_DECLARE_OBJC_CLASS(FontChangeTracker);
28class test_UIPlugInQml;
60 bool mUpdateInformationPending;
63 bool mHighContrastEnabled;
65#if defined(Q_OS_MACOS)
68 bool mShowFocusIndicator;
69 constexpr static qreal DEFAULT_SCALE_FACTOR = 0.6;
71 qreal mFontScaleFactor;
78 [[
nodiscard]]
bool showUpdateInformationIfPending();
81 void setOsDarkMode(
bool pState);
88 FontChangeTracker*
const mFontChangeTracker;
139 void doShutdown()
override;
142 void onApplicationInitialized()
override;
143 void onApplicationStarted()
override;
145 void onHideUi()
override;
146 void onTranslationChanged()
override;
149 void onUiDominationReleased()
override;
151 void onUpdateScheduled()
const;
154 void onQmlWarnings(
const QList<QQmlError>&
pWarnings);
155 void onQmlObjectCreated(QObject*
pObject);
160 void onWindowPaletteChanged();
161 void onUseSystemFontChanged()
const;
162 void onAutoStartChanged();
163 void onAppConfigChanged();
Definition GlobalStatus.h:22
Definition ProxyCredentials.h:17
Definition UIPlugInQml.h:36
~UIPlugInQml() override=default
void fireShowRequest(UiModule pModule)
QString getPlatformStyle() const
Definition UIPlugInQml.cpp:805
void fireShowFocusIndicator()
bool isDeveloperVersion() const
Definition UIPlugInQml.cpp:823
bool eventFilter(QObject *pObj, QEvent *pEvent) override
Definition UIPlugInQml.cpp:634
QString dominator
Definition UIPlugInQml.h:43
bool isOsDarkModeEnabled() const
Definition UIPlugInQml.cpp:910
QVariantMap safeAreaMargins
Definition UIPlugInQml.h:45
Q_INVOKABLE void hideFromTaskbar() const
Definition UIPlugInQml.cpp:314
qreal getScaleFactor() const
Definition UIPlugInQml.cpp:959
void fireSafeAreaMarginsChanged()
bool highContrastEnabled
Definition UIPlugInQml.h:46
bool isHighContrastEnabled() const
Definition UIPlugInQml.cpp:894
QString getDominator() const
Definition UIPlugInQml.cpp:829
static void registerQmlTypes()
Definition UIPlugInQml.cpp:211
bool isDominated() const
Definition UIPlugInQml.cpp:835
bool debugBuild
Definition UIPlugInQml.h:41
void fireTranslationChanged()
qreal scaleFactor
Definition UIPlugInQml.h:52
void setScaleFactor(qreal pScaleFactor)
Definition UIPlugInQml.cpp:966
bool showFocusIndicator
Definition UIPlugInQml.h:51
void fireOsDarkModeChanged()
bool dominated
Definition UIPlugInQml.h:44
QVariantMap getSafeAreaMargins() const
Definition UIPlugInQml.cpp:842
qreal getFontScaleFactor() const
Definition UIPlugInQml.cpp:979
void fireScaleFactorChanged()
QString getFixedFontFamily() const
Definition UIPlugInQml.cpp:939
void fireDominatorChanged()
bool osDarkModeEnabled
Definition UIPlugInQml.h:47
void fireProxyAuthenticationRequired(ProxyCredentials *pProxyCredentials)
Q_INVOKABLE void init()
Definition UIPlugInQml.cpp:256
QSize initialWindowSize
Definition UIPlugInQml.h:50
QString fixedFontFamily
Definition UIPlugInQml.h:49
void fireHighContrastEnabledChanged()
friend class ::test_UIPlugInQml
Definition UIPlugInQml.h:54
bool developerVersion
Definition UIPlugInQml.h:42
void fireFontScaleFactorChanged()
UIPlugInQml()
Definition UIPlugInQml.cpp:165
bool getShowFocusIndicator() const
Definition UIPlugInQml.cpp:953
QString platformStyle
Definition UIPlugInQml.h:40
qreal fontScaleFactor
Definition UIPlugInQml.h:53
Q_INVOKABLE void applyPlatformStyle(const QString &pPlatformStyle)
Definition UIPlugInQml.cpp:1055
void doRefresh()
Definition UIPlugInQml.cpp:793
bool isOsDarkModeSupported() const
Definition UIPlugInQml.cpp:927
bool osDarkModeSupported
Definition UIPlugInQml.h:48
void fireAppConfigChanged()
QSize getInitialWindowSize() const
Definition UIPlugInQml.cpp:945
bool isDebugBuild() const
Definition UIPlugInQml.cpp:811
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114