qt 设置程序居中
时间:2014-05-04 20:39:22
收藏:0
阅读:290
widget *s =new widget;
s->move((QApplication::desktop()->width()-s->width())/2,
(QApplication::desktop()->height()-s->height())/2);
s->show();
评论(0)