QWidget *scr = QApplication::desktop()->screen(0);int scrWidth = scr->width();int scrHeight = scr->height();