Skip to content

Qt实现的获取屏幕分辨率小工具,支持Win/Linux---Get screen resolution widget realized by Qt,Support Win/Linux.

License

Notifications You must be signed in to change notification settings

SantaJiang/GetScreenGeometry

Repository files navigation

简介

  • 这是一款基于Qt5实现的跨平台屏幕分辨率检测小工具,其中包括Windows平台的GetSystemMetrics()方法、Linux平台的XDisplay()方法,以及Qt的QApplication::desktop()->screenGeometry()方法。
  • 软件代码已经尽量简化。

运行效果:

Windows:

image

Linux:

image

Introduction

  • This is a cross-platform screen resolution acquisition tool based on Qt5 implementation, mainly used to learn different platforms to obtain the screen resolution of several methods, including Windows platform GetSystemMetrics() method, Linux platform XDisplay() method, And Qt's QApplication:: Desktop ()->screenGeometry() method.
  • The software code has been simplified as much as possible.

Operation effect:

Windows:

image

Linux:

image

About

Qt实现的获取屏幕分辨率小工具,支持Win/Linux---Get screen resolution widget realized by Qt,Support Win/Linux.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published