In this recipe, we will explore the very important concept of using layouts with PyQt5 and we will do so using the Designer tool. In tkinter, we explored Label Frames. In PyQt5, horizontal and vertical layouts are the main ways in which we can design our UI.
This can get a little bit tricky, so, as I mentioned previously, make sure you back up your UI design often so that, when things turn out ugly, you have a foundation to go back to.
In the following recipe, we will place widgets into these layouts.