I prefer, to make separate widgets for each part of the UI. That way making little adjustements in the future is way easier when you don’t have to dig through code related to ten, different UI elements.
Also, if you make these separate widgets, it’ll allow you to reuse it in other places in the project, or even in other projects if you make it generic enough! It saves lots of time. :]