Get current window size
-
You can use QWidget's "size() property":http://qt-project.org/doc/qt-4.8/qwidget.html#size-prop on the root widget of the window. You can also use resizeEvent handling or layouts managers, or any other number of other methods, but it really depends on the logic of what kind of work you have to do. I'd suggest doing some searching for tips on how to resize content in a window. There are a lot of examples available.