In this recipe, we will add a button and a label, both of which we will place in the layouts we added to our UI design in the previous recipe.
Adding buttons and labels in the Designer
Getting ready
You will need to have the .ui code from the previous recipe available. All the other prerequisites apply to this recipe as well.
How to do it...
We will add a button and a label to our UI design. We will also use the Designer to connect the two, creating some of the available functionality directly within the Designer. Let's take a look at the steps:
- In the Designer...