StatusQ(Utils): Simple utility allowing to declare children in QtObject without property assignment

This commit is contained in:
Michał Cieślak 2024-02-16 11:57:55 +01:00 committed by Michał
parent 2ffb0feedd
commit 5b5b19fc7a
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,7 @@
import QtQml 2.15
// Simple utility allowing to declare children within QtObject without having
// to assigne them to properties, like `QtObject { ListModel {} }`
QtObject {
default property list<QtObject> children
}

View File

@ -8,6 +8,7 @@ JSONListModel 0.1 JSONListModel.qml
ModelChangeGuard 0.1 ModelChangeGuard.qml ModelChangeGuard 0.1 ModelChangeGuard.qml
ModelChangeTracker 0.1 ModelChangeTracker.qml ModelChangeTracker 0.1 ModelChangeTracker.qml
ModelsComparator 0.1 ModelsComparator.qml ModelsComparator 0.1 ModelsComparator.qml
QObject 0.1 QObject.qml
StackViewStates 0.1 StackViewStates.qml StackViewStates 0.1 StackViewStates.qml
StatesStack 0.1 StatesStack.qml StatesStack 0.1 StatesStack.qml
Subscription 0.1 Subscription.qml Subscription 0.1 Subscription.qml