MauiKit Controls
mauiapp.h
36 * The MauiApp is a global singleton instance, can be accessed from QML as an attached property, so it can be used by importing `org.mauikit.controls`
38 * @warning It is needed that the first instance creation is made on the application main entry point before the QML engine creates the window surface, so the style and other parts are correctly loaded.
52 * By default MauiApp will set the style to "org.mauikit.style" after it has been instanciated, which is the most optimal and feature-rich style to be used with Maui applications. However this can be overriden by a custom one, by either setting the env variable `QT_QUICK_CONTROLS_STYLE` or by code:
55 * qputenv("QML_DISABLE_DISK_CACHE", "1"); // This is to workaround a bug causing the new style to not be picked up due to the cache of the default or previous one
83 Q_PROPERTY(QString donationPage READ getDonationPage WRITE setDonationPage NOTIFY donationPageChanged)
93 Q_PROPERTY(QObject *rootComponent READ rootComponent WRITE setRootComponent NOTIFY rootComponentChanged)
The MauiApp class The MauiApp is a global singleton instance, can be accessed from QML as an attached...
Definition mauiapp.h:60
static KAboutComponent aboutMauiKit()
Retrieves information of the MauiKit framework wrapped into a KAboutComponent object.
Definition mauiapp.cpp:42
void setIconName(const QString &value)
Set the file URL to the application icon.
Definition mauiapp.cpp:95
Q_INVOKABLE void setRootComponent(QObject *item)
Define the root element of the Maui Application.
Definition mauiapp.cpp:148
QObject * rootComponent
The main and first Maui.ApplicationWindow to be instanciated.
Definition mauiapp.h:93
Definition notify.h:54
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 18 2025 12:16:12 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 18 2025 12:16:12 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.