Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite .ui forms in QML for iOS/mobile possibilities #8

Closed
craigmac opened this issue Mar 3, 2021 · 0 comments
Closed

Rewrite .ui forms in QML for iOS/mobile possibilities #8

craigmac opened this issue Mar 3, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@craigmac
Copy link
Owner

craigmac commented Mar 3, 2021

  1. Learn QML. Pay special attention to how to share data between C++ and QML (using Qt meta object system and Qt's model view framework, mostly). Don't write any permanent changes to the current app yet (either do learning/PoC programs from scratch, or make a throw-away branch of current code).

  2. Modify current C++-only code to decouple GUI and business logic more (if needed, but I assume it is), using what you learned above about C++-QML interoperability. Concentrate on making the business logic separate, with minimal GUI code changes (because those are going be thrown away eventually).

  3. Convert some parts of the current GUI to QML in QQuickView widgets. Keep the overall widget based GUI structure for now, but aim for these pieces of QML UI to be as final as you can easily make them. Go as far as you practically can with this conversion, keeping the program fully functional. Also, this step is a continuation of step 2 in separating the business logic from UI, but now you got actual QML to work against, so you will discover new things you must change.

  4. If it is feasible to make it all be QML, then do a final push and get rid of the widgets entirely. If there are some parts of UI which just won't be feasible to re-write in QML, then just complete step 3 by converting everything you want to convert.

@craigmac craigmac self-assigned this Mar 3, 2021
@craigmac craigmac added this to the 3.0 milestone Mar 3, 2021
@craigmac craigmac added the enhancement New feature or request label Mar 3, 2021
@craigmac craigmac closed this as not planned Won't fix, can't repro, duplicate, stale Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant