In this recipe, we will add a Tab Widget to our UI using the Designer tool. Then, we will convert the .ui code into Python code. This will serve us well in preparation for adding more widgets and functionality to our GUI.
Adding a Tab Widget via 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 Tab Widget to our UI design by using the Designer. It is as simple as dragging and dropping. Let's get started:
- In Qt Designer, open Designer_First_UI...