博客
关于我
Qt 多屏位置信息获取
阅读量:619 次
发布时间:2019-03-13

本文共 143 字,大约阅读时间需要 1 分钟。

分享一个,多屏幕显示时,程序根据当前位置在当前屏幕最大化选择屏幕的代码

QScreen *screen= QGuiApplication::screenAt(this->pos());    this->setGeometry(screen->availableGeometry());

转载地址:http://ewxaz.baihongyu.com/

你可能感兴趣的文章
nginx 301跳转
查看>>
nginx 403 forbidden
查看>>
nginx connect 模块安装以及配置
查看>>
nginx css,js合并插件,淘宝nginx合并js,css插件
查看>>
Nginx gateway集群和动态网关
查看>>
nginx http配置说明,逐渐完善。
查看>>