34 Q_PROPERTY(QQuickItem *blurSource READ blurSource WRITE setBlurSource NOTIFY blurSourceChanged)
35 Q_PROPERTY(QQuickItem *bgBlur READ bgBlur WRITE setBgBlur NOTIFY bgBlurChanged)
36 Q_PROPERTY(QQuickItem *menuBarBlur READ menuBarBlur WRITE setMenuBarBlur NOTIFY menuBarBlurChanged)
37 Q_PROPERTY(QQuickItem *tabBarBlur READ tabBarBlur WRITE setTabBarBlur NOTIFY tabBarBlurChanged)
38 Q_PROPERTY(QQuickItem *activeFocusItem READ activeFocusItem WRITE setActiveFocusItem NOTIFY activeFocusItemChanged)
50 Q_DECL_DEPRECATED QQuickItem *blurSource(
void);
51 Q_DECL_DEPRECATED
void setBlurSource(QQuickItem *item);
52 QQuickItem *bgBlur(
void);
53 void setBgBlur(QQuickItem *item);
54 QQuickItem *menuBarBlur(
void);
55 void setMenuBarBlur(QQuickItem *item);
56 QQuickItem *tabBarBlur()
const;
57 void setTabBarBlur(QQuickItem *newTabBarBlur);
58 QQuickItem *activeFocusItem(
void);
59 void setActiveFocusItem(QQuickItem *newActiveFocusItem);
60 Q_INVOKABLE
static bool nativeMenuBar(
void);
61 Q_INVOKABLE
static int qtVersionMajor(
void);
62 Q_INVOKABLE
static int qtVersionMinor(
void);
63 Q_INVOKABLE
static int qtVersionPatch(
void);
64 Q_INVOKABLE
static int compareQtVersions(
int major1,
int minor1,
int patch1,
int major2,
int minor2,
int patch2);
65 Q_INVOKABLE
static bool qtVersionAtLeast(
int major,
int minor,
int patch);
66 Q_INVOKABLE
static QString applicationRevision(
void);
67 Q_INVOKABLE
static int applicationBuildYear(
void);
68 Q_INVOKABLE
static void restartApplication(
void);
69 Q_INVOKABLE
static bool osWindows(
void);
70 Q_INVOKABLE
static bool osWasm(
void);
71 Q_INVOKABLE
static bool osMac(
void);
72 Q_INVOKABLE
void reloadMenuBar(
void);
73 static QPixmap standardIcon(StandardIcon icon);
74 Q_INVOKABLE
static QString standardIconStr(StandardIcon icon);
75 Q_INVOKABLE
static QStringList fontFamilies(
bool fixedPitch =
false);
76 Q_INVOKABLE
static QString translateStandardButton(QString buttonText);
79 Q_INVOKABLE
static QQuickItem *findFirstControl(QQuickItem *rootItem);
80 Q_INVOKABLE
static bool itemHasChild(QQuickItem *item, QQuickItem *child);
83 static QString convertPixmap(QPixmap pixmap);
84 static QList<QQuickItem *> itemChildren(QQuickItem *item);
85 QQuickItem *m_blurSource =
nullptr;
86 QQuickItem *m_bgBlur =
nullptr;
87 QQuickItem *m_menuBarBlur =
nullptr;
88 QQuickItem *m_tabBarBlur =
nullptr;
89 QQuickItem *m_activeFocusItem =
nullptr;
92 void blurSourceChanged(QQuickItem *item);
93 void bgBlurChanged(QQuickItem *item);
94 void menuBarBlurChanged(QQuickItem *item);
95 void tabBarBlurChanged(QQuickItem *item);
96 void activeFocusItemChanged(
void);
97 void menuBarReloadTriggered(
void);
98 void screenKeyboardChanged(
bool layoutChanged);