2022-02-15 05:24:34 +00:00
|
|
|
|
|
2022-05-06 08:37:44 +00:00
|
|
|
|
## 一、特别说明
|
2021-11-17 07:46:00 +00:00
|
|
|
|
1. 可以选择打开QWidgetDemo.pro一次性编译所有的,也可以到目录下打开pro编译。
|
|
|
|
|
2. 如果发现有些子项目没有加载请打开对应目录下的.pro仔细看里面的注释。
|
|
|
|
|
3. 编译好的可执行文件在源码同级目录下的bin目录。
|
|
|
|
|
4. 亲测Qt4.6到Qt6.2所有版本,亲测win、linux、mac、uos等系统。
|
|
|
|
|
5. 有少部分项目不支持部分Qt版本比如Qt6,会自动跳过。
|
2021-11-25 11:59:38 +00:00
|
|
|
|
6. **建议用git命令行下载,压缩包下载后重新解压文件可能会有问题,不知为何。**
|
2021-11-17 08:47:16 +00:00
|
|
|
|
8. **强烈推荐各位搭配Qt开发经验一起学习 [https://gitee.com/feiyangqingyun/qtkaifajingyan](https://gitee.com/feiyangqingyun/qtkaifajingyan)**
|
2021-12-19 06:33:51 +00:00
|
|
|
|
9. **各位有需要购买Qt商业版可以联系Qt中国商务人员微信 zzwdkxx ,支持Qt。**
|
2020-05-28 06:19:20 +00:00
|
|
|
|
|
2022-05-06 08:37:44 +00:00
|
|
|
|
## 二、目录说明
|
2021-11-17 07:46:00 +00:00
|
|
|
|
**高质量项目加粗显示**
|
2022-05-06 09:24:48 +00:00
|
|
|
|
| 目录 | 相关 | 名称 | 描述 |
|
2022-05-06 09:15:59 +00:00
|
|
|
|
| :-------: | :------: | :-----------------: | :-------------------------- |
|
2022-05-06 09:24:48 +00:00
|
|
|
|
| control | 控件相关 | battery | **电池电量** |
|
|
|
|
|
| control | 控件相关 | devicebutton | **设备按钮** |
|
|
|
|
|
| control | 控件相关 | devicesizetable | 磁盘容量 |
|
|
|
|
|
| control | 控件相关 | imageswitch | 图片开关 |
|
|
|
|
|
| control | 控件相关 | ipaddress | IP地址输入框 |
|
|
|
|
|
| control | 控件相关 | lightbutton | 高亮按钮 |
|
|
|
|
|
| control | 控件相关 | navbutton | **导航按钮** |
|
|
|
|
|
| control | 控件相关 | savelog | **日志重定向输出** |
|
|
|
|
|
| control | 控件相关 | saveruntime | **运行时间记录** |
|
|
|
|
|
| control | 控件相关 | smoothcurve | 平滑曲线 |
|
|
|
|
|
| control | 控件相关 | zhtopy | 汉字转拼音 |
|
|
|
|
|
| tool | 工具相关 | comtool | **串口调试助手** |
|
|
|
|
|
| tool | 工具相关 | nettool | **网络调试助手** |
|
|
|
|
|
| tool | 工具相关 | netserver | **网络中转服务器** |
|
|
|
|
|
| tool | 工具相关 | base64helper | **图片文字转base** |
|
|
|
|
|
| tool | 工具相关 | countcode | **代码行数统计工具** |
|
|
|
|
|
| tool | 工具相关 | emailtool | 邮件发送工具 |
|
|
|
|
|
| tool | 工具相关 | moneytool | 存款利息计算器 |
|
|
|
|
|
| tool | 工具相关 | pngtool | 图片警告去除工具 |
|
|
|
|
|
| tool | 工具相关 | keytool | **秘钥生成器** |
|
|
|
|
|
| tool | 工具相关 | keydemo | 秘钥测试程序 |
|
|
|
|
|
| tool | 工具相关 | livetool | 程序启动器 |
|
|
|
|
|
| tool | 工具相关 | livedemo | 程序启动示例 |
|
2022-05-06 09:15:59 +00:00
|
|
|
|
| video | 视频播放 | videobox | **视频监控布局** |
|
|
|
|
|
| video | 视频播放 | videopanel | **视频监控面板** |
|
|
|
|
|
| video | 视频播放 | videowidget | 视频监控控件 |
|
|
|
|
|
| video | 视频播放 | playffmpeg | 视频播放ffmpeg |
|
|
|
|
|
| video | 视频播放 | playvlc | 视频播放vlc |
|
|
|
|
|
| video | 视频播放 | plaympv | 视频播放mpv |
|
2022-05-06 09:24:48 +00:00
|
|
|
|
| widget | 窗体相关 | colorwidget | 颜色拾取器 |
|
|
|
|
|
| widget | 窗体相关 | framelesswidget | **通用无边框窗体** |
|
|
|
|
|
| widget | 窗体相关 | gifwidget | GIF录屏 |
|
|
|
|
|
| widget | 窗体相关 | lunarcalendarwidget | **农历控件** |
|
|
|
|
|
| widget | 窗体相关 | maskwidget | 通用遮罩层 |
|
|
|
|
|
| widget | 窗体相关 | movewidget | 通用控件移动 |
|
|
|
|
|
| widget | 窗体相关 | screenwidget | 屏幕截图 |
|
2022-05-06 09:15:59 +00:00
|
|
|
|
| ui | 界面美化 | flatui | 扁平化风格 |
|
|
|
|
|
| ui | 界面美化 | styledemo | **三套风格样式** |
|
|
|
|
|
| ui | 界面美化 | uidemo01 | 界面美化基础示例 |
|
|
|
|
|
| ui | 界面美化 | uidemo08 | **界面美化入门示例** |
|
|
|
|
|
| ui | 界面美化 | uidemo09 | 九宫格主界面 |
|
|
|
|
|
| ui | 界面美化 | uidemo10 | **扁平化主界面** |
|
|
|
|
|
| ui | 界面美化 | iconhelper | **超级图形字体** |
|
2022-05-06 09:24:48 +00:00
|
|
|
|
| other | 其他相关 | bgdemo | 异形窗体 |
|
|
|
|
|
| other | 其他相关 | dbpage | **通用数据库翻页** |
|
|
|
|
|
| other | 其他相关 | echartgauge | **echart图表js交互** |
|
|
|
|
|
| other | 其他相关 | lineeditnext | 文本框回车自动跳转 |
|
|
|
|
|
| other | 其他相关 | mouseline | 鼠标十字线 |
|
|
|
|
|
| other | 其他相关 | ntpclient | NTP校时 |
|
|
|
|
|
| other | 其他相关 | trayicon | 通用托盘效果 |
|
|
|
|
|
| other | 其他相关 | multobj2slot | 多对象共用槽 |
|
|
|
|
|
| other | 其他相关 | drawrect | 随机大量矩形 |
|
2022-05-06 09:15:59 +00:00
|
|
|
|
| third | 第三方类 | designer | QtDesigner设计师(Qt4) |
|
|
|
|
|
| third | 第三方类 | hotkey | 全局热键1 |
|
|
|
|
|
| third | 第三方类 | shortcut | 全局热键2 |
|
|
|
|
|
| third | 第三方类 | miniblink | **浏览器miniblink内核** |
|
|
|
|
|
| third | 第三方类 | qwtdemo | 无插件qwt示例 |
|
|
|
|
|
| third | 第三方类 | qcustomplotdemo | **精美图表qcustomplot示例** |
|
|
|
|
|
| netfriend | 网友提供 | astackwidget | 动态StackWidget |
|
|
|
|
|
| netfriend | 网友提供 | imagecropper | **头像设置工具** |
|
|
|
|
|
| netfriend | 网友提供 | imageviewwindow | 图片3D效果切换 |
|
|
|
|
|
| netfriend | 网友提供 | slidepuzzlewidget | 滑块图片验证码 |
|
2022-05-06 08:58:35 +00:00
|
|
|
|
|
|
|
|
|
## 三、效果图
|
|
|
|
|
### 3.1 控件相关-control
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 电池电量-battery
|
2022-05-06 08:51:13 +00:00
|
|
|
|
![](control/0snap/battery.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 设备按钮-devicebutton
|
2022-05-06 08:51:13 +00:00
|
|
|
|
![](control/0snap/devicebutton.jpg)
|
2022-05-06 08:55:08 +00:00
|
|
|
|
- 磁盘容量-devicesizetable
|
|
|
|
|
![](control/0snap/devicesizetable.jpg)
|
|
|
|
|
- 图片开关-imageswitch
|
|
|
|
|
![](control/0snap/imageswitch.jpg)
|
|
|
|
|
- IP地址输入框-ipaddress
|
|
|
|
|
![](control/0snap/ipaddress.jpg)
|
|
|
|
|
- 高亮按钮-lightbutton
|
|
|
|
|
![](control/0snap/lightbutton.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 导航按钮-navbutton
|
2022-05-06 08:55:08 +00:00
|
|
|
|
![](control/0snap/navbutton.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 日志重定向输出-savelog
|
2022-05-06 08:55:08 +00:00
|
|
|
|
![](control/0snap/savelog.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 运行时间记录-saveruntime
|
2022-05-06 08:55:08 +00:00
|
|
|
|
![](control/0snap/saveruntime.jpg)
|
|
|
|
|
- 平滑曲线-smoothcurve
|
|
|
|
|
![](control/0snap/smoothcurve.jpg)
|
|
|
|
|
- 汉字转拼音-zhtopy
|
|
|
|
|
![](control/0snap/zhtopy.jpg)
|
2021-11-17 07:33:19 +00:00
|
|
|
|
|
2022-05-06 09:24:48 +00:00
|
|
|
|
### 3.2 工具相关-tool
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 串口调试助手-comtool
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/comtool.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 网络调试助手-nettool
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/nettool.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 网络中转服务器-netserver
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/netserver.jpg)
|
|
|
|
|
![](tool/0snap/netserver2.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 图片文字转base-base64helper
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/base64helper.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 代码行数统计-countcode
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/countcode.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 邮件发送工具-emailtool
|
|
|
|
|
![](tool/0snap/emailtool.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 存款利息计算器-moneytool
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/moneytool.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 图片警告去除工具-pngtool
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/pngtool.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 秘钥生成器-keytool
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/keytool.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 秘钥测试程序-keydemo
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/keydemo.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 程序启动器-livetool
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/livetool.jpg)
|
2022-05-06 09:15:59 +00:00
|
|
|
|
- 程序启动示例-livedemo
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](tool/0snap/livedemo.jpg)
|
2021-11-17 07:33:19 +00:00
|
|
|
|
|
2022-05-06 09:24:48 +00:00
|
|
|
|
### 3.3 视频播放-video
|
|
|
|
|
- 视频监控布局-videobox
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](video/0snap/videobox.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 视频监控面板-videopanel
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](video/0snap/videopanel.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 视频监控控件-videowidget
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](video/0snap/videowidget.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 视频播放ffmpeg-playffmpeg
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](video/0snap/playffmpeg.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 视频播放vlc-playvlc
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](video/0snap/playvlc.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 视频播放mpv-plaympv
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](video/0snap/plaympv.jpg)
|
2021-11-17 07:33:19 +00:00
|
|
|
|
|
2022-05-06 09:24:48 +00:00
|
|
|
|
### 3.4 窗体相关-widget
|
|
|
|
|
- 颜色拾取器-colorwidget
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](widget/0snap/colorwidget.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 通用无边框窗体-framelesswidget
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](widget/0snap/framelesswidget.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- GIF录屏-gifwidget
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](widget/0snap/gifwidget.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 农历控件-lunarcalendarwidget
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](widget/0snap/lunarcalendarwidget.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 通用遮罩层-maskwidget
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](widget/0snap/maskwidget.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 通用控件移动-movewidget
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](widget/0snap/movewidget.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 屏幕截图-screenwidget
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](widget/0snap/screenwidget.jpg)
|
2021-11-17 07:33:19 +00:00
|
|
|
|
|
2022-05-06 09:24:48 +00:00
|
|
|
|
### 3.5 界面美化-ui
|
|
|
|
|
- 扁平化风格-flatui
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](ui/0snap/flatui.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 三套风格样式-styledemo
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](ui/0snap/styledemo.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 界面美化基础示例-uidemo01
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](ui/0snap/uidemo01.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 界面美化入门示例-uidemo08
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](ui/0snap/uidemo08.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 九宫格主界面-uidemo09
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](ui/0snap/uidemo09.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 扁平化主界面-uidemo10
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](ui/0snap/uidemo10.jpg)
|
2022-05-06 09:24:48 +00:00
|
|
|
|
- 超级图形字体-iconhelper
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](ui/0snap/iconhelper1.jpg)
|
|
|
|
|
![](ui/0snap/iconhelper2.jpg)
|
2021-11-17 07:33:19 +00:00
|
|
|
|
|
2022-05-06 09:24:48 +00:00
|
|
|
|
### 3.6 其他相关-other
|
2022-05-06 08:37:44 +00:00
|
|
|
|
| 名称 | 描述 |
|
|
|
|
|
| :-------------: | :------------------: |
|
|
|
|
|
| bgdemo | 异形窗体 |
|
|
|
|
|
| dbpage | **通用数据库翻页** |
|
|
|
|
|
| echartgauge | **echart图表js交互** |
|
|
|
|
|
| lineeditnext | 文本框回车自动跳转 |
|
|
|
|
|
| mouseline | 鼠标十字线 |
|
|
|
|
|
| ntpclient | NTP校时 |
|
|
|
|
|
| trayicon | 通用托盘效果 |
|
|
|
|
|
| multobj2slot | 多对象共用槽 |
|
|
|
|
|
| drawrect | 随机大量矩形 |
|
|
|
|
|
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](other/0snap/bgdemo.jpg)
|
|
|
|
|
![](other/0snap/dbpage.jpg)
|
|
|
|
|
![](other/0snap/echartgauge.jpg)
|
|
|
|
|
![](other/0snap/lineeditnext.jpg)
|
|
|
|
|
![](other/0snap/mouseline.jpg)
|
|
|
|
|
![](other/0snap/ntpclient.jpg)
|
|
|
|
|
![](other/0snap/trayicon.jpg)
|
|
|
|
|
![](other/0snap/multobj2slot.jpg)
|
2022-05-06 08:37:44 +00:00
|
|
|
|
![](other/0snap/drawrect.jpg)
|
|
|
|
|
|
2022-05-06 09:24:48 +00:00
|
|
|
|
### 3.7 第三方类-third
|
2022-05-06 08:37:44 +00:00
|
|
|
|
| 名称 | 描述 |
|
|
|
|
|
| :-------------: | :-------------------------: |
|
|
|
|
|
| designer | QtDesigner设计师(Qt4) |
|
|
|
|
|
| hotkey | 全局热键1 |
|
|
|
|
|
| shortcut | 全局热键2 |
|
|
|
|
|
| miniblink | **浏览器miniblink内核** |
|
|
|
|
|
| qwtdemo | 无插件qwt示例 |
|
|
|
|
|
| qcustomplotdemo | **精美图表qcustomplot示例** |
|
2021-11-17 07:33:19 +00:00
|
|
|
|
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](third/0snap/designer.jpg)
|
|
|
|
|
![](third/0snap/hotkey.jpg)
|
|
|
|
|
![](third/0snap/shortcut.jpg)
|
|
|
|
|
![](third/0snap/miniblink.jpg)
|
|
|
|
|
![](third/0snap/qwtdemo.jpg)
|
|
|
|
|
![](third/0snap/qcustomplotdemo1.jpg)
|
|
|
|
|
![](third/0snap/qcustomplotdemo2.jpg)
|
|
|
|
|
![](third/0snap/qcustomplotdemo3.jpg)
|
|
|
|
|
![](third/0snap/qcustomplotdemo4.jpg)
|
|
|
|
|
![](third/0snap/qcustomplotdemo5.jpg)
|
|
|
|
|
![](third/0snap/qcustomplotdemo6.jpg)
|
|
|
|
|
![](third/0snap/qcustomplotdemo7.jpg)
|
|
|
|
|
![](third/0snap/qcustomplotdemo8.jpg)
|
2021-11-17 07:33:19 +00:00
|
|
|
|
|
2022-05-06 09:24:48 +00:00
|
|
|
|
### 3.8 网友提供-netfriend
|
2022-05-06 08:37:44 +00:00
|
|
|
|
| 名称 | 描述 |
|
|
|
|
|
| :---------------: | :------------------: |
|
|
|
|
|
| astackwidget | 动态StackWidget |
|
|
|
|
|
| imagecropper | **头像设置工具** |
|
|
|
|
|
| imageviewwindow | 图片3D效果切换 |
|
|
|
|
|
| slidepuzzlewidget | 滑块图片验证码 |
|
|
|
|
|
|
2022-05-04 12:28:27 +00:00
|
|
|
|
![](netfriend/0snap/astackwidget.jpg)
|
|
|
|
|
![](netfriend/0snap/imagecropper.jpg)
|
|
|
|
|
![](netfriend/0snap/imageviewwindow.jpg)
|
2022-05-06 08:37:44 +00:00
|
|
|
|
![](netfriend/0snap/sliderpuzzlewidget.jpg)
|
|
|
|
|
|
2022-05-06 08:58:35 +00:00
|
|
|
|
## 四、学习群
|
2022-05-06 08:37:44 +00:00
|
|
|
|
1. **Qt技术交流群1 46679801(已满员)**
|
|
|
|
|
2. **Qt技术交流群2 573199610(未满员)**
|
|
|
|
|
3. **Qt高级学习群 951393302(未满员,推荐此群)**
|
|
|
|
|
4. **Qt交流大会群 853086607(已满员)**
|