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

Trying out the usecases from the UI

We can now select the gui subproject and run it from Qt Creator as usual. When the app launches, upon completion of the page, we should see the list of groceries populated.

More interestingly, if we enter a new item type in the text field and press Add item, we should see that the item is added to the list using the correct sorting (alphabetical order, ascending).

Similarly, if you implemented remove grocery item and press on the X for an item, the item will disappear from the list.

How awesome is that?

           

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