DeepNestedType QML Type

Example demonstrating deeply nested qualified type names. More...

Import Statement: import TestModule 1.0
Inherits:

BaseType

Properties

Detailed Description

This type tests QDoc's ability to handle qualified type names with multiple segments like X.Level1.Level2.Leaf.

import TestModule.SubModule.Deep as X

DeepNestedType {
    // This should properly link X.Level1.Level2.Leaf as a complete type name
    nested: X.Level1.Level2.Leaf {
        value: 42
        deepProperty: "nested value"
    }

    // Test property bindings with multi-segment names
    Layout.alignment: Qt.AlignCenter
    anchors.margins.left: 10
}

The key test case is X.Level1.Level2.Leaf which has 4 segments:

Property Documentation

nested : Item

A property that uses deeply nested type names for testing QDoc linking.

testProp : string

Property to test multi-segment property access.