Handling States from another qml file
-
HI guys & girls,
How do I save a state of a Checkbox item so that it is accessible from another qml file.
Example:
"submenu.qml" has a CheckBox item.
how to get CheckBox properties from "submentu.qml" in another qml file lets say "menu.qml"? -
You can use a signal which sends the properties to your "menu.qml". Just define a signal in "menu.qml" and execute this signal in "submenu.qml".
In "menu.qml" you can define an "onYouSignal" function where you can do anything with send values from "submenu.qml".