int desk_top_width = QApplication::desktop()->width();//huoqu桌面尺寸
int desk_top_high = QApplication::desktop()->height();
this->resize (desk_top_width, desk_top_high);//设置窗口大小为桌面大小
this->setWindowFlags (Qt::FramelessWindowHint); // 隐藏窗口标题
将窗口设置为屏幕全屏
猜你喜欢
转载自blog.csdn.net/boyemachao/article/details/103061447
今日推荐
周排行