qml-rust
qml-rust copied to clipboard
Add ability to load different properties for on page chage
trafficstars
I'm designing a multi-page/window GUI. To clean up my code, I'd like to pass properties from different files on page change.
For example:
- You start the app and main.rs calls upon main.qml.
- You click the button Show Users.
- users.qml is loaded with variables provided by users.rs.
etc. I want to create a 1:1 mapping of views and "controllers".
I'd love to see this ability in the future! I'm completely new to Rust and Qt Quick, so if this isn't part of the spec just let me know.