File: inlineComponentsSameFile.qml

package info (click to toggle)
qt6-declarative 6.4.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 279,108 kB
  • sloc: cpp: 655,548; javascript: 513,497; xml: 9,201; python: 3,374; ansic: 3,278; sh: 213; php: 27; makefile: 17
file content (11 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
import QtQml 2.15

QtObject {
    component IC : QtObject {
        property string name
        property int age
    }

    property IC other: IC { name: "Toby"; age: 30 }
    property list<IC> listProp: [IC { name: "Alfred Ill"; age: 65 }, IC { name: "Claire Zachanassian"; age: 62}]
}