O'Reilly logo

Game Programming using Qt 5 Beginner's Guide - Second Edition by Lorenz Haas, Witold Wysota, Pavel Strakhov

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

Time for action – Adding items to the form

Locate the Text Field type in the Qt Quick - Controls 2 section of the library pane and drag it to the main area. A new text field will be created. We will also need the Radio Button, Label, and Button types from the same section. Drag them to the form and arrange them as shown:

Next, you need to select each element and edit its properties. Click on the first text field in the main area or in the navigator. The blue frame around the object in the main area will indicate that it is selected. Now you can use the property editor to view and edit properties of the selected element. First, we want to set ...

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