@im_vidhya - Look at the QScreen class. There are functions to give you the available screen size, for example.
But if you do the layout correctly, as Christian pointed out, then the user can resize the windows just about any way they want without problems. Qt layouts take care of the rest. I only use the information from QScreen to show my main windows in a reasonable initial default size, centered on the screen.