Try QApplication::desktop().
yes I can get the size by using QApplication::destop() thanks
Forum Rules
Bookmarks