Skip to content

Commit 0be66c2

Browse files
authored
Update README.md
1 parent 7a7daf1 commit 0be66c2

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
1-
# GetScreenGeometry
2-
Qt5实现的获取屏幕分辨率小工具-Get screen resolution widget realized by Qt5
1+
# 简介
2+
* 这是一款基于Qt5实现的跨平台屏幕分辨率获取小工具,主要用于学习不同平台获取屏幕分辨率的几种方法,其中包括Windows平台的GetSystemMetrics()方法、Linux平台的XDisplay()方法,以及Qt的QApplication::desktop()->screenGeometry()方法。
3+
* 软件代码已经尽量简化。
4+
### 运行效果:
5+
6+
##### Windows:
7+
![image](https://github.com/SantaJiang/GetScreenGeometry/blob/main/image-folder/Windows.gif)
8+
9+
##### Linux:
10+
11+
![image](https://github.com/SantaJiang/GetScreenGeometry/blob/main/image-folder/Linux.gif)
12+
# Introduction
13+
* 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.
14+
* The software code has been simplified as much as possible.
15+
16+
### Operation effect:
17+
##### Windows:
18+
![image](https://github.com/SantaJiang/GetScreenGeometry/blob/main/image-folder/Windows.gif)
19+
20+
##### Linux:
21+
22+
![image](https://github.com/SantaJiang/GetScreenGeometry/blob/main/image-folder/Linux.gif)

0 commit comments

Comments
 (0)