blob: bd724c4aebd1bd002384b3a0ff5043cd7c115309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import QtQuick 2.0
pragma Singleton
Item {
id: singletonId
component IC1: Item {
property int iProp: 42
property string sProp: "Hello, world"
property Rectangle myRect: Rectangle {color: "green"}
}
component IC2: Item {
property int iProp: 13
property string sProp: "Goodbye, world"
property Rectangle myRect: Rectangle {color: "red"}
}
}
|