O'Reilly logo

Qt 5 Projects by Marco Piccolino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Improving the UI

The UI we have developed as a prototype is enough to support the intended usecases; however, it certainly lacks several essential usability features. Among these, we should, for example, remove the user's text input when the use case succeeds. Thanks to the power of QML and to our clean application architecture, this is easily done, as follows:

// Page1.qml...Page1Form {    ...    Connections {        target: addGroceryItem        onSuccess: addItemField.text = ""    }}
Take some time and explore other ways to improve the Qt Quick UI by making it more user-friendly. Have someone else do a test-run of your app to give you feedback. Keep in mind that you will only be able to properly assess some aspects once your app runs on the intended target platform ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required