Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
6.0
Description
Possible Syntax
component BlueCircle: Rectangle{
required radius
private height: 2*radius
private width: 2*radius
readonly color: "blue"
}
BlueCircle{
anchors.centerIn: parent
radius: parent.height/5
}
This will provide better encapsulation. Changing the access level of inherited members in a derived class is also supported in C++.