彻底改版2.0

master
feiyangqingyun 2021-11-17 15:33:19 +08:00
parent 631da17385
commit 174992f358
2611 changed files with 13339 additions and 7950 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 428 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 412 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 581 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 840 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

View File

@ -1,69 +1,10 @@
TEMPLATE = subdirs TEMPLATE = subdirs
#定义了ordered表示子项目按照添加的顺序来编译 SUBDIRS += control
CONFIG += ordered SUBDIRS += tool
SUBDIRS += video
#挨个添加子项目 SUBDIRS += widget
SUBDIRS += lightbutton #高亮按钮控件 SUBDIRS += ui
SUBDIRS += movewidget #通用控件移动类 SUBDIRS += other
SUBDIRS += flatui #模仿flatui类 SUBDIRS += third
SUBDIRS += countcode #代码统计组件 #网友提交的可能很多Qt版本不支持需要自行打开验证
SUBDIRS += gifwidget #屏幕录制控件 #SUBDIRS += netfriend
SUBDIRS += comtool #串口调试助手
SUBDIRS += nettool #网络调试助手
SUBDIRS += devicesizetable #硬盘容量控件
SUBDIRS += styledemo #高仿PS黑色+扁平白色+淡蓝色风格主题
SUBDIRS += navbutton #导航按钮控件
SUBDIRS += videopanel #视频监控画面分割demo
SUBDIRS += framelesswidget #跨平台无边框窗体
SUBDIRS += ipaddress #IP地址输入控件
SUBDIRS += bgdemo #无边框背景透明窗体
SUBDIRS += dbpage #通用数据库翻页查询
SUBDIRS += pngtool #PNG图片警告去除工具
SUBDIRS += savelog #日志重定向输出类
SUBDIRS += saveruntime #运行时间记录类
SUBDIRS += colorwidget #颜色拾取器
SUBDIRS += maskwidget #遮罩层窗体
SUBDIRS += battery #电池电量控件
SUBDIRS += lineeditnext #文本框回车焦点下移
SUBDIRS += zhtopy #汉字转拼音
SUBDIRS += devicebutton #设备按钮地图效果
SUBDIRS += mouseline #鼠标定位十字线
SUBDIRS += emailtool #邮件发送工具
SUBDIRS += ntpclient #NTP服务器时间同步
SUBDIRS += lunarcalendarwidget#农历控件
SUBDIRS += videowidget #通用视频控件
SUBDIRS += screenwidget #屏幕截图控件
SUBDIRS += imageswitch #图片开关控件
SUBDIRS += netserver #网络中转服务器
SUBDIRS += base64helper #图片文字base64互换
SUBDIRS += smoothcurve #平滑曲线
SUBDIRS += moneytool #存款计算器
SUBDIRS += hotkey #全局热键示例 目前只支持Qt5
#限定windows系统加载下面的项目
win32 {
SUBDIRS += ffmpegdemo #视频流播放ffmpeg内核
SUBDIRS += vlcdemo #视频流播放vlc内核
SUBDIRS += mpvdemo #视频流播放mpv内核
SUBDIRS += miniblink #miniblink示例
}
#如果你电脑对应的Qt版本有webkit或者webengine组件可以自行打开
#SUBDIRS += echartgauge #echart仪表盘含交互支持webkit及webengine
#这个项目依赖QtDesigner模块,一般在arm上默认没有这个模块需要自行编译
#所以arm上如果没有QtDesigner模块不要加载下面这个子项目
lessThan(QT_MAJOR_VERSION, 5) {
SUBDIRS += designer #QtDesigner4源码
}
#qwt项目需要等官方适配了 qwt 组件才能适配
lessThan(QT_MAJOR_VERSION, 6) {
SUBDIRS += qwtdemo #qwt的源码版本无需插件直接源码集成到你的项目即可
}
#6.0到6.2之间的版本还有点问题等待正式发布的时候再试试
greaterThan(QT_MAJOR_VERSION, 5) {
SUBDIRS -= emailtool
SUBDIRS -= hotkey
}

129
README.md
View File

@ -1,109 +1,42 @@
#### 一、目录说明 #### 一、特别说明
1. **可以选择打开QWidgetDemo.pro一次性编译所有的也可以进入到目录下打开pro进行编译。** 1. **可以选择打开QWidgetDemo.pro一次性编译所有的也可以进入到目录下打开pro进行编译。**
2. **如果发现有些子项目没有加载请打开QWidgetDemo.pro仔细看里面的注释。** 2. **如果发现有些子项目没有加载请打开对应目录下的.pro仔细看里面的注释。**
3. **编译好的可执行文件在源码同级目录下的bin目录。** 3. **编译好的可执行文件在源码同级目录下的bin目录。**
4. **亲测Qt4.6到Qt6.2所有版本亲测win、linux、mac、uos等系统。** 4. **亲测Qt4.6到Qt6.2所有版本亲测win、linux、mac、uos等系统。**
5. **本项目开源的是下面表格中描述的内容,并未开源左侧的树状导航菜单控件,只是方便演示效果图直接用的自定义控件大全的效果图,懒得重新截图。** 5. **本项目开源的是下面表格中描述的内容,并未开源左侧的树状导航菜单控件,只是方便演示效果图直接用的自定义控件大全的效果图,懒得重新截图。**
6. **建议用git命令行下载压缩包下载后重新解压文件可能会有问题不知为何。** 6. **建议用git命令行下载压缩包下载后重新解压文件可能会有问题不知为何。**
| 编号 | 文件夹 | 描述 | #### 二、目录说明
| :------ | :------ | :------ | | 目录 | 类别 | 名称 | 描述 |
| 1 | lightbutton | 高亮按钮控件 | | :------ | :------ | :------ | :------ |
| 2 | movewidget | 通用控件移动类 | | control | 控件类别 | battery | 电池电量 |
| 3 | flatui | 模仿flatui类 | | control | 控件类别 | devicebutton | 设备按钮 |
| 4 | countcode | 代码统计组件 | | control | 控件类别 | devicesizetable | 磁盘容量 |
| 5 | gifwidget | 屏幕录制控件 |
| 6 | comtool | 串口调试助手 |
| 7 | nettool | 网络调试助手 |
| 8 | devicesizetable | 硬盘容量控件 |
| 9 | styledemo | 高仿PS黑色+扁平白色+淡蓝色风格主题 |
| 10 | navbutton | 导航按钮控件 |
| 11 | videopanel | 视频监控画面分割demo |
| 12 | framelesswidget | 跨平台无边框窗体 |
| 13 | ipaddress | IP地址输入控件 |
| 14 | bgdemo | 无边框背景透明窗体 |
| 15 | dbpage | 通用数据库翻页查询 |
| 16 | pngtool | PNG图片警告去除工具 |
| 17 | savelog | 日志重定向输出类 |
| 18 | saveruntime | 运行时间记录类 |
| 19 | colorwidget | 颜色拾取器 |
| 20 | maskwidget | 遮罩层窗体 |
| 21 | battery | 电池电量控件 |
| 22 | lineeditnext | 文本框回车焦点下移 |
| 23 | zhtopy | 汉字转拼音 |
| 24 | qwtdemo | qwt的源码版本无需插件直接源码集成到你的项目即可 |
| 25 | devicebutton | 设备按钮地图效果 |
| 26 | mouseline | 鼠标定位十字线 |
| 27 | emailtool | 邮件发送工具 |
| 28 | ntpclient | NTP服务器时间同步 |
| 29 | lunarcalendarwidget | 农历控件 |
| 30 | videowidget | 通用视频控件 |
| 31 | screenwidget | 屏幕截图控件 |
| 32 | imageswitch | 图片开关控件 |
| 33 | echartgauge | echart仪表盘含交互支持webkit及webengine |
| 34 | ffmpegdemo | 视频流播放ffmpeg内核 |
| 35 | vlcdemo | 视频流播放vlc内核 |
| 36 | key | 秘钥生成器 |
| 37 | live | 程序守护进程 |
| 38 | designer | QtDesigner4源码 |
| 39 | netserver | 网络中转服务器 |
| 40 | mpvdemo | 视频流播放mpv内核 |
| 41 | miniblink | miniblink示例 |
| 42 | base64 | 图片文字base64互换 |
| 43 | smoothcurve | 平滑曲线 |
| 44 | moneytool | 存款计算器 |
| 45 | hotkey | 全局热键示例 |
#### 二、学习群
#### 三、学习群
1. **Qt交流大会群 853086607(雨田哥)** 1. **Qt交流大会群 853086607(雨田哥)**
2. **Qt技术交流群 46679801(3000人群)** 2. **Qt技术交流群 46679801(3000人群)**
3. **Qt进阶之路群 734623697(武威的涛哥)** 3. **Qt进阶之路群 734623697(武威的涛哥)**
#### 三、效果图 #### 四、效果图
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/lightbutton.gif) ##### 4.1、控件类别
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/movewidget.gif) ![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/battery.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/flatui.gif) ![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/devicebutton.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/countcode.gif) ![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/devicesizetable.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/gifwidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/comtool.jpg) ##### 4.2、工具类别
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/nettool.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/devicesizetable.gif) ##### 4.3、视频类别
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/styledemo_psblack.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/styledemo_lightblue.png) ##### 4.4、窗体类别
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/styledemo_flatwhite.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/navbutton.gif) ##### 4.5、界面类别
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/videopanel.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/framelesswidget.gif) ##### 4.6、其他类别
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/ipaddress.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/bgdemo.gif) ##### 4.7、第三方组件
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/dbpage.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/pngtool.gif) ##### 4.8、网友提供
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/savelog.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/saveruntime.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/colorwidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/maskwidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/battery.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/lineeditnext.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/zhtopy.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/qwtdemo.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/devicebutton.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/mouseline.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/emailtool.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/ntpclient.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/lunarcalendarwidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/videowidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/screenwidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/echartgauge.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/imageswitch.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/ffmpegdemo.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/vlcdemo.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/key.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/live.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/netserver.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/designer.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/miniblink.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/base64.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/smoothcurve.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/frameless.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/moneytool.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/0snap/hotkey.gif)

View File

@ -1,7 +0,0 @@
HEADERS += \
$$PWD/appconfig.h \
$$PWD/appdata.h
SOURCES += \
$$PWD/appconfig.cpp \
$$PWD/appdata.cpp

BIN
control/0snap/battery.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
control/0snap/ipaddress.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
control/0snap/navbutton.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
control/0snap/savelog.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
control/0snap/zhtopy.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

12
control/control.pro Normal file
View File

@ -0,0 +1,12 @@
TEMPLATE = subdirs
SUBDIRS += battery
SUBDIRS += devicebutton
SUBDIRS += devicesizetable
SUBDIRS += imageswitch
SUBDIRS += ipaddress
SUBDIRS += lightbutton
SUBDIRS += navbutton
SUBDIRS += savelog
SUBDIRS += saveruntime
SUBDIRS += smoothcurve
SUBDIRS += zhtopy

View File

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 203 KiB

View File

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 551 B

View File

Before

Width:  |  Height:  |  Size: 517 B

After

Width:  |  Height:  |  Size: 517 B

View File

Before

Width:  |  Height:  |  Size: 1015 B

After

Width:  |  Height:  |  Size: 1015 B

View File

Before

Width:  |  Height:  |  Size: 400 B

After

Width:  |  Height:  |  Size: 400 B

View File

Before

Width:  |  Height:  |  Size: 404 B

After

Width:  |  Height:  |  Size: 404 B

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 551 B

View File

Before

Width:  |  Height:  |  Size: 517 B

After

Width:  |  Height:  |  Size: 517 B

View File

Before

Width:  |  Height:  |  Size: 883 B

After

Width:  |  Height:  |  Size: 883 B

View File

Before

Width:  |  Height:  |  Size: 397 B

After

Width:  |  Height:  |  Size: 397 B

View File

Before

Width:  |  Height:  |  Size: 404 B

After

Width:  |  Height:  |  Size: 404 B

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 551 B

View File

Before

Width:  |  Height:  |  Size: 517 B

After

Width:  |  Height:  |  Size: 517 B

View File

Before

Width:  |  Height:  |  Size: 818 B

After

Width:  |  Height:  |  Size: 818 B

View File

Before

Width:  |  Height:  |  Size: 397 B

After

Width:  |  Height:  |  Size: 397 B

View File

Before

Width:  |  Height:  |  Size: 404 B

After

Width:  |  Height:  |  Size: 404 B

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 551 B

View File

Before

Width:  |  Height:  |  Size: 517 B

After

Width:  |  Height:  |  Size: 517 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 397 B

After

Width:  |  Height:  |  Size: 397 B

View File

Before

Width:  |  Height:  |  Size: 404 B

After

Width:  |  Height:  |  Size: 404 B

Some files were not shown because too many files have changed in this diff Show More