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

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

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

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

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

你可能感兴趣的文章
Netty工作笔记0052---Pipeline组件剖析
查看>>
Netty工作笔记0053---Netty核心模块梳理
查看>>
Netty工作笔记0054---EventLoop组件
查看>>
Netty工作笔记0055---Unpooled应用实例1
查看>>
Netty工作笔记0056---Unpooled应用实例2
查看>>
Netty工作笔记0057---Netty群聊系统服务端
查看>>