摘要: QDesktopWidget* desktop = QApplication::desktop(); // =qApp->desktop();也可以move((desktop->width() - this->width())/2, (desktop->height() - this->height())/2); 阅读全文
posted @ 2013-07-08 00:31 wowk 阅读(474) 评论(0) 推荐(0) 编辑
摘要: setWindowFlags(Qt::Tool|Qt::WindowStaysOnTopHint|Qt::X11BypassWindowManagerHint); 回头再写 阅读全文
posted @ 2013-07-08 00:08 wowk 阅读(445) 评论(0) 推荐(0) 编辑