From f9d000b1ddc7b36e2d9abcf516001979da2eaa7b Mon Sep 17 00:00:00 2001 From: Irony <892768447@qq.com> Date: Sun, 28 Oct 2018 00:24:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=9B=AE=E5=BD=95=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .settings/org.eclipse.core.resources.prefs | 30 +- README.md | 42 +- .../QRC资源文件使用}/README.md | 0 .../QRC资源文件使用}/images/head.jpg | Bin .../QRC资源文件使用}/qrctest1.py | 0 .../QRC资源文件使用}/qrctest2.py | 0 .../QRC资源文件使用}/res.data | Bin .../QRC资源文件使用}/res.qrc | 0 .../QRC资源文件使用}/res_rc.py | 0 .../QRC资源文件使用}/textread.py | 0 .../QRC资源文件使用}/tools/rcc.exe | Bin .../单实例应用}/Application.py | 0 {单实例应用 => 其它/单实例应用}/README.md | 0 .../单实例应用}/TestQSharedMemory.py | 0 .../单实例应用}/TestQSingleApplication.py | 0 {程序重启 => 其它/程序重启}/AutoRestart.py | 0 {程序重启 => 其它/程序重启}/README.md | 0 {程序重启 => 其它/程序重启}/ScreenShot/1.png | Bin .../程序重启}/dist/AutoRestart.exe | Bin .../调用截图dll(只能用32位)}/README.md | 0 .../调用截图dll(只能用32位)}/ScreenShot.dll | Bin .../调用截图dll(只能用32位)}/ScreenShot/1.gif | Bin .../调用截图dll(只能用32位)}/截图DLL测试.py | 0 分割窗口的分割条重写/README.md | 11 - {动画特效 => 动画}/README.md | 0 {动画特效 => 动画}/ScreenShot/1.gif | Bin {动画特效 => 动画}/ScreenShot/2.gif | Bin {动画特效 => 动画}/右键菜单动画.py | 0 {动画特效 => 动画}/淡入淡出.py | 0 {多线程使用 => 多线程/线程挂起恢复}/README.md | 30 +- .../线程挂起恢复}/ScreenShot/1.gif | Bin .../线程挂起恢复}/inheritQThread.py | 0 .../线程挂起恢复}/moveToThread.py | 0 .../线程挂起恢复}/线程挂起恢复.py | 0 .../仿QQ设置面板}/README.md | 0 .../仿QQ设置面板}/ScreenShot/1.gif | Bin .../仿QQ设置面板}/SettingUi.py | 0 .../仿QQ设置面板}/Window.py | 0 .../仿QQ设置面板}/setting.ui | 0 .../仿QQ设置面板}/style.qss | 0 .../QWebView/梦幻树}/DreamTree.py | 0 {梦幻树 => 浏览器/QWebView/梦幻树}/README.md | 0 .../QWebView/梦幻树}/ScreenShot/1.png | Bin {梦幻树 => 浏览器/QWebView/梦幻树}/data.qrc | 0 {梦幻树 => 浏览器/QWebView/梦幻树}/data_rc.py | 0 {梦幻树 => 浏览器/QWebView/梦幻树}/jquery.js | 0 {梦幻树 => 浏览器/QWebView/梦幻树}/tree.html | 0 {简单的窗口贴边隐藏 => 窗口}/README.md | 48 +- .../1.gif => 窗口/ScreenShot/分割窗口的分割条重写.gif | Bin .../1.gif => 窗口/ScreenShot/窗口重启.gif | Bin .../Splitter.py => 窗口/分割窗口的分割条重写.py | 0 .../RestartMainWindow.py => 窗口/窗口重启.py | 124 +-- .../WeltHideWindow.py => 窗口/简单的窗口贴边隐藏.py | 2 +- 窗口重启/README.md | 4 - {网络操作 => 网络}/README.md | 0 .../TcpSocket => 网络}/控制小车/ControlCar.py | 0 .../TcpSocket => 网络}/控制小车/README.md | 50 +- .../TcpSocket => 网络}/控制小车/ScreenShot/1.png | Bin .../TcpSocket => 网络}/控制小车/carui.ui | 724 +++++++++--------- .../TcpSocket => 网络}/控制小车/server.py | 0 .../窗口配合异步Http}/README.md | 0 .../窗口配合异步Http}/ScreenShot/1.gif | Bin .../窗口配合异步Http/窗口配合异步Http.py | 0 网络操作/TcpSocket/README.md | 5 - 表格/QTableView/README.md | 6 + .../QTableView}/ScreenShot/1.png | Bin .../QTableView}/ScreenShot/2.png | Bin .../QTableView/表格内容复制.py | 0 表格复制/README.md | 7 - 69 files changed, 556 insertions(+), 527 deletions(-) rename {QRC资源文件使用 => 其它/QRC资源文件使用}/README.md (100%) rename {QRC资源文件使用 => 其它/QRC资源文件使用}/images/head.jpg (100%) rename {QRC资源文件使用 => 其它/QRC资源文件使用}/qrctest1.py (100%) rename {QRC资源文件使用 => 其它/QRC资源文件使用}/qrctest2.py (100%) rename {QRC资源文件使用 => 其它/QRC资源文件使用}/res.data (100%) rename {QRC资源文件使用 => 其它/QRC资源文件使用}/res.qrc (100%) rename {QRC资源文件使用 => 其它/QRC资源文件使用}/res_rc.py (100%) rename {QRC资源文件使用 => 其它/QRC资源文件使用}/textread.py (100%) rename {QRC资源文件使用 => 其它/QRC资源文件使用}/tools/rcc.exe (100%) rename {单实例应用 => 其它/单实例应用}/Application.py (100%) rename {单实例应用 => 其它/单实例应用}/README.md (100%) rename {单实例应用 => 其它/单实例应用}/TestQSharedMemory.py (100%) rename {单实例应用 => 其它/单实例应用}/TestQSingleApplication.py (100%) rename {程序重启 => 其它/程序重启}/AutoRestart.py (100%) rename {程序重启 => 其它/程序重启}/README.md (100%) rename {程序重启 => 其它/程序重启}/ScreenShot/1.png (100%) rename {程序重启 => 其它/程序重启}/dist/AutoRestart.exe (100%) rename {调用截图dll(只能用32位) => 其它/调用截图dll(只能用32位)}/README.md (100%) rename {调用截图dll(只能用32位) => 其它/调用截图dll(只能用32位)}/ScreenShot.dll (100%) rename {调用截图dll(只能用32位) => 其它/调用截图dll(只能用32位)}/ScreenShot/1.gif (100%) rename {调用截图dll(只能用32位) => 其它/调用截图dll(只能用32位)}/截图DLL测试.py (100%) delete mode 100644 分割窗口的分割条重写/README.md rename {动画特效 => 动画}/README.md (100%) rename {动画特效 => 动画}/ScreenShot/1.gif (100%) rename {动画特效 => 动画}/ScreenShot/2.gif (100%) rename {动画特效 => 动画}/右键菜单动画.py (100%) rename {动画特效 => 动画}/淡入淡出.py (100%) rename {多线程使用 => 多线程/线程挂起恢复}/README.md (97%) rename {多线程使用 => 多线程/线程挂起恢复}/ScreenShot/1.gif (100%) rename {多线程使用 => 多线程/线程挂起恢复}/inheritQThread.py (100%) rename {多线程使用 => 多线程/线程挂起恢复}/moveToThread.py (100%) rename {多线程使用 => 多线程/线程挂起恢复}/线程挂起恢复.py (100%) rename {仿QQ设置面板 => 多页面/仿QQ设置面板}/README.md (100%) rename {仿QQ设置面板 => 多页面/仿QQ设置面板}/ScreenShot/1.gif (100%) rename {仿QQ设置面板 => 多页面/仿QQ设置面板}/SettingUi.py (100%) rename {仿QQ设置面板 => 多页面/仿QQ设置面板}/Window.py (100%) rename {仿QQ设置面板 => 多页面/仿QQ设置面板}/setting.ui (100%) rename {仿QQ设置面板 => 多页面/仿QQ设置面板}/style.qss (100%) rename {梦幻树 => 浏览器/QWebView/梦幻树}/DreamTree.py (100%) rename {梦幻树 => 浏览器/QWebView/梦幻树}/README.md (100%) rename {梦幻树 => 浏览器/QWebView/梦幻树}/ScreenShot/1.png (100%) rename {梦幻树 => 浏览器/QWebView/梦幻树}/data.qrc (100%) rename {梦幻树 => 浏览器/QWebView/梦幻树}/data_rc.py (100%) rename {梦幻树 => 浏览器/QWebView/梦幻树}/jquery.js (100%) rename {梦幻树 => 浏览器/QWebView/梦幻树}/tree.html (100%) rename {简单的窗口贴边隐藏 => 窗口}/README.md (62%) rename 分割窗口的分割条重写/ScreenShot/1.gif => 窗口/ScreenShot/分割窗口的分割条重写.gif (100%) rename 窗口重启/ScreenShot/1.gif => 窗口/ScreenShot/窗口重启.gif (100%) rename 分割窗口的分割条重写/Splitter.py => 窗口/分割窗口的分割条重写.py (100%) rename 窗口重启/RestartMainWindow.py => 窗口/窗口重启.py (96%) rename 简单的窗口贴边隐藏/WeltHideWindow.py => 窗口/简单的窗口贴边隐藏.py (97%) delete mode 100644 窗口重启/README.md rename {网络操作 => 网络}/README.md (100%) rename {网络操作/TcpSocket => 网络}/控制小车/ControlCar.py (100%) rename {网络操作/TcpSocket => 网络}/控制小车/README.md (97%) rename {网络操作/TcpSocket => 网络}/控制小车/ScreenShot/1.png (100%) rename {网络操作/TcpSocket => 网络}/控制小车/carui.ui (96%) rename {网络操作/TcpSocket => 网络}/控制小车/server.py (100%) rename {窗口配合异步Http => 网络/窗口配合异步Http}/README.md (100%) rename {窗口配合异步Http => 网络/窗口配合异步Http}/ScreenShot/1.gif (100%) rename 窗口配合异步Http/AsyncioUiClient.py => 网络/窗口配合异步Http/窗口配合异步Http.py (100%) delete mode 100644 网络操作/TcpSocket/README.md create mode 100644 表格/QTableView/README.md rename {表格复制 => 表格/QTableView}/ScreenShot/1.png (100%) rename {表格复制 => 表格/QTableView}/ScreenShot/2.png (100%) rename 表格复制/TableView.py => 表格/QTableView/表格内容复制.py (100%) delete mode 100644 表格复制/README.md diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs index bdea397..9a4e194 100644 --- a/.settings/org.eclipse.core.resources.prefs +++ b/.settings/org.eclipse.core.resources.prefs @@ -1,21 +1,19 @@ eclipse.preferences.version=1 encoding//ActiveX/QAxWidget/\u663E\u793Aword_excel_pdf.py=utf-8 -encoding//QRC\u8D44\u6E90\u6587\u4EF6\u4F7F\u7528/qrctest1.py=utf-8 -encoding//QRC\u8D44\u6E90\u6587\u4EF6\u4F7F\u7528/qrctest2.py=utf-8 -encoding//QRC\u8D44\u6E90\u6587\u4EF6\u4F7F\u7528/res_rc.py=utf-8 -encoding//QRC\u8D44\u6E90\u6587\u4EF6\u4F7F\u7528/textread.py=utf-8 encoding//\u4E0B\u62C9\u9009\u62E9\u8054\u52A8/ComboBox.py=utf-8 encoding//\u4EBA\u8138\u63CF\u70B9\u68C0\u6D4B/OpencvWidget.py=utf-8 -encoding//\u4EFFQQ\u8BBE\u7F6E\u9762\u677F/SettingUi.py=utf-8 -encoding//\u4EFFQQ\u8BBE\u7F6E\u9762\u677F/Window.py=utf-8 encoding//\u5168\u5C40\u70ED\u952E/HotKey.py=utf-8 encoding//\u5176\u5B83/C\u548CC++\u6269\u5C55/py\u8F6Cpyd/pydmod.py=utf-8 -encoding//\u5206\u5272\u7A97\u53E3\u7684\u5206\u5272\u6761\u91CD\u5199/Splitter.py=utf-8 +encoding//\u5176\u5B83/QRC\u8D44\u6E90\u6587\u4EF6\u4F7F\u7528/qrctest1.py=utf-8 +encoding//\u5176\u5B83/QRC\u8D44\u6E90\u6587\u4EF6\u4F7F\u7528/qrctest2.py=utf-8 +encoding//\u5176\u5B83/QRC\u8D44\u6E90\u6587\u4EF6\u4F7F\u7528/res_rc.py=utf-8 +encoding//\u5176\u5B83/QRC\u8D44\u6E90\u6587\u4EF6\u4F7F\u7528/textread.py=utf-8 +encoding//\u5176\u5B83/\u7A0B\u5E8F\u91CD\u542F/AutoRestart.py=utf-8 encoding//\u5217\u8868/QListView/\u663E\u793A\u81EA\u5B9A\u4E49Widget.py=utf-8 encoding//\u5217\u8868/QListView/\u663E\u793A\u81EA\u5B9A\u4E49Widget\u5E76\u6392\u5E8F.py=utf-8 encoding//\u5217\u8868/QListWidget/\u81EA\u5B9A\u4E49\u53EF\u62D6\u62FDItem.py=utf-8 -encoding//\u52A8\u753B\u7279\u6548/\u53F3\u952E\u83DC\u5355\u52A8\u753B.py=utf-8 -encoding//\u52A8\u753B\u7279\u6548/\u6DE1\u5165\u6DE1\u51FA.py=utf-8 +encoding//\u52A8\u753B/\u53F3\u952E\u83DC\u5355\u52A8\u753B.py=utf-8 +encoding//\u52A8\u753B/\u6DE1\u5165\u6DE1\u51FA.py=utf-8 encoding//\u53F3\u4E0B\u89D2\u5F39\u51FA\u6846/WindowNotify.py=utf-8 encoding//\u56FE\u5F62\u89C6\u56FE/ImageView.py=utf-8 encoding//\u56FE\u5F62\u89C6\u56FE/QGraphicsItem/Item\u62D6\u62FD\u6539\u53D8\u5927\u5C0F.py=utf-8 @@ -44,9 +42,8 @@ encoding//\u56FE\u8868/PyQtChart\u7EC3\u4E60/test/LineChart.py=utf-8 encoding//\u56FE\u8868/PyQtChart\u7EC3\u4E60/test/LineChart\u81EA\u5B9A\u4E49xy\u8F74.py=utf-8 encoding//\u56FE\u8868/PyQtChart\u7EC3\u4E60/test/ToolTip.py=utf-8 encoding//\u56FE\u8868/PyQtChart\u7EC3\u4E60/test/ToolTip2.py=utf-8 -encoding//\u591A\u7EBF\u7A0B\u4F7F\u7528/inheritQThread.py=utf-8 -encoding//\u591A\u7EBF\u7A0B\u4F7F\u7528/moveToThread.py=utf-8 -encoding//\u591A\u7EBF\u7A0B\u4F7F\u7528/\u7EBF\u7A0B\u6302\u8D77\u6062\u590D.py=utf-8 +encoding//\u591A\u9875\u9762/\u4EFFQQ\u8BBE\u7F6E\u9762\u677F/SettingUi.py=utf-8 +encoding//\u591A\u9875\u9762/\u4EFFQQ\u8BBE\u7F6E\u9762\u677F/Window.py=utf-8 encoding//\u5B57\u4F53\u6D4B\u8BD5/FontAwesome.py=utf-8 encoding//\u5B57\u4F53\u6D4B\u8BD5/TestFontAwesome.py=utf-8 encoding//\u5B57\u4F53\u6D4B\u8BD5/TestFontRoboto.py=utf-8 @@ -58,7 +55,7 @@ encoding//\u65E0\u8FB9\u6846\u81EA\u5B9A\u4E49\u6807\u9898\u680F\u7A97\u53E3/Fra encoding//\u65E0\u8FB9\u6846\u81EA\u5B9A\u4E49\u6807\u9898\u680F\u7A97\u53E3/Test.py=utf-8 encoding//\u65E0\u8FB9\u6846\u81EA\u5B9A\u4E49\u6807\u9898\u680F\u7A97\u53E3/win\u65E0\u8FB9\u6846\u8C03\u6574\u5927\u5C0F.py=utf-8 encoding//\u6811\u7ED3\u6784/QTreeWidget/Json\u751F\u6210QTreeWidget/Json\u751F\u6210\u6811\u5F62\u7ED3\u6784.py=utf-8 -encoding//\u68A6\u5E7B\u6811/DreamTree.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//\u6D88\u606F\u5BF9\u8BDD\u6846\u5012\u8BA1\u65F6\u5173\u95ED/MessageBox.py=utf-8 @@ -89,12 +86,6 @@ encoding//\u754C\u9762\u7F8E\u5316/\u6C34\u6CE2\u7EB9\u8FDB\u5EA6\u6761/Progress encoding//\u754C\u9762\u7F8E\u5316/\u6C34\u6CE2\u7EB9\u8FDB\u5EA6\u6761/TestWidget.py=utf-8 encoding//\u754C\u9762\u7F8E\u5316/\u8FB9\u6846\u52A8\u753B\u9634\u5F71/AnimationShadowEffect.py=utf-8 encoding//\u754C\u9762\u7F8E\u5316/\u8FB9\u6846\u52A8\u753B\u9634\u5F71/Test.py=utf-8 -encoding//\u7A0B\u5E8F\u91CD\u542F/AutoRestart.py=utf-8 -encoding//\u7A97\u53E3\u914D\u5408\u5F02\u6B65Http/AsyncioUiClient.py=utf-8 -encoding//\u7A97\u53E3\u91CD\u542F/RestartMainWindow.py=utf-8 -encoding//\u7B80\u5355\u7684\u7A97\u53E3\u8D34\u8FB9\u9690\u85CF/WeltHideWindow.py=utf-8 -encoding//\u7F51\u7EDC\u64CD\u4F5C/TcpSocket/\u63A7\u5236\u5C0F\u8F66/ControlCar.py=utf-8 -encoding//\u7F51\u7EDC\u64CD\u4F5C/TcpSocket/\u63A7\u5236\u5C0F\u8F66/server.py=utf-8 encoding//\u817E\u8BAF\u89C6\u9891\u70ED\u64AD\u5217\u8868/TencentMovieHotPlay.py=utf-8 encoding//\u817E\u8BAF\u89C6\u9891\u70ED\u64AD\u5217\u8868/TencentMovieHotPlay_Flow.py=utf-8 encoding//\u817E\u8BAF\u89C6\u9891\u70ED\u64AD\u5217\u8868/TencentMovieHotPlay_ListWidget.py=utf-8 @@ -109,4 +100,3 @@ encoding//\u81EA\u5B9A\u4E49import/main.py=utf-8 encoding//\u81EA\u5B9A\u4E49import/src/test.py=utf-8 encoding//\u81EA\u5B9A\u4E49\u5C5E\u6027\u6D4B\u8BD5/\u81EA\u5B9A\u4E49\u5C5E\u6027\u6D4B\u8BD5.py=utf-8 encoding//\u83DC\u5355/\u83DC\u5355\u591A\u9009\u4E0D\u5173\u95ED.py=utf-8 -encoding//\u8868\u683C\u590D\u5236/TableView.py=utf-8 diff --git a/README.md b/README.md index b6dffd5..b0b9373 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ ## 菜单 +1. [菜单多选不关闭](菜单/菜单多选不关闭.py) + ## 列表 ### 1、[QListWidget](列表/QListWidget) @@ -26,7 +28,7 @@ 1. [自定义Widget](列表/QListView/显示自定义Widget.py) 2. [自定义Widget并排序](列表/QListView/显示自定义Widget并排序.py) -## 树形 +## 树结构 ### 1、[QTreeWidget](树结构/QTreeWidget) @@ -36,6 +38,12 @@ ## 表格 +### 1、[QTableWidget](表格/QTableWidget) + +### 2、[QTreeView](表格/QTableView) + +1. [表格内容复制](表格/QTableView/表格内容复制.py) + ## 级联 ## 日期 @@ -50,18 +58,42 @@ ## 窗口 +1. [窗口重启](窗口/窗口重启.py) + +2. [分割窗口的分割条重写](窗口/分割窗口的分割条重写.py) + +3. [简单的窗口贴边隐藏](窗口/简单的窗口贴边隐藏.py) + ## 多页面 ## 多线程 +### 1、[线程挂起恢复](多线程/线程挂起恢复) + ## 美化 +## 动画 + +1. [淡入淡出](动画/淡入淡出.py) + +2. [右键菜单动画](动画/右键菜单动画.py) + ## 图表 ## 网络 +### 1、[窗口配合异步Http](网络/窗口配合异步Http) + +### 2、[控制小车](网络/控制小车) + ## 浏览器 +### 1、[QWebView](浏览器/QWebView) + +1. [梦幻树](浏览器/QWebView/梦幻树) + +### 2、[QWebEngineView](浏览器/QWebEngineView) + ## 图形视图 ## 其它 @@ -72,6 +104,14 @@ 2. [使用pyx和c++](其它/C和C++扩展/pyx和c++) 3. [python转pyd](其它/C和C++扩展/py转pyd) +### 2、[QRC资源文件使用](其它/QRC资源文件使用) + +### 3、[程序重启](其它/程序重启) + +### 4、[单实例应用](其它/单实例应用) + +### 5、[调用截图dll(只能用32位)](其它/调用截图dll(只能用32位)) + ### I、 项目型 [Qt皮肤生成器 - 持续更新中](https://github.com/892768447/QtSkin) diff --git a/QRC资源文件使用/README.md b/其它/QRC资源文件使用/README.md similarity index 100% rename from QRC资源文件使用/README.md rename to 其它/QRC资源文件使用/README.md diff --git a/QRC资源文件使用/images/head.jpg b/其它/QRC资源文件使用/images/head.jpg similarity index 100% rename from QRC资源文件使用/images/head.jpg rename to 其它/QRC资源文件使用/images/head.jpg diff --git a/QRC资源文件使用/qrctest1.py b/其它/QRC资源文件使用/qrctest1.py similarity index 100% rename from QRC资源文件使用/qrctest1.py rename to 其它/QRC资源文件使用/qrctest1.py diff --git a/QRC资源文件使用/qrctest2.py b/其它/QRC资源文件使用/qrctest2.py similarity index 100% rename from QRC资源文件使用/qrctest2.py rename to 其它/QRC资源文件使用/qrctest2.py diff --git a/QRC资源文件使用/res.data b/其它/QRC资源文件使用/res.data similarity index 100% rename from QRC资源文件使用/res.data rename to 其它/QRC资源文件使用/res.data diff --git a/QRC资源文件使用/res.qrc b/其它/QRC资源文件使用/res.qrc similarity index 100% rename from QRC资源文件使用/res.qrc rename to 其它/QRC资源文件使用/res.qrc diff --git a/QRC资源文件使用/res_rc.py b/其它/QRC资源文件使用/res_rc.py similarity index 100% rename from QRC资源文件使用/res_rc.py rename to 其它/QRC资源文件使用/res_rc.py diff --git a/QRC资源文件使用/textread.py b/其它/QRC资源文件使用/textread.py similarity index 100% rename from QRC资源文件使用/textread.py rename to 其它/QRC资源文件使用/textread.py diff --git a/QRC资源文件使用/tools/rcc.exe b/其它/QRC资源文件使用/tools/rcc.exe similarity index 100% rename from QRC资源文件使用/tools/rcc.exe rename to 其它/QRC资源文件使用/tools/rcc.exe diff --git a/单实例应用/Application.py b/其它/单实例应用/Application.py similarity index 100% rename from 单实例应用/Application.py rename to 其它/单实例应用/Application.py diff --git a/单实例应用/README.md b/其它/单实例应用/README.md similarity index 100% rename from 单实例应用/README.md rename to 其它/单实例应用/README.md diff --git a/单实例应用/TestQSharedMemory.py b/其它/单实例应用/TestQSharedMemory.py similarity index 100% rename from 单实例应用/TestQSharedMemory.py rename to 其它/单实例应用/TestQSharedMemory.py diff --git a/单实例应用/TestQSingleApplication.py b/其它/单实例应用/TestQSingleApplication.py similarity index 100% rename from 单实例应用/TestQSingleApplication.py rename to 其它/单实例应用/TestQSingleApplication.py diff --git a/程序重启/AutoRestart.py b/其它/程序重启/AutoRestart.py similarity index 100% rename from 程序重启/AutoRestart.py rename to 其它/程序重启/AutoRestart.py diff --git a/程序重启/README.md b/其它/程序重启/README.md similarity index 100% rename from 程序重启/README.md rename to 其它/程序重启/README.md diff --git a/程序重启/ScreenShot/1.png b/其它/程序重启/ScreenShot/1.png similarity index 100% rename from 程序重启/ScreenShot/1.png rename to 其它/程序重启/ScreenShot/1.png diff --git a/程序重启/dist/AutoRestart.exe b/其它/程序重启/dist/AutoRestart.exe similarity index 100% rename from 程序重启/dist/AutoRestart.exe rename to 其它/程序重启/dist/AutoRestart.exe diff --git a/调用截图dll(只能用32位)/README.md b/其它/调用截图dll(只能用32位)/README.md similarity index 100% rename from 调用截图dll(只能用32位)/README.md rename to 其它/调用截图dll(只能用32位)/README.md diff --git a/调用截图dll(只能用32位)/ScreenShot.dll b/其它/调用截图dll(只能用32位)/ScreenShot.dll similarity index 100% rename from 调用截图dll(只能用32位)/ScreenShot.dll rename to 其它/调用截图dll(只能用32位)/ScreenShot.dll diff --git a/调用截图dll(只能用32位)/ScreenShot/1.gif b/其它/调用截图dll(只能用32位)/ScreenShot/1.gif similarity index 100% rename from 调用截图dll(只能用32位)/ScreenShot/1.gif rename to 其它/调用截图dll(只能用32位)/ScreenShot/1.gif diff --git a/调用截图dll(只能用32位)/截图DLL测试.py b/其它/调用截图dll(只能用32位)/截图DLL测试.py similarity index 100% rename from 调用截图dll(只能用32位)/截图DLL测试.py rename to 其它/调用截图dll(只能用32位)/截图DLL测试.py diff --git a/分割窗口的分割条重写/README.md b/分割窗口的分割条重写/README.md deleted file mode 100644 index 93e1689..0000000 --- a/分割窗口的分割条重写/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# 分割窗口的分割条重绘 - -原理在于QSplitter在创建分割条的时候会调用createHandle函数 - -于是通过重新写createHandle返回自己的QSplitterHandle类 - -并通过QSplitterHandle的paintEvent实现绘制其它形状, -重写mousePressEvent和mouseMoveEvent来实现鼠标的其它事件 - -## 截图 -![截图](ScreenShot/1.gif) \ No newline at end of file diff --git a/动画特效/README.md b/动画/README.md similarity index 100% rename from 动画特效/README.md rename to 动画/README.md diff --git a/动画特效/ScreenShot/1.gif b/动画/ScreenShot/1.gif similarity index 100% rename from 动画特效/ScreenShot/1.gif rename to 动画/ScreenShot/1.gif diff --git a/动画特效/ScreenShot/2.gif b/动画/ScreenShot/2.gif similarity index 100% rename from 动画特效/ScreenShot/2.gif rename to 动画/ScreenShot/2.gif diff --git a/动画特效/右键菜单动画.py b/动画/右键菜单动画.py similarity index 100% rename from 动画特效/右键菜单动画.py rename to 动画/右键菜单动画.py diff --git a/动画特效/淡入淡出.py b/动画/淡入淡出.py similarity index 100% rename from 动画特效/淡入淡出.py rename to 动画/淡入淡出.py diff --git a/多线程使用/README.md b/多线程/线程挂起恢复/README.md similarity index 97% rename from 多线程使用/README.md rename to 多线程/线程挂起恢复/README.md index 89c1a16..0405c28 100644 --- a/多线程使用/README.md +++ b/多线程/线程挂起恢复/README.md @@ -1,16 +1,16 @@ -# 简单的子线程例子 - -使用继承QThread和moveToThread两种方式 - -# 注意,这里只是简单演示,在应用这些代码时要小心 -## 线程的挂起与恢复 -这里使用windows的api实现,主要用到SuspendThread和ResumeThread函数 - -利用ctypes.windll.kernel32.OpenThread(win32con.PROCESS_ALL_ACCESS, False, int(QThread.currentThreadId())) - -得到线程的句柄,然后就可以通过上面的两个函数对其进行挂起与恢复 - -ctypes.windll.kernel32.TerminateThread终止线程,不推荐 - -## 截图 +# 简单的子线程例子 + +使用继承QThread和moveToThread两种方式 + +# 注意,这里只是简单演示,在应用这些代码时要小心 +## 线程的挂起与恢复 +这里使用windows的api实现,主要用到SuspendThread和ResumeThread函数 + +利用ctypes.windll.kernel32.OpenThread(win32con.PROCESS_ALL_ACCESS, False, int(QThread.currentThreadId())) + +得到线程的句柄,然后就可以通过上面的两个函数对其进行挂起与恢复 + +ctypes.windll.kernel32.TerminateThread终止线程,不推荐 + +## 截图 ![截图](ScreenShot/1.gif) \ No newline at end of file diff --git a/多线程使用/ScreenShot/1.gif b/多线程/线程挂起恢复/ScreenShot/1.gif similarity index 100% rename from 多线程使用/ScreenShot/1.gif rename to 多线程/线程挂起恢复/ScreenShot/1.gif diff --git a/多线程使用/inheritQThread.py b/多线程/线程挂起恢复/inheritQThread.py similarity index 100% rename from 多线程使用/inheritQThread.py rename to 多线程/线程挂起恢复/inheritQThread.py diff --git a/多线程使用/moveToThread.py b/多线程/线程挂起恢复/moveToThread.py similarity index 100% rename from 多线程使用/moveToThread.py rename to 多线程/线程挂起恢复/moveToThread.py diff --git a/多线程使用/线程挂起恢复.py b/多线程/线程挂起恢复/线程挂起恢复.py similarity index 100% rename from 多线程使用/线程挂起恢复.py rename to 多线程/线程挂起恢复/线程挂起恢复.py diff --git a/仿QQ设置面板/README.md b/多页面/仿QQ设置面板/README.md similarity index 100% rename from 仿QQ设置面板/README.md rename to 多页面/仿QQ设置面板/README.md diff --git a/仿QQ设置面板/ScreenShot/1.gif b/多页面/仿QQ设置面板/ScreenShot/1.gif similarity index 100% rename from 仿QQ设置面板/ScreenShot/1.gif rename to 多页面/仿QQ设置面板/ScreenShot/1.gif diff --git a/仿QQ设置面板/SettingUi.py b/多页面/仿QQ设置面板/SettingUi.py similarity index 100% rename from 仿QQ设置面板/SettingUi.py rename to 多页面/仿QQ设置面板/SettingUi.py diff --git a/仿QQ设置面板/Window.py b/多页面/仿QQ设置面板/Window.py similarity index 100% rename from 仿QQ设置面板/Window.py rename to 多页面/仿QQ设置面板/Window.py diff --git a/仿QQ设置面板/setting.ui b/多页面/仿QQ设置面板/setting.ui similarity index 100% rename from 仿QQ设置面板/setting.ui rename to 多页面/仿QQ设置面板/setting.ui diff --git a/仿QQ设置面板/style.qss b/多页面/仿QQ设置面板/style.qss similarity index 100% rename from 仿QQ设置面板/style.qss rename to 多页面/仿QQ设置面板/style.qss diff --git a/梦幻树/DreamTree.py b/浏览器/QWebView/梦幻树/DreamTree.py similarity index 100% rename from 梦幻树/DreamTree.py rename to 浏览器/QWebView/梦幻树/DreamTree.py diff --git a/梦幻树/README.md b/浏览器/QWebView/梦幻树/README.md similarity index 100% rename from 梦幻树/README.md rename to 浏览器/QWebView/梦幻树/README.md diff --git a/梦幻树/ScreenShot/1.png b/浏览器/QWebView/梦幻树/ScreenShot/1.png similarity index 100% rename from 梦幻树/ScreenShot/1.png rename to 浏览器/QWebView/梦幻树/ScreenShot/1.png diff --git a/梦幻树/data.qrc b/浏览器/QWebView/梦幻树/data.qrc similarity index 100% rename from 梦幻树/data.qrc rename to 浏览器/QWebView/梦幻树/data.qrc diff --git a/梦幻树/data_rc.py b/浏览器/QWebView/梦幻树/data_rc.py similarity index 100% rename from 梦幻树/data_rc.py rename to 浏览器/QWebView/梦幻树/data_rc.py diff --git a/梦幻树/jquery.js b/浏览器/QWebView/梦幻树/jquery.js similarity index 100% rename from 梦幻树/jquery.js rename to 浏览器/QWebView/梦幻树/jquery.js diff --git a/梦幻树/tree.html b/浏览器/QWebView/梦幻树/tree.html similarity index 100% rename from 梦幻树/tree.html rename to 浏览器/QWebView/梦幻树/tree.html diff --git a/简单的窗口贴边隐藏/README.md b/窗口/README.md similarity index 62% rename from 简单的窗口贴边隐藏/README.md rename to 窗口/README.md index 4ecd64e..f87381b 100644 --- a/简单的窗口贴边隐藏/README.md +++ b/窗口/README.md @@ -1,14 +1,34 @@ -# 简单的窗口贴边隐藏 - -## 大概思路 - - 1.思路是当窗口进入左边,顶部,右边一半时,此时判断窗口的坐标 - - 2.如果窗口的x坐标小于0 则需要隐藏到左边 - - 3.如果窗口的y坐标小于0 则需要隐藏到顶部 - - 4.如果窗口的x坐标大于屏幕宽度-窗口宽度/2 则需要隐藏到右边 - -## 事件 - - 1.mousePressEvent,鼠标按下事件,主要记录按下的坐标 - - 1.mouseMoveEvent,鼠标移动事件,用于移动窗口 - - 1.mouseReleaseEvent,鼠标弹起事件,用于判断是否需要隐藏窗口 - - 1.enterEvent,鼠标进入事件,用于窗口隐藏后,是否需要暂时显示预览 - - 1.leaveEvent,鼠标离开事件,用于窗口暂时显示后自动隐藏效果 +# 重启窗口Widget + +# 截图 +![截图](ScreenShot/窗口重启.gif) + + + +# 分割窗口的分割条重绘 + +原理在于QSplitter在创建分割条的时候会调用createHandle函数 + +于是通过重新写createHandle返回自己的QSplitterHandle类 + +并通过QSplitterHandle的paintEvent实现绘制其它形状, +重写mousePressEvent和mouseMoveEvent来实现鼠标的其它事件 + +## 截图 +![截图](ScreenShot/分割窗口的分割条重写.gif) + + +# 简单的窗口贴边隐藏 + +## 大概思路 + - 1.思路是当窗口进入左边,顶部,右边一半时,此时判断窗口的坐标 + - 2.如果窗口的x坐标小于0 则需要隐藏到左边 + - 3.如果窗口的y坐标小于0 则需要隐藏到顶部 + - 4.如果窗口的x坐标大于屏幕宽度-窗口宽度/2 则需要隐藏到右边 + +## 事件 + - 1.mousePressEvent,鼠标按下事件,主要记录按下的坐标 + - 1.mouseMoveEvent,鼠标移动事件,用于移动窗口 + - 1.mouseReleaseEvent,鼠标弹起事件,用于判断是否需要隐藏窗口 + - 1.enterEvent,鼠标进入事件,用于窗口隐藏后,是否需要暂时显示预览 + - 1.leaveEvent,鼠标离开事件,用于窗口暂时显示后自动隐藏效果 diff --git a/分割窗口的分割条重写/ScreenShot/1.gif b/窗口/ScreenShot/分割窗口的分割条重写.gif similarity index 100% rename from 分割窗口的分割条重写/ScreenShot/1.gif rename to 窗口/ScreenShot/分割窗口的分割条重写.gif diff --git a/窗口重启/ScreenShot/1.gif b/窗口/ScreenShot/窗口重启.gif similarity index 100% rename from 窗口重启/ScreenShot/1.gif rename to 窗口/ScreenShot/窗口重启.gif diff --git a/分割窗口的分割条重写/Splitter.py b/窗口/分割窗口的分割条重写.py similarity index 100% rename from 分割窗口的分割条重写/Splitter.py rename to 窗口/分割窗口的分割条重写.py diff --git a/窗口重启/RestartMainWindow.py b/窗口/窗口重启.py similarity index 96% rename from 窗口重启/RestartMainWindow.py rename to 窗口/窗口重启.py index 5451968..c01c40b 100644 --- a/窗口重启/RestartMainWindow.py +++ b/窗口/窗口重启.py @@ -1,62 +1,62 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -''' -Created on 2018年1月17日 -@author: Irony."[讽刺] -@site: http://alyl.vip, http://orzorz.vip, https://coding.net/u/892768447, https://github.com/892768447 -@email: 892768447@qq.com -@file: RestartMainWindow -@description: -''' -from PyQt5.QtCore import pyqtSignal -from PyQt5.QtWidgets import QWidget, QVBoxLayout, QLabel, QPushButton, QLineEdit,\ - QMessageBox - - -__Author__ = "By: Irony.\"[讽刺]\nQQ: 892768447\nEmail: 892768447@qq.com" -__Copyright__ = "Copyright (c) 2018 Irony.\"[讽刺]" -__Version__ = "Version 1.0" - - -class RestartMainWindow(QWidget): - - restarted = pyqtSignal(QWidget, str) - _Self = None # 很重要,保留窗口引用 - - def __init__(self, path, *args, **kwargs): - super(RestartMainWindow, self).__init__(*args, **kwargs) - RestartMainWindow._Self = self - layout = QVBoxLayout(self) - layout.addWidget(QLabel("当前工作目录:" + path, self)) - self.dirEdit = QLineEdit( - self, placeholderText="请输入要切换的目录", returnPressed=self.onChangeDir) - layout.addWidget(self.dirEdit) - layout.addWidget(QPushButton( - "点我切换工作目录", self, clicked=self.onChangeDir)) - self.restarted.connect(RestartMainWindow.onRestart) - - def onChangeDir(self): - path = self.dirEdit.text().strip() - if path and QMessageBox.question(self, "提示", "确认要切换到{0}目录吗?".format(path)) == QMessageBox.Yes: - self.hide() # 先隐藏 - self.restarted.emit(self, path) - else: - self.dirEdit.setFocus() - - @classmethod - def onRestart(cls, widget, path): - w = RestartMainWindow(path) - w.show() - widget.close() - widget.deleteLater() - del widget - - -if __name__ == "__main__": - import sys - from PyQt5.QtWidgets import QApplication - app = QApplication(sys.argv) - w = RestartMainWindow("test") - w.show() - sys.exit(app.exec_()) +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +''' +Created on 2018年1月17日 +@author: Irony."[讽刺] +@site: http://alyl.vip, http://orzorz.vip, https://coding.net/u/892768447, https://github.com/892768447 +@email: 892768447@qq.com +@file: RestartMainWindow +@description: +''' +from PyQt5.QtCore import pyqtSignal +from PyQt5.QtWidgets import QWidget, QVBoxLayout, QLabel, QPushButton, QLineEdit,\ + QMessageBox + + +__Author__ = "By: Irony.\"[讽刺]\nQQ: 892768447\nEmail: 892768447@qq.com" +__Copyright__ = "Copyright (c) 2018 Irony.\"[讽刺]" +__Version__ = "Version 1.0" + + +class RestartMainWindow(QWidget): + + restarted = pyqtSignal(QWidget, str) + _Self = None # 很重要,保留窗口引用 + + def __init__(self, path, *args, **kwargs): + super(RestartMainWindow, self).__init__(*args, **kwargs) + RestartMainWindow._Self = self + layout = QVBoxLayout(self) + layout.addWidget(QLabel("当前工作目录:" + path, self)) + self.dirEdit = QLineEdit( + self, placeholderText="请输入要切换的目录", returnPressed=self.onChangeDir) + layout.addWidget(self.dirEdit) + layout.addWidget(QPushButton( + "点我切换工作目录", self, clicked=self.onChangeDir)) + self.restarted.connect(RestartMainWindow.onRestart) + + def onChangeDir(self): + path = self.dirEdit.text().strip() + if path and QMessageBox.question(self, "提示", "确认要切换到{0}目录吗?".format(path)) == QMessageBox.Yes: + self.hide() # 先隐藏 + self.restarted.emit(self, path) + else: + self.dirEdit.setFocus() + + @classmethod + def onRestart(cls, widget, path): + w = RestartMainWindow(path) + w.show() + widget.close() + widget.deleteLater() + del widget + + +if __name__ == "__main__": + import sys + from PyQt5.QtWidgets import QApplication + app = QApplication(sys.argv) + w = RestartMainWindow("test") + w.show() + sys.exit(app.exec_()) diff --git a/简单的窗口贴边隐藏/WeltHideWindow.py b/窗口/简单的窗口贴边隐藏.py similarity index 97% rename from 简单的窗口贴边隐藏/WeltHideWindow.py rename to 窗口/简单的窗口贴边隐藏.py index bac31d9..750bea4 100644 --- a/简单的窗口贴边隐藏/WeltHideWindow.py +++ b/窗口/简单的窗口贴边隐藏.py @@ -22,7 +22,7 @@ class WeltHideWindow(QWidget): def __init__(self, *args, **kwargs): super(WeltHideWindow, self).__init__(*args, **kwargs) - self.setWindowFlag(Qt.FramelessWindowHint, True) + self.setWindowFlags(self.windowFlags() | Qt.FramelessWindowHint) self.resize(800, 600) self._width = QApplication.desktop().availableGeometry(self).width() layout = QVBoxLayout(self) diff --git a/窗口重启/README.md b/窗口重启/README.md deleted file mode 100644 index 4c7bf8c..0000000 --- a/窗口重启/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# 重启窗口Widget - -# 截图 -![截图](ScreenShot/1.gif) \ No newline at end of file diff --git a/网络操作/README.md b/网络/README.md similarity index 100% rename from 网络操作/README.md rename to 网络/README.md diff --git a/网络操作/TcpSocket/控制小车/ControlCar.py b/网络/控制小车/ControlCar.py similarity index 100% rename from 网络操作/TcpSocket/控制小车/ControlCar.py rename to 网络/控制小车/ControlCar.py diff --git a/网络操作/TcpSocket/控制小车/README.md b/网络/控制小车/README.md similarity index 97% rename from 网络操作/TcpSocket/控制小车/README.md rename to 网络/控制小车/README.md index 50a2fd7..2e6be21 100644 --- a/网络操作/TcpSocket/控制小车/README.md +++ b/网络/控制小车/README.md @@ -1,26 +1,26 @@ -# 通过TCP连接树莓派控制小车的简单例子 - -需求: - - - 通过TCP连接到树莓派控制小车前后左右 - - 前进:0-100, 发送命令为F:2 - - 后退:0-100, 发送命令为B:2 - - 向左:32-42, 发送命令为L:2 - - 向右:42-52, 发送命令为R:2 - -注意: - - - 这里只用了UI文件做界面,并没有转换为python代码 - - server.py只是做个本地echo服务器用来测试命令是否正常,依赖tornado库,可以通过pip install tornado来安装 - - 另外需要做粘包处理,以(\n)作为粘包符 - - 由于wifi能力不行,发送图片要尽量小 - -说明: - - - QTcpSocket.connected 服务连接成功后触发该信号 - - QTcpSocket.disconnected 服务器丢失连接触发该信号 - - QTcpSocket.readyRead 服务器返回数据触发该信号 - - QTcpSocket.error 连接报错触发该信号(连接超时、服务器断开等等) - -## 截图 +# 通过TCP连接树莓派控制小车的简单例子 + +需求: + + - 通过TCP连接到树莓派控制小车前后左右 + - 前进:0-100, 发送命令为F:2 + - 后退:0-100, 发送命令为B:2 + - 向左:32-42, 发送命令为L:2 + - 向右:42-52, 发送命令为R:2 + +注意: + + - 这里只用了UI文件做界面,并没有转换为python代码 + - server.py只是做个本地echo服务器用来测试命令是否正常,依赖tornado库,可以通过pip install tornado来安装 + - 另外需要做粘包处理,以(\n)作为粘包符 + - 由于wifi能力不行,发送图片要尽量小 + +说明: + + - QTcpSocket.connected 服务连接成功后触发该信号 + - QTcpSocket.disconnected 服务器丢失连接触发该信号 + - QTcpSocket.readyRead 服务器返回数据触发该信号 + - QTcpSocket.error 连接报错触发该信号(连接超时、服务器断开等等) + +## 截图 ![截图](ScreenShot/1.png) \ No newline at end of file diff --git a/网络操作/TcpSocket/控制小车/ScreenShot/1.png b/网络/控制小车/ScreenShot/1.png similarity index 100% rename from 网络操作/TcpSocket/控制小车/ScreenShot/1.png rename to 网络/控制小车/ScreenShot/1.png diff --git a/网络操作/TcpSocket/控制小车/carui.ui b/网络/控制小车/carui.ui similarity index 96% rename from 网络操作/TcpSocket/控制小车/carui.ui rename to 网络/控制小车/carui.ui index 2cd488b..b6d1aeb 100644 --- a/网络操作/TcpSocket/控制小车/carui.ui +++ b/网络/控制小车/carui.ui @@ -1,362 +1,362 @@ - - - Car - - - - 0 - 0 - 800 - 600 - - - - 小车 - - - - - - - 0 - - - - - - 0 - 400 - - - - TextLabel - - - - - - - - 0 - 200 - - - - - 16777215 - 200 - - - - - - - - - - - true - - - - 400 - 400 - - - - - - - - 80 - 50 - - - - - 80 - 50 - - - - QLCDNumber::Flat - - - - - - - - 80 - 50 - - - - - 80 - 50 - - - - QLCDNumber::Flat - - - 32.000000000000000 - - - - - - - - 80 - 50 - - - - - 80 - 50 - - - - QLCDNumber::Flat - - - - - - - - 0 - 30 - - - - 42 - - - 52 - - - 2 - - - Qt::Horizontal - - - QSlider::TicksBelow - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 30 - 0 - - - - 100 - - - Qt::Vertical - - - QSlider::TicksAbove - - - - - - - - 0 - 40 - - - - 连接服务器 - - - - - - - - 80 - 50 - - - - - 80 - 50 - - - - QLCDNumber::Flat - - - 32.000000000000000 - - - - - - - - 0 - 30 - - - - 32 - - - 42 - - - 2 - - - Qt::Horizontal - - - true - - - true - - - QSlider::TicksBelow - - - - - - - - 30 - 0 - - - - 100 - - - Qt::Vertical - - - true - - - true - - - QSlider::TicksBelow - - - - - - - - - - - - sliderLeft - valueChanged(int) - lcdNumber_3 - display(int) - - - 51 - 305 - - - 262 - 308 - - - - - sliderRight - valueChanged(int) - lcdNumber_4 - display(int) - - - 529 - 315 - - - 436 - 304 - - - - - sliderForward - valueChanged(int) - lcdNumber - display(int) - - - 325 - 119 - - - 357 - 247 - - - - - sliderBackward - valueChanged(int) - lcdNumber_2 - display(int) - - - 310 - 421 - - - 327 - 379 - - - - - + + + Car + + + + 0 + 0 + 800 + 600 + + + + 小车 + + + + + + + 0 + + + + + + 0 + 400 + + + + TextLabel + + + + + + + + 0 + 200 + + + + + 16777215 + 200 + + + + + + + + + + + true + + + + 400 + 400 + + + + + + + + 80 + 50 + + + + + 80 + 50 + + + + QLCDNumber::Flat + + + + + + + + 80 + 50 + + + + + 80 + 50 + + + + QLCDNumber::Flat + + + 32.000000000000000 + + + + + + + + 80 + 50 + + + + + 80 + 50 + + + + QLCDNumber::Flat + + + + + + + + 0 + 30 + + + + 42 + + + 52 + + + 2 + + + Qt::Horizontal + + + QSlider::TicksBelow + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 30 + 0 + + + + 100 + + + Qt::Vertical + + + QSlider::TicksAbove + + + + + + + + 0 + 40 + + + + 连接服务器 + + + + + + + + 80 + 50 + + + + + 80 + 50 + + + + QLCDNumber::Flat + + + 32.000000000000000 + + + + + + + + 0 + 30 + + + + 32 + + + 42 + + + 2 + + + Qt::Horizontal + + + true + + + true + + + QSlider::TicksBelow + + + + + + + + 30 + 0 + + + + 100 + + + Qt::Vertical + + + true + + + true + + + QSlider::TicksBelow + + + + + + + + + + + + sliderLeft + valueChanged(int) + lcdNumber_3 + display(int) + + + 51 + 305 + + + 262 + 308 + + + + + sliderRight + valueChanged(int) + lcdNumber_4 + display(int) + + + 529 + 315 + + + 436 + 304 + + + + + sliderForward + valueChanged(int) + lcdNumber + display(int) + + + 325 + 119 + + + 357 + 247 + + + + + sliderBackward + valueChanged(int) + lcdNumber_2 + display(int) + + + 310 + 421 + + + 327 + 379 + + + + + diff --git a/网络操作/TcpSocket/控制小车/server.py b/网络/控制小车/server.py similarity index 100% rename from 网络操作/TcpSocket/控制小车/server.py rename to 网络/控制小车/server.py diff --git a/窗口配合异步Http/README.md b/网络/窗口配合异步Http/README.md similarity index 100% rename from 窗口配合异步Http/README.md rename to 网络/窗口配合异步Http/README.md diff --git a/窗口配合异步Http/ScreenShot/1.gif b/网络/窗口配合异步Http/ScreenShot/1.gif similarity index 100% rename from 窗口配合异步Http/ScreenShot/1.gif rename to 网络/窗口配合异步Http/ScreenShot/1.gif diff --git a/窗口配合异步Http/AsyncioUiClient.py b/网络/窗口配合异步Http/窗口配合异步Http.py similarity index 100% rename from 窗口配合异步Http/AsyncioUiClient.py rename to 网络/窗口配合异步Http/窗口配合异步Http.py diff --git a/网络操作/TcpSocket/README.md b/网络操作/TcpSocket/README.md deleted file mode 100644 index ca010eb..0000000 --- a/网络操作/TcpSocket/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# QTcpSocket - -### [Python3.4.4 or Python3.5][PyQt5] - -### [1.控制小车](控制小车/) \ No newline at end of file diff --git a/表格/QTableView/README.md b/表格/QTableView/README.md new file mode 100644 index 0000000..9bb9fa2 --- /dev/null +++ b/表格/QTableView/README.md @@ -0,0 +1,6 @@ +# 表格控件案例 + +1. [表格内容复制](表格内容复制.py) + +![截图1](ScreenShot/1.png)![截图2](ScreenShot/2.png) + diff --git a/表格复制/ScreenShot/1.png b/表格/QTableView/ScreenShot/1.png similarity index 100% rename from 表格复制/ScreenShot/1.png rename to 表格/QTableView/ScreenShot/1.png diff --git a/表格复制/ScreenShot/2.png b/表格/QTableView/ScreenShot/2.png similarity index 100% rename from 表格复制/ScreenShot/2.png rename to 表格/QTableView/ScreenShot/2.png diff --git a/表格复制/TableView.py b/表格/QTableView/表格内容复制.py similarity index 100% rename from 表格复制/TableView.py rename to 表格/QTableView/表格内容复制.py diff --git a/表格复制/README.md b/表格复制/README.md deleted file mode 100644 index 514a0e5..0000000 --- a/表格复制/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# 表格复制 - -### [Python3.4.4 or Python3.5][PyQt5] - -# 截图 -![截图1](ScreenShot/1.png) -![截图2](ScreenShot/2.png) \ No newline at end of file