I have a main window and I want that when I maximize it the widgets inside it should automatically be resized ....
Is there any way I can do that ????
If you want to save you a lot of work, don't hand-code the ui. Use Qt Creator to create a ui file and then load this file dynamically using PyQt4.uic module. There is also a "static" approach that generates python code from Qt Creator ui files.
PyQt4 - Maximize window along with inside widgets