From 6309dd609e2d827259499750f5e95e4325b73cb5 Mon Sep 17 00:00:00 2001 From: Irony <892768447@qq.com> Date: Fri, 2 Nov 2018 17:49:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .settings/org.eclipse.core.resources.prefs | 2 +- 浏览器/QWebEngineView/获取Cookie/README.md | 6 ----- .../ScreenShot/{2.png => 获取Cookie.png} | Bin 浏览器/QWebView/梦幻树/README.md | 9 -------- .../梦幻树/ScreenShot/{1.png => 梦幻树.png} | Bin .../QWebView/梦幻树/{DreamTree.py => 梦幻树.py} | 0 浏览器/QWebView/获取Cookie/README.md | 7 ------ .../ScreenShot/{1.png => 获取Cookie.png} | Bin 浏览器/README.md | 21 ++++++++++++++++++ 9 files changed, 22 insertions(+), 23 deletions(-) delete mode 100644 浏览器/QWebEngineView/获取Cookie/README.md rename 浏览器/QWebEngineView/获取Cookie/ScreenShot/{2.png => 获取Cookie.png} (100%) delete mode 100644 浏览器/QWebView/梦幻树/README.md rename 浏览器/QWebView/梦幻树/ScreenShot/{1.png => 梦幻树.png} (100%) rename 浏览器/QWebView/梦幻树/{DreamTree.py => 梦幻树.py} (100%) delete mode 100644 浏览器/QWebView/获取Cookie/README.md rename 浏览器/QWebView/获取Cookie/ScreenShot/{1.png => 获取Cookie.png} (100%) create mode 100644 浏览器/README.md diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs index b5c71c8..44f9505 100644 --- a/.settings/org.eclipse.core.resources.prefs +++ b/.settings/org.eclipse.core.resources.prefs @@ -61,7 +61,7 @@ encoding//\u591A\u9875\u9762/QScrollArea/\u4EFFQQ\u8BBE\u7F6E\u9762\u677F/Settin encoding//\u591A\u9875\u9762/QScrollArea/\u4EFFQQ\u8BBE\u7F6E\u9762\u677F/\u4EFFQQ\u8BBE\u7F6E\u9762\u677F.py=utf-8 encoding//\u591A\u9875\u9762/QStackedWidget/\u5DE6\u4FA7\u9009\u9879\u5361/\u5DE6\u4FA7\u9009\u9879\u5361.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/QWebView/\u68A6\u5E7B\u6811/\u68A6\u5E7B\u6811.py=utf-8 encoding//\u7A97\u53E3/\u5206\u5272\u7A97\u53E3\u7684\u5206\u5272\u6761\u91CD\u5199.py=utf-8 encoding//\u7A97\u53E3/\u65E0\u8FB9\u6846\u81EA\u5B9A\u4E49\u6807\u9898\u680F\u7A97\u53E3/FramelessWindow.py=utf-8 encoding//\u7A97\u53E3/\u65E0\u8FB9\u6846\u81EA\u5B9A\u4E49\u6807\u9898\u680F\u7A97\u53E3/win\u65E0\u8FB9\u6846\u8C03\u6574\u5927\u5C0F.py=utf-8 diff --git a/浏览器/QWebEngineView/获取Cookie/README.md b/浏览器/QWebEngineView/获取Cookie/README.md deleted file mode 100644 index 10a55c0..0000000 --- a/浏览器/QWebEngineView/获取Cookie/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# QWebEngineView获取网页Cookie - -QWebEngineView的话目前是通过QWebEngineProfile中得到的cookieStore并绑定它的cookieAdded信号来得到Cookie - -# 截图 -![截图](ScreenShot/2.png) \ No newline at end of file diff --git a/浏览器/QWebEngineView/获取Cookie/ScreenShot/2.png b/浏览器/QWebEngineView/获取Cookie/ScreenShot/获取Cookie.png similarity index 100% rename from 浏览器/QWebEngineView/获取Cookie/ScreenShot/2.png rename to 浏览器/QWebEngineView/获取Cookie/ScreenShot/获取Cookie.png diff --git a/浏览器/QWebView/梦幻树/README.md b/浏览器/QWebView/梦幻树/README.md deleted file mode 100644 index 1417676..0000000 --- a/浏览器/QWebView/梦幻树/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# 梦幻树 - -### [Python3.4.4][PyQt5] - -# 截图 -![截图](ScreenShot/1.png) - -# 说明 -使用QWebkit加载html实现,采用窗口背景透明和穿透方式 \ No newline at end of file diff --git a/浏览器/QWebView/梦幻树/ScreenShot/1.png b/浏览器/QWebView/梦幻树/ScreenShot/梦幻树.png similarity index 100% rename from 浏览器/QWebView/梦幻树/ScreenShot/1.png rename to 浏览器/QWebView/梦幻树/ScreenShot/梦幻树.png diff --git a/浏览器/QWebView/梦幻树/DreamTree.py b/浏览器/QWebView/梦幻树/梦幻树.py similarity index 100% rename from 浏览器/QWebView/梦幻树/DreamTree.py rename to 浏览器/QWebView/梦幻树/梦幻树.py diff --git a/浏览器/QWebView/获取Cookie/README.md b/浏览器/QWebView/获取Cookie/README.md deleted file mode 100644 index b8b44ea..0000000 --- a/浏览器/QWebView/获取Cookie/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# QWebView获取网页Cookie - -QWebView很简单,从page()中得到QNetworkAccessManager,在从中得到QNetworkCookieJar, -最后得到cookie,当然也可以设置自己的QNetworkCookieJar - -# 截图 -![截图](ScreenShot/1.png) \ No newline at end of file diff --git a/浏览器/QWebView/获取Cookie/ScreenShot/1.png b/浏览器/QWebView/获取Cookie/ScreenShot/获取Cookie.png similarity index 100% rename from 浏览器/QWebView/获取Cookie/ScreenShot/1.png rename to 浏览器/QWebView/获取Cookie/ScreenShot/获取Cookie.png diff --git a/浏览器/README.md b/浏览器/README.md new file mode 100644 index 0000000..55d0dfe --- /dev/null +++ b/浏览器/README.md @@ -0,0 +1,21 @@ +# 浏览器 + +## [1、QWebView](QWebView) + +### 1. [梦幻树](QWebView/梦幻树) +在桌面上显示透明html效果,使用`QWebkit`加载html实现,采用窗口背景透明和穿透方式 + +![截图](QWebView/梦幻树/ScreenShot/梦幻树.png) + +### 2. [获取Cookie](QWebView/获取Cookie) +`QWebView`很简单,从`page()`中得到`QNetworkAccessManager`,在从中得到`QNetworkCookieJar`, +最后得到cookie,当然也可以设置自己的`QNetworkCookieJar` + +![截图](QWebView/获取Cookie/ScreenShot/获取Cookie.png) + +## [2、QWebEngineView](QWebEngineView) + +### 1. [获取Cookie](QWebEngineView/获取Cookie) +`QWebEngineView`的话目前是通过`QWebEngineProfile`中得到的`cookieStore`并绑定它的`cookieAdded`信号来得到Cookie + +![截图](QWebEngineView/获取Cookie/ScreenShot/获取Cookie.png) \ No newline at end of file