graphics (now you name them widgets!) are in .ui file
you can simply create widgets and other objects, both in run time and using Qt Designer

work with examples and read helps