SwipeViewLoader
Properties | |
alias | content |
Additional Inherited Members | |
Public Member Functions inherited from QtQuick.Loader | |
loaded () | |
object | setSource (url source, object properties) |
Detailed Description
A companion for the MauiKit SwipeView control, for lazy-loading the views to not drain too much resources.
- Since
- org.mauikit.controls 1.0
This controls inherits from QQC2 Loader, to checkout its inherited properties refer to the Qt Docs.
This element wraps a component into a loader that is active only if it is the next, current or previous view in use, or if it has already been created once. This component is useful when the AppViews has more then 4 different views to relief the loading of many views at the same time all at once.
This control will also display a progress bar element at the bottom of the view - indicating the progress of loading the hosted component.
- See also
- ProgressIndicator
- Note
- Remember to set the Controls metadata information, such as title and icon, using the attached properties.
- See also
- AppView
- Note
- To improve the efficiency of loading time, this control will load its component asynchronously. This can be disabled by setting
asynchronous: false
You can find a more complete example at this link.
Definition at line 58 of file SwipeViewLoader.qml.
Property Documentation
◆ content
|
read |
- Remarks
- This is the default property
Definition at line 67 of file SwipeViewLoader.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.