From 7c324a1c1ada493e7322ac83ef6b6d8837f42baa Mon Sep 17 00:00:00 2001 From: Irony <892768447@qq.com> Date: Fri, 2 Nov 2018 17:23:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E5=BD=A2=E8=A7=86=E5=9B=BE=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .settings/org.eclipse.core.resources.prefs | 5 +--- 图形视图/README.md | 23 +++++++++--------- .../{ImageView.gif => 显示图片及缩放.gif} | Bin .../ScreenShot/{1.png => 添加QWidget.png} | Bin .../{QGraphicsItem => test}/Item拖拽改变大小.py | 0 图形视图/{QGraphicsItem => test}/Item移动.py | 0 图形视图/{QGraphicsItem => test}/调整.py | 0 图形视图/世界地图/README.md | 10 ++++---- 图形视图/{ImageView.py => 显示图片及缩放.py} | 0 9 files changed, 18 insertions(+), 20 deletions(-) rename 图形视图/ScreenShot/{ImageView.gif => 显示图片及缩放.gif} (100%) rename 图形视图/ScreenShot/{1.png => 添加QWidget.png} (100%) rename 图形视图/{QGraphicsItem => test}/Item拖拽改变大小.py (100%) rename 图形视图/{QGraphicsItem => test}/Item移动.py (100%) rename 图形视图/{QGraphicsItem => test}/调整.py (100%) rename 图形视图/{ImageView.py => 显示图片及缩放.py} (100%) diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs index 81fe974..0ff7eb7 100644 --- a/.settings/org.eclipse.core.resources.prefs +++ b/.settings/org.eclipse.core.resources.prefs @@ -31,11 +31,8 @@ encoding//\u5217\u8868/QListWidget/\u81EA\u5B9A\u4E49\u53EF\u62D6\u62FDItem.py=u encoding//\u52A8\u753B/\u53F3\u952E\u83DC\u5355\u52A8\u753B.py=utf-8 encoding//\u52A8\u753B/\u6309\u94AE\u653E\u5927\u7F29\u5C0F\u52A8\u753B.py=utf-8 encoding//\u52A8\u753B/\u7A97\u53E3\u6DE1\u5165\u6DE1\u51FA.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 -encoding//\u56FE\u5F62\u89C6\u56FE/QGraphicsItem/Item\u79FB\u52A8.py=utf-8 -encoding//\u56FE\u5F62\u89C6\u56FE/QGraphicsItem/\u8C03\u6574.py=utf-8 encoding//\u56FE\u5F62\u89C6\u56FE/\u4E16\u754C\u5730\u56FE/WorldMap.py=utf-8 +encoding//\u56FE\u5F62\u89C6\u56FE/\u663E\u793A\u56FE\u7247\u53CA\u7F29\u653E.py=utf-8 encoding//\u56FE\u5F62\u89C6\u56FE/\u6DFB\u52A0QWidget.py=utf-8 encoding//\u56FE\u5F62\u89C6\u56FE/\u7B80\u5355\u56FE\u50CF\u5904\u7406/SimpleImagePs.py=utf-8 encoding//\u56FE\u5F62\u89C6\u56FE/\u7B80\u5355\u56FE\u50CF\u5904\u7406/SimpleImageThread.py=utf-8 diff --git a/图形视图/README.md b/图形视图/README.md index 28eac59..fe6f269 100644 --- a/图形视图/README.md +++ b/图形视图/README.md @@ -1,11 +1,12 @@ -# QGraphicsView练习例子 - -### [Python3.4.4 or Python3.5][PyQt5] - -### [1.世界地图](世界地图/) - -### [2.添加QWidget](添加QWidget.py) -![添加QWidget](ScreenShot/1.png) - -### [3.显示图片及缩放](ImageView.py) - 按下小键盘-为缩小, +为放大 -![显示图片及缩放](ScreenShot/ImageView.gif) \ No newline at end of file +# 图形视图QGraphicsView + +## [1、 世界地图](世界地图/) +![截图](世界地图/ScreenShot/2.png) + +## [2、 添加QWidget](添加QWidget.py) +![添加QWidget](ScreenShot/添加QWidget.png) + +## [3、 显示图片及缩放](显示图片及缩放.py) + 按下小键盘-为缩小, +为放大 + +![显示图片及缩放](ScreenShot/显示图片及缩放.gif) \ No newline at end of file diff --git a/图形视图/ScreenShot/ImageView.gif b/图形视图/ScreenShot/显示图片及缩放.gif similarity index 100% rename from 图形视图/ScreenShot/ImageView.gif rename to 图形视图/ScreenShot/显示图片及缩放.gif diff --git a/图形视图/ScreenShot/1.png b/图形视图/ScreenShot/添加QWidget.png similarity index 100% rename from 图形视图/ScreenShot/1.png rename to 图形视图/ScreenShot/添加QWidget.png diff --git a/图形视图/QGraphicsItem/Item拖拽改变大小.py b/图形视图/test/Item拖拽改变大小.py similarity index 100% rename from 图形视图/QGraphicsItem/Item拖拽改变大小.py rename to 图形视图/test/Item拖拽改变大小.py diff --git a/图形视图/QGraphicsItem/Item移动.py b/图形视图/test/Item移动.py similarity index 100% rename from 图形视图/QGraphicsItem/Item移动.py rename to 图形视图/test/Item移动.py diff --git a/图形视图/QGraphicsItem/调整.py b/图形视图/test/调整.py similarity index 100% rename from 图形视图/QGraphicsItem/调整.py rename to 图形视图/test/调整.py diff --git a/图形视图/世界地图/README.md b/图形视图/世界地图/README.md index 8caa5b8..c15ee5c 100644 --- a/图形视图/世界地图/README.md +++ b/图形视图/世界地图/README.md @@ -1,6 +1,6 @@ -# 描绘世界地图 - -# 截图 -世界地图-使用Ctrl+滑轮进行放大缩小 -![ScreenShot1](ScreenShot/1.png) +# 描绘世界地图 + +世界地图-使用Ctrl+滑轮进行放大缩小 + +![ScreenShot1](ScreenShot/1.png) ![ScreenShot2](ScreenShot/1.png) \ No newline at end of file diff --git a/图形视图/ImageView.py b/图形视图/显示图片及缩放.py similarity index 100% rename from 图形视图/ImageView.py rename to 图形视图/显示图片及缩放.py