整理目录分类
|
@ -59,11 +59,9 @@ encoding//\u56FE\u8868/PyQtChart\u7EC3\u4E60/test/ToolTip.py=utf-8
|
|||
encoding//\u56FE\u8868/PyQtChart\u7EC3\u4E60/test/ToolTip2.py=utf-8
|
||||
encoding//\u591A\u9875\u9762/QScrollArea/\u4EFFQQ\u8BBE\u7F6E\u9762\u677F/SettingUi.py=utf-8
|
||||
encoding//\u591A\u9875\u9762/QScrollArea/\u4EFFQQ\u8BBE\u7F6E\u9762\u677F/Window.py=utf-8
|
||||
encoding//\u5DE6\u4FA7\u9009\u9879\u5361/LeftTabWidget.py=utf-8
|
||||
encoding//\u591A\u9875\u9762/QStackedWidget/\u5DE6\u4FA7\u9009\u9879\u5361/LeftTabWidget.py=utf-8
|
||||
encoding//\u6811\u7ED3\u6784/QTreeWidget/Json\u751F\u6210QTreeWidget/Json\u751F\u6210\u6811\u5F62\u7ED3\u6784.py=utf-8
|
||||
encoding//\u6D4F\u89C8\u5668/QWebView/\u68A6\u5E7B\u6811/DreamTree.py=utf-8
|
||||
encoding//\u6D4F\u89C8\u5668\u83B7\u53D6Cookie/WebEngineView.py=utf-8
|
||||
encoding//\u6D4F\u89C8\u5668\u83B7\u53D6Cookie/WebView.py=utf-8
|
||||
encoding//\u754C\u9762\u7F8E\u5316/QFileSystemModel\u56FE\u6807/FileSystemModel.py=utf-8
|
||||
encoding//\u754C\u9762\u7F8E\u5316/QLabel\u5706\u5F62\u5934\u50CF/CircleLabel.py=utf-8
|
||||
encoding//\u754C\u9762\u7F8E\u5316/QMessageBox\u6837\u5F0F/\u65B9\u6848\u4E00/critical.py=utf-8
|
||||
|
|
147
README.md
|
@ -93,6 +93,10 @@
|
|||
|
||||
1. [仿QQ设置面板](多页面/QScrollArea/仿QQ设置面板)
|
||||
|
||||
1. QStackedWidget
|
||||
|
||||
1. [左侧选项卡](多页面/QStackedWidget/左侧选项卡)
|
||||
|
||||
## 多线程
|
||||
|
||||
1. [线程挂起恢复](多线程/线程挂起恢复)
|
||||
|
@ -121,8 +125,14 @@
|
|||
|
||||
1. [梦幻树](浏览器/QWebView/梦幻树)
|
||||
|
||||
1. [获取Cookie](浏览器/QWebView/获取Cookie)
|
||||
|
||||
1. [QWebEngineView](浏览器/QWebEngineView)
|
||||
|
||||
1. [获取Cookie](浏览器/QWebEngineView/获取Cookie)
|
||||
|
||||
## QML
|
||||
|
||||
## 图形视图
|
||||
|
||||
## 其它
|
||||
|
@ -161,143 +171,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### I、 项目型
|
||||
[Qt皮肤生成器 - 持续更新中](https://github.com/892768447/QtSkin)
|
||||
|
||||
[客户端动画界面](https://github.com/892768447/PyQtClient)
|
||||
|
||||
[桌面悬浮异形窗体](https://github.com/892768447/Lolita)
|
||||
|
||||
[必应壁纸](https://github.com/892768447/BingWallpaper)
|
||||
|
||||
[腾讯视频热播列表](腾讯视频热播列表/)
|
||||
|
||||
[ QWebView 与 python 通过js交互 特效 - QWebEngine需要改代码](https://github.com/892768447/PhotoEffects)
|
||||
|
||||
### II、功能型
|
||||
|
||||
#### 2.1 常用例子
|
||||
|
||||
1. - [ 自定义属性测试](自定义属性测试/)
|
||||
1. - [ 自动更新](自动更新/)
|
||||
1. - [ 自定义import](自定义import/)
|
||||
1. - [ 全局热键](全局热键/)
|
||||
1. - [ 单实例应用 - 只允许运行一个程序](单实例应用/)
|
||||
1. - [ 程序重启](程序重启/)
|
||||
1. - [ 窗口重启](窗口重启/)
|
||||
1. - [ 菜单](菜单/)
|
||||
- [1. 菜单多选](菜单/菜单多选不关闭.py)
|
||||
1. - [ 外部窗口跟随](外部窗口跟随/)
|
||||
1. - python 的exec( ) 动态生成控件
|
||||
- [1. 动态控件基础例子 - 动态生成按钮](partner_625781186/1.exec动态生成控件/dynamic_button)
|
||||
- [2. 动态控件基础例子 - 动态生成菜单](partner_625781186/1.exec动态生成控件/dynamic_Menu)
|
||||
- [3. 配合setting记录模型类型](partner_625781186/13.combo_listwidget)
|
||||
|
||||
- 小部件
|
||||
|
||||
1. - [ ☆! QSplitter 分割条重写 来添加按钮](分割窗口的分割条重写/)
|
||||
1. - [ QLabel 图片加载 gif动画](图片加载/)
|
||||
1. - [ 一个图片显示小特效](图片加载/)
|
||||
1. - [ ComboBox 下拉选择级联--省、市、县 json 数据 ](下拉选择联动/)
|
||||
1. - [ ComboBox 自定义下拉 listitem ](partner_625781186/13.combo_listwidget/)
|
||||
1. - [ 仿QQ设置面板](仿QQ设置面板/)
|
||||
1. - [ 右下角弹出框](右下角弹出框/)
|
||||
1. - [ 消息对话框倒计时关闭](消息对话框倒计时关闭/)
|
||||
1. - [ QTextEdit 文本高亮](文本高亮/)
|
||||
1. - [ QActiveX窗口 加载本地word/pdf](ActiveX窗口/)
|
||||
|
||||
- win 32
|
||||
|
||||
1. - [ 线程的挂起与恢复](多线程使用/)
|
||||
1. - [ 嵌入外部窗口](嵌入外部窗口/)
|
||||
1. - [ 截图dll (只能用32位python)](调用截图dll(只能用32位)/)
|
||||
1. - [ 探测窗口 和 放大镜](探测窗口和放大截图/)
|
||||
|
||||
- Model & View
|
||||
|
||||
1. - [ QListView 加按钮和 排序](QListView/)
|
||||
1. - [ QListWidget 自定义Item并拖拽](QListWidget自定义Item并拖拽/)
|
||||
|
||||
1. - [ Json生成QTreeWidget](Json生成QTreeWidget/)
|
||||
1. - [ treeWidget 节点可拖拽](https://github.com/AshotS/glowing-disco)
|
||||
1. - [ treeWidget 支持拖拽 并改变图标样式](partner_625781186/12.1拖拽显示为图片/)
|
||||
|
||||
1. - [ QTabWidget 左侧标签 正字方法](左侧选项卡/)
|
||||
1. - [ QTabWidget 表格复制 与 黏贴](表格复制/)
|
||||
1. - [ QSqlTableModel + QTableView 数据库查询显示表格](数据库查询显示表格/)
|
||||
|
||||
- 浏览器QWebEngine模块例子
|
||||
|
||||
1. - [ 浏览器获取Cookie](浏览器获取Cookie/)
|
||||
1. - [ 浏览器下载功能](partner_625781186/6.QWebEngineView下载文件)
|
||||
1. - [ 浏览器开启调试工具](partner_625781186/14.多进程爬虫)
|
||||
|
||||
1. - [ 梦幻树 QWebView - QWebEngine需要改代码](梦幻树/)
|
||||
1. - [ QWebView 与 python 通过js交互 特效 - QWebEngine需要改代码](https://github.com/892768447/PhotoEffects)
|
||||
|
||||
|
||||
#### 2.2 框架
|
||||
1. - [ 无边框自定义标题栏窗口](无边框自定义标题栏窗口/)
|
||||
1. - [ 简单的窗口贴边隐藏](简单的窗口贴边隐藏/)
|
||||
1. - [ 验证码控件](验证码控件/)
|
||||
1. - [ 消息提示](消息提示/)
|
||||
1. - 悬浮下拉菜单
|
||||
- [ tableWidget形式](partner_625781186/5.hoverMenu)
|
||||
|
||||
#### 2.3 其他案例
|
||||
- [ 人脸描点检测](人脸描点检测/)
|
||||
- [ 网络操作](网络操作/)
|
||||
- [ 窗口和异步asyncio http](窗口配合异步Http/)
|
||||
- [ QRC资源文件使用](QRC资源文件使用/)
|
||||
- [ C和C++扩展](C和C++扩展/)
|
||||
- [.1 pyx和c++](C和C++扩展/pyx和c++/)
|
||||
- [.2 py转pyd](C和C++扩展/py转pyd/)
|
||||
- [.3 pydext](C和C++扩展/pydext/)
|
||||
|
||||
### III、 界面型
|
||||
|
||||
#### 3.1 [美化类](界面美化/)
|
||||
1. - [ 字体测试](字体测试/)
|
||||
1. - [ 自定义QWidget的QSS样式](自定义QWidget的QSS样式/)
|
||||
1. - [ QSS美化例子](界面美化/QSS美化例子)
|
||||
1. - [ Flat Style](https://github.com/892768447/QFlat)
|
||||
1. - [ QMessageBox样式](界面美化/QMessageBox样式)
|
||||
1. - [ QScrollBar滚动条样式](界面美化/QScrollBar滚动条样式)
|
||||
1. - [ QLabel圆形头像](界面美化/QLabel圆形头像)
|
||||
1. - [ QFileSystemModel图标](界面美化/QFileSystemModel图标)
|
||||
1. - [ QPushButton进度动画](界面美化/QPushButton进度动画)
|
||||
1. - [ QSlider美化](界面美化/QSlider美化)
|
||||
1. - [ 各类进度条](界面美化/各类进度条)
|
||||
1. - [ 动态边框阴影动画](界面美化/边框动画阴影)
|
||||
|
||||
#### 3.2 [动画类](动画特效/)
|
||||
1. - [ 气泡提示 上升渐隐](消息提示/)
|
||||
1. - [ 折叠动画效果](partner_625781186/2.折叠控件/)
|
||||
1. - [ 淡入淡出](动画特效/)
|
||||
1. - [ 右键菜单动画](动画特效/)
|
||||
1. - [ 水波纹进度条](界面美化/水波纹进度条)
|
||||
|
||||
### IV、图表型
|
||||
#### 4.1 [ QGraphicsView练习](QGraphicsView练习/)
|
||||
- [ 世界地图](QGraphicsView练习/世界地图)
|
||||
- [ 添加QWidget](QGraphicsView练习/添加QWidget.py)
|
||||
- [ QChartToolTipTest](QGraphicsView练习/QChartToolTipTest.py)
|
||||
|
||||
#### 4.2 [ PyQtChart练习](PyQtChart练习/)
|
||||
- [ charts](PyQtChart练习/charts)
|
||||
- [ test](PyQtChart练习/test)
|
||||
|
||||
|
||||
### V、[QML](partner_625781186/QML_QtQuick_PY)
|
||||
- [python_QML调用基础](partner_625781186/QML_QtQuick_PY/python_QML调用基础)
|
||||
- QWidget窗体中嵌入qml界面
|
||||
- [QDialog中嵌入qml窗体并缩放](partner_625781186/QML_QtQuick_PY/QDialog中嵌入qml窗体并缩放)
|
||||
- [QQmlApplicationEngine之qml嵌入qtwidget_qt以上](partner_625781186/QML_QtQuick_PY/QQmlApplicationEngine之qml嵌入qtwidget_qt以上)
|
||||
|
||||
|
||||
# QQ群
|
||||
- [PyQt & PySide](https://jq.qq.com/?_wv=1027&k=50LWvn9)
|
||||
- [PyQt学习互助](https://jq.qq.com/?_wv=1027&k=5QVVEdF)
|
||||
|
|
149
README.old.md
Normal file
|
@ -0,0 +1,149 @@
|
|||
# 各种各样的PyQt测试和例子
|
||||
|
||||
## [PyQt5 社区](https://pyqt5.com)
|
||||
本社区是专门针对PyQt5学习和提升开设的博客网站,分析大家平时学习中记录的笔记和例子,以及对遇到的问题进行收集整理。
|
||||
|
||||
### I、 项目型
|
||||
[Qt皮肤生成器 - 持续更新中](https://github.com/892768447/QtSkin)
|
||||
|
||||
[客户端动画界面](https://github.com/892768447/PyQtClient)
|
||||
|
||||
[桌面悬浮异形窗体](https://github.com/892768447/Lolita)
|
||||
|
||||
[必应壁纸](https://github.com/892768447/BingWallpaper)
|
||||
|
||||
[腾讯视频热播列表](腾讯视频热播列表/)
|
||||
|
||||
[ QWebView 与 python 通过js交互 特效 - QWebEngine需要改代码](https://github.com/892768447/PhotoEffects)
|
||||
|
||||
### II、功能型
|
||||
|
||||
#### 2.1 常用例子
|
||||
|
||||
1. - [ 自定义属性测试](自定义属性测试/)
|
||||
1. - [ 自动更新](自动更新/)
|
||||
1. - [ 自定义import](自定义import/)
|
||||
1. - [ 全局热键](全局热键/)
|
||||
1. - [ 单实例应用 - 只允许运行一个程序](单实例应用/)
|
||||
1. - [ 程序重启](程序重启/)
|
||||
1. - [ 窗口重启](窗口重启/)
|
||||
1. - [ 菜单](菜单/)
|
||||
- [1. 菜单多选](菜单/菜单多选不关闭.py)
|
||||
1. - [ 外部窗口跟随](外部窗口跟随/)
|
||||
1. - python 的exec( ) 动态生成控件
|
||||
- [1. 动态控件基础例子 - 动态生成按钮](partner_625781186/1.exec动态生成控件/dynamic_button)
|
||||
- [2. 动态控件基础例子 - 动态生成菜单](partner_625781186/1.exec动态生成控件/dynamic_Menu)
|
||||
- [3. 配合setting记录模型类型](partner_625781186/13.combo_listwidget)
|
||||
|
||||
- 小部件
|
||||
|
||||
1. - [ ☆! QSplitter 分割条重写 来添加按钮](分割窗口的分割条重写/)
|
||||
1. - [ QLabel 图片加载 gif动画](图片加载/)
|
||||
1. - [ 一个图片显示小特效](图片加载/)
|
||||
1. - [ ComboBox 下拉选择级联--省、市、县 json 数据 ](下拉选择联动/)
|
||||
1. - [ ComboBox 自定义下拉 listitem ](partner_625781186/13.combo_listwidget/)
|
||||
1. - [ 仿QQ设置面板](仿QQ设置面板/)
|
||||
1. - [ 右下角弹出框](右下角弹出框/)
|
||||
1. - [ 消息对话框倒计时关闭](消息对话框倒计时关闭/)
|
||||
1. - [ QTextEdit 文本高亮](文本高亮/)
|
||||
1. - [ QActiveX窗口 加载本地word/pdf](ActiveX窗口/)
|
||||
|
||||
- win 32
|
||||
|
||||
1. - [ 线程的挂起与恢复](多线程使用/)
|
||||
1. - [ 嵌入外部窗口](嵌入外部窗口/)
|
||||
1. - [ 截图dll (只能用32位python)](调用截图dll(只能用32位)/)
|
||||
1. - [ 探测窗口 和 放大镜](探测窗口和放大截图/)
|
||||
|
||||
- Model & View
|
||||
|
||||
1. - [ QListView 加按钮和 排序](QListView/)
|
||||
1. - [ QListWidget 自定义Item并拖拽](QListWidget自定义Item并拖拽/)
|
||||
|
||||
1. - [ Json生成QTreeWidget](Json生成QTreeWidget/)
|
||||
1. - [ treeWidget 节点可拖拽](https://github.com/AshotS/glowing-disco)
|
||||
1. - [ treeWidget 支持拖拽 并改变图标样式](partner_625781186/12.1拖拽显示为图片/)
|
||||
|
||||
1. - [ QTabWidget 左侧标签 正字方法](左侧选项卡/)
|
||||
1. - [ QTabWidget 表格复制 与 黏贴](表格复制/)
|
||||
1. - [ QSqlTableModel + QTableView 数据库查询显示表格](数据库查询显示表格/)
|
||||
|
||||
- 浏览器QWebEngine模块例子
|
||||
|
||||
1. - [ 浏览器获取Cookie](浏览器获取Cookie/)
|
||||
1. - [ 浏览器下载功能](partner_625781186/6.QWebEngineView下载文件)
|
||||
1. - [ 浏览器开启调试工具](partner_625781186/14.多进程爬虫)
|
||||
|
||||
1. - [ 梦幻树 QWebView - QWebEngine需要改代码](梦幻树/)
|
||||
1. - [ QWebView 与 python 通过js交互 特效 - QWebEngine需要改代码](https://github.com/892768447/PhotoEffects)
|
||||
|
||||
|
||||
#### 2.2 框架
|
||||
1. - [ 无边框自定义标题栏窗口](无边框自定义标题栏窗口/)
|
||||
1. - [ 简单的窗口贴边隐藏](简单的窗口贴边隐藏/)
|
||||
1. - [ 验证码控件](验证码控件/)
|
||||
1. - [ 消息提示](消息提示/)
|
||||
1. - 悬浮下拉菜单
|
||||
- [ tableWidget形式](partner_625781186/5.hoverMenu)
|
||||
|
||||
#### 2.3 其他案例
|
||||
- [ 人脸描点检测](人脸描点检测/)
|
||||
- [ 网络操作](网络操作/)
|
||||
- [ 窗口和异步asyncio http](窗口配合异步Http/)
|
||||
- [ QRC资源文件使用](QRC资源文件使用/)
|
||||
- [ C和C++扩展](C和C++扩展/)
|
||||
- [.1 pyx和c++](C和C++扩展/pyx和c++/)
|
||||
- [.2 py转pyd](C和C++扩展/py转pyd/)
|
||||
- [.3 pydext](C和C++扩展/pydext/)
|
||||
|
||||
### III、 界面型
|
||||
|
||||
#### 3.1 [美化类](界面美化/)
|
||||
1. - [ 字体测试](字体测试/)
|
||||
1. - [ 自定义QWidget的QSS样式](自定义QWidget的QSS样式/)
|
||||
1. - [ QSS美化例子](界面美化/QSS美化例子)
|
||||
1. - [ Flat Style](https://github.com/892768447/QFlat)
|
||||
1. - [ QMessageBox样式](界面美化/QMessageBox样式)
|
||||
1. - [ QScrollBar滚动条样式](界面美化/QScrollBar滚动条样式)
|
||||
1. - [ QLabel圆形头像](界面美化/QLabel圆形头像)
|
||||
1. - [ QFileSystemModel图标](界面美化/QFileSystemModel图标)
|
||||
1. - [ QPushButton进度动画](界面美化/QPushButton进度动画)
|
||||
1. - [ QSlider美化](界面美化/QSlider美化)
|
||||
1. - [ 各类进度条](界面美化/各类进度条)
|
||||
1. - [ 动态边框阴影动画](界面美化/边框动画阴影)
|
||||
|
||||
#### 3.2 [动画类](动画特效/)
|
||||
1. - [ 气泡提示 上升渐隐](消息提示/)
|
||||
1. - [ 折叠动画效果](partner_625781186/2.折叠控件/)
|
||||
1. - [ 淡入淡出](动画特效/)
|
||||
1. - [ 右键菜单动画](动画特效/)
|
||||
1. - [ 水波纹进度条](界面美化/水波纹进度条)
|
||||
|
||||
### IV、图表型
|
||||
#### 4.1 [ QGraphicsView练习](QGraphicsView练习/)
|
||||
- [ 世界地图](QGraphicsView练习/世界地图)
|
||||
- [ 添加QWidget](QGraphicsView练习/添加QWidget.py)
|
||||
- [ QChartToolTipTest](QGraphicsView练习/QChartToolTipTest.py)
|
||||
|
||||
#### 4.2 [ PyQtChart练习](PyQtChart练习/)
|
||||
- [ charts](PyQtChart练习/charts)
|
||||
- [ test](PyQtChart练习/test)
|
||||
|
||||
|
||||
### V、[QML](partner_625781186/QML_QtQuick_PY)
|
||||
- [python_QML调用基础](partner_625781186/QML_QtQuick_PY/python_QML调用基础)
|
||||
- QWidget窗体中嵌入qml界面
|
||||
- [QDialog中嵌入qml窗体并缩放](partner_625781186/QML_QtQuick_PY/QDialog中嵌入qml窗体并缩放)
|
||||
- [QQmlApplicationEngine之qml嵌入qtwidget_qt以上](partner_625781186/QML_QtQuick_PY/QQmlApplicationEngine之qml嵌入qtwidget_qt以上)
|
||||
|
||||
|
||||
# QQ群
|
||||
- [PyQt & PySide](https://jq.qq.com/?_wv=1027&k=50LWvn9)
|
||||
- [PyQt学习互助](https://jq.qq.com/?_wv=1027&k=5QVVEdF)
|
||||
- [PyQt5小组](https://jq.qq.com/?_wv=1027&k=5cI3oRz)
|
||||
|
||||
|
||||
# [Donate-打赏](Donate/)
|
||||
|
||||
# Wiki
|
||||
- [一些Qt写的三方APP](https://github.com/892768447/PyQt/wiki/3rd-party-applications)
|
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 201 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
6
浏览器/QWebEngineView/获取Cookie/README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# QWebEngineView获取网页Cookie
|
||||
|
||||
QWebEngineView的话目前是通过QWebEngineProfile中得到的cookieStore并绑定它的cookieAdded信号来得到Cookie
|
||||
|
||||
# 截图
|
||||
![截图](ScreenShot/2.png)
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
7
浏览器/QWebView/获取Cookie/README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# QWebView获取网页Cookie
|
||||
|
||||
QWebView很简单,从page()中得到QNetworkAccessManager,在从中得到QNetworkCookieJar,
|
||||
最后得到cookie,当然也可以设置自己的QNetworkCookieJar
|
||||
|
||||
# 截图
|
||||
![截图](ScreenShot/1.png)
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
@ -1,9 +0,0 @@
|
|||
# 获取QWebView或者QWebEngineView的网页Cookie
|
||||
|
||||
- QWebView很简单,从page()中得到QNetworkAccessManager,在从中得到QNetworkCookieJar,
|
||||
最后得到cookie,当然也可以设置自己的QNetworkCookieJar
|
||||
- QWebEngineView的话目前是通过QWebEngineProfile中得到的cookieStore并绑定它的cookieAdded信号来得到Cookie
|
||||
|
||||
# 截图
|
||||
![截图](ScreenShot/1.png)
|
||||
![截图](ScreenShot/2.png)
|