qt_demoe/README.md

164 lines
11 KiB
Markdown
Raw Normal View History

2021-12-10 12:24:40 +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-11-17 07:33:19 +00:00
#### 二、目录说明
2021-11-17 07:46:00 +00:00
**高质量项目加粗显示**
2021-11-17 07:33:19 +00:00
| 目录 | 类别 | 名称 | 描述 |
| :------ | :------ | :------ | :------ |
2021-11-17 07:46:00 +00:00
| control | 控件类别 | battery | **电池电量** |
| control | 控件类别 | devicebutton | **设备按钮** |
2021-11-17 07:33:19 +00:00
| control | 控件类别 | devicesizetable | 磁盘容量 |
2021-11-17 07:39:34 +00:00
| control | 控件类别 | imageswitch | 图片开关 |
| control | 控件类别 | ipaddress | IP地址输入框 |
| control | 控件类别 | lightbutton | 高亮按钮 |
2021-11-17 07:46:00 +00:00
| control | 控件类别 | navbutton | **导航按钮** |
| control | 控件类别 | savelog | **日志重定向输出** |
2021-11-17 07:56:33 +00:00
| control | 控件类别 | saveruntime | **运行时间记录** |
2021-11-17 07:39:34 +00:00
| control | 控件类别 | smoothcurve | 平滑曲线 |
| control | 控件类别 | zhtopy | 汉字转拼音 |
2021-11-17 07:46:00 +00:00
| tool | 工具类别 | comtool | **串口调试助手** |
| tool | 工具类别 | nettool | **网络调试助手** |
| tool | 工具类别 | netserver | **网络中转服务器** |
2021-11-22 07:02:25 +00:00
| tool | 工具类别 | base64helper | **图片文字转base** |
2021-11-17 07:56:33 +00:00
| tool | 工具类别 | countcode | **代码行数统计工具** |
| tool | 工具类别 | emailtool | 邮件发送工具 |
| tool | 工具类别 | moneytool | 存款利息计算器 |
| tool | 工具类别 | pngtool | 图片警告去除工具 |
| tool | 工具类别 | keytool | **秘钥生成器** |
| tool | 工具类别 | keydemo | 秘钥测试程序 |
| tool | 工具类别 | livetool | 程序启动器 |
| tool | 工具类别 | livedemo | 程序启动示例 |
2021-11-17 08:07:56 +00:00
| video | 视频播放 | videobox | **视频监控布局** |
| video | 视频播放 | videopanel | **视频监控面板** |
| video | 视频播放 | videowidget | 视频监控控件 |
| video | 视频播放 | playffmpeg | 视频播放ffmpeg |
| video | 视频播放 | playvlc | 视频播放vlc |
| video | 视频播放 | plaympv | 视频播放mpv |
2021-11-17 08:01:36 +00:00
| widget | 窗体类别 | colorwidget | 颜色拾取器 |
2021-11-17 08:07:56 +00:00
| widget | 窗体类别 | framelesswidget | **通用无边框窗体** |
2021-11-17 08:01:36 +00:00
| widget | 窗体类别 | gifwidget | GIF录屏 |
2021-11-17 08:07:56 +00:00
| widget | 窗体类别 | lunarcalendarwidget | **农历控件** |
2021-11-17 08:01:36 +00:00
| widget | 窗体类别 | maskwidget | 通用遮罩层 |
| widget | 窗体类别 | movewidget | 通用控件移动 |
| widget | 窗体类别 | screenwidget | 屏幕截图 |
2021-11-17 08:07:56 +00:00
| ui | 界面美化 | flatui | 扁平化风格 |
2021-11-17 08:13:28 +00:00
| ui | 界面美化 | styledemo | **三套风格样式** |
2021-11-17 08:07:56 +00:00
| ui | 界面美化 | uidemo01 | 界面美化基础示例 |
2021-11-17 08:13:28 +00:00
| ui | 界面美化 | uidemo08 | **界面美化入门示例** |
2021-11-17 08:07:56 +00:00
| ui | 界面美化 | uidemo09 | 九宫格主界面 |
2021-11-17 08:13:28 +00:00
| ui | 界面美化 | uidemo10 | **扁平化主界面** |
2021-12-08 01:40:51 +00:00
| ui | 界面美化 | iconhelper | **超级图形字体** |
2021-11-17 08:13:28 +00:00
| other | 其他类别 | bgdemo | 异形窗体 |
| other | 其他类别 | dbpage | **通用数据库翻页** |
2021-11-17 08:34:52 +00:00
| other | 其他类别 | echartgauge | **echart图表js交互** |
2021-11-17 08:13:28 +00:00
| other | 其他类别 | lineeditnext | 文本框回车自动跳转 |
| other | 其他类别 | mouseline | 鼠标十字线 |
| other | 其他类别 | ntpclient | NTP校时 |
| other | 其他类别 | trayicon | 通用托盘效果 |
2021-11-17 08:37:42 +00:00
| third | 第三方类 | designer | QtDesigner设计师(Qt4) |
| third | 第三方类 | hotkey | 全局热键1 |
| third | 第三方类 | shortcut | 全局热键2 |
| third | 第三方类 | miniblink | **浏览器miniblink内核** |
| third | 第三方类 | qwtdemo | 无插件qwt示例 |
| third | 第三方类 | qcustomplotdemo | **精美图表qcustomplot示例** |
2021-11-17 08:34:52 +00:00
| netfriend | 网友提供 | astackwidget | 动态StackWidget |
2021-11-17 08:36:53 +00:00
| netfriend | 网友提供 | imagecropper | **头像设置工具** |
2021-11-17 08:34:52 +00:00
| netfriend | 网友提供 | imageviewwindow | 图片3D效果切换 |
| netfriend | 网友提供 | slidepuzzlewidget | 滑块图片验证码 |
2021-11-17 07:33:19 +00:00
#### 三、学习群
2020-05-03 01:26:41 +00:00
1. **Qt交流大会群 853086607(雨田哥)**
2. **Qt技术交流群 46679801(3000人群)**
3. **Qt进阶之路群 734623697(武威的涛哥)**
2020-05-03 01:25:53 +00:00
2021-11-17 07:33:19 +00:00
#### 四、效果图
##### 4.1、控件类别
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/battery.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/devicebutton.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/devicesizetable.jpg)
2021-11-17 07:39:34 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/imageswitch.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/ipaddress.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/lightbutton.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/navbutton.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/savelog.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/saveruntime.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/smoothcurve.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/control/0snap/zhtopy.jpg)
2021-11-17 07:33:19 +00:00
##### 4.2、工具类别
2021-11-17 07:46:00 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/comtool.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/nettool.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/netserver.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/netserver2.jpg)
2021-11-17 07:56:33 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/base64helper.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/countcode.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/emailtool.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/moneytool.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/pngtool.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/keytool.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/keydemo.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/livetool.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/tool/0snap/livedemo.jpg)
2021-11-17 07:33:19 +00:00
2021-11-17 08:07:56 +00:00
##### 4.3、视频播放
2021-11-17 07:56:33 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/video/0snap/videobox.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/video/0snap/videopanel.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/video/0snap/videowidget.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/video/0snap/playffmpeg.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/video/0snap/playvlc.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/video/0snap/plaympv.jpg)
2021-11-17 07:33:19 +00:00
##### 4.4、窗体类别
2021-11-17 08:01:36 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/widget/0snap/colorwidget.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/widget/0snap/framelesswidget.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/widget/0snap/gifwidget.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/widget/0snap/lunarcalendarwidget.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/widget/0snap/maskwidget.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/widget/0snap/movewidget.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/widget/0snap/screenwidget.jpg)
2021-11-17 07:33:19 +00:00
2021-11-17 08:07:56 +00:00
##### 4.5、界面美化
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/ui/0snap/flatui.jpg)
2021-11-25 12:57:08 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/ui/0snap/styledemo.jpg)
2021-11-17 08:07:56 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/ui/0snap/uidemo01.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/ui/0snap/uidemo08.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/ui/0snap/uidemo09.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/ui/0snap/uidemo10.jpg)
2021-12-08 01:40:51 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/ui/0snap/iconhelper1.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/ui/0snap/iconhelper2.jpg)
2021-11-17 07:33:19 +00:00
##### 4.6、其他类别
2021-11-17 08:13:28 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/other/0snap/bgdemo.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/other/0snap/dbpage.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/other/0snap/echartgauge.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/other/0snap/lineeditnext.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/other/0snap/mouseline.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/other/0snap/ntpclient.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/other/0snap/trayicon.jpg)
2021-11-17 07:33:19 +00:00
2021-11-17 08:37:42 +00:00
##### 4.7、第三方类
2021-11-17 08:34:52 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/designer.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/hotkey.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/shortcut.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/miniblink.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/qwtdemo.jpg)
2021-12-08 09:44:30 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/qcustomplotdemo1.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/qcustomplotdemo2.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/qcustomplotdemo3.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/qcustomplotdemo4.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/qcustomplotdemo5.jpg)
2021-12-10 12:23:28 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/qcustomplotdemo6.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/qcustomplotdemo7.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/third/0snap/qcustomplotdemo8.jpg)
2021-11-17 07:33:19 +00:00
##### 4.8、网友提供
2021-11-17 08:34:52 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/netfriend/0snap/astackwidget.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/netfriend/0snap/imagecropper.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/netfriend/0snap/imageviewwindow.jpg)
2021-11-17 08:36:53 +00:00
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/netfriend/0snap/sliderpuzzlewidget.jpg)