April 2018
Beginner
714 pages
18h 21m
English
Children of a component are not available from outside of it by default. This means that Calculator.qml cannot access input fields or radio buttons of our form. To implement the logic of the calculator, we need to access these objects, so let's expose them as public properties. Select the argument1 text field in the Navigator and click on the
Toggles whether this item is exported as an alias property of the root item button to the right of the object ID. After you click on the button, its icon will change to indicate that the item is exported. Now we can use the argument1 public property in
Read now
Unlock full access