From 77ec07e4257bbfbf4f907b4d0152a5e9c46fd1e0 Mon Sep 17 00:00:00 2001 From: Irony <892768447@qq.com> Date: Tue, 25 Dec 2018 21:55:38 +0800 Subject: [PATCH] update run --- QAxWidget/README.md | 7 ++++--- .../{显示word_excel_pdf.png => ViewOffice.png} | Bin QAxWidget/{显示word_excel_pdf.py => ViewOffice.py} | 2 +- QComboBox/README.en.md | 2 +- QComboBox/README.md | 2 +- QFlowLayout/README.md | 2 +- QGridLayout/README.md | 2 +- QListView/README.en.md | 4 ++-- QListView/README.md | 4 ++-- QListWidget/README.md | 6 +++--- 10 files changed, 16 insertions(+), 15 deletions(-) rename QAxWidget/ScreenShot/{显示word_excel_pdf.png => ViewOffice.png} (100%) rename QAxWidget/{显示word_excel_pdf.py => ViewOffice.py} (99%) diff --git a/QAxWidget/README.md b/QAxWidget/README.md index 4789e33..56835bb 100644 --- a/QAxWidget/README.md +++ b/QAxWidget/README.md @@ -1,9 +1,10 @@ -# ActiveX控件 +# QAxWidget -## [1、显示Word、Excel、PDF文件](显示word_excel_pdf.py) +## 1、显示Word、Excel、PDF文件 +[运行 ViewOffice.py](ViewOffice.py) 1. 利用 `Word.Application` 打开Word文件 1. 利用 `Excel.Application` 打开Excel文件 1. 利用 `Adobe PDF Reader` 打开PDF文件(前提先装PDF软件) -![截图](ScreenShot/显示word_excel_pdf.png) \ No newline at end of file +![ViewOffice](ScreenShot/ViewOffice.png) \ No newline at end of file diff --git a/QAxWidget/ScreenShot/显示word_excel_pdf.png b/QAxWidget/ScreenShot/ViewOffice.png similarity index 100% rename from QAxWidget/ScreenShot/显示word_excel_pdf.png rename to QAxWidget/ScreenShot/ViewOffice.png diff --git a/QAxWidget/显示word_excel_pdf.py b/QAxWidget/ViewOffice.py similarity index 99% rename from QAxWidget/显示word_excel_pdf.py rename to QAxWidget/ViewOffice.py index c3ea0ff..802cbf5 100644 --- a/QAxWidget/显示word_excel_pdf.py +++ b/QAxWidget/ViewOffice.py @@ -6,7 +6,7 @@ Created on 2017年4月6日 @author: Irony."[讽刺] @site: https://pyqt5.com, https://github.com/892768447 @email: 892768447@qq.com -@file: TableView +@file: ViewOffice @description: ''' from PyQt5.QAxContainer import QAxWidget diff --git a/QComboBox/README.en.md b/QComboBox/README.en.md index 8e04102..b3bd077 100644 --- a/QComboBox/README.en.md +++ b/QComboBox/README.en.md @@ -1,7 +1,7 @@ # QComboBox ## 1、Data Linkage -[Run](CityLinkage.py) +[Run CityLinkage.py](CityLinkage.py) Three level linkage, data file is data.json diff --git a/QComboBox/README.md b/QComboBox/README.md index be3e45f..22d75d3 100644 --- a/QComboBox/README.md +++ b/QComboBox/README.md @@ -1,7 +1,7 @@ # QComboBox ## 1、下拉数据关联 -[运行](CityLinkage.py) +[运行 CityLinkage.py](CityLinkage.py) 一个省市区关联的三级联动,数据源在data.json中 diff --git a/QFlowLayout/README.md b/QFlowLayout/README.md index 944d88b..3b6e820 100644 --- a/QFlowLayout/README.md +++ b/QFlowLayout/README.md @@ -1,7 +1,7 @@ # QListView ## 1、腾讯视频热播列表 -[运行](HotPlaylist.py) +[运行 HotPlaylist.py](HotPlaylist.py) 简单思路说明: diff --git a/QGridLayout/README.md b/QGridLayout/README.md index 58eee65..624bc1c 100644 --- a/QGridLayout/README.md +++ b/QGridLayout/README.md @@ -1,7 +1,7 @@ # QListView ## 1、腾讯视频热播列表 -[运行](HotPlaylist.py) +[运行 HotPlaylist.py](HotPlaylist.py) 简单思路说明: diff --git a/QListView/README.en.md b/QListView/README.en.md index 810c5c0..d9437ef 100644 --- a/QListView/README.en.md +++ b/QListView/README.en.md @@ -1,11 +1,11 @@ # QListView ## 1. Custom Widget Item -[Run](CustomWidgetItem.py) +[Run CustomWidgetItem.py](CustomWidgetItem.py) ![CustomWidgetItem](ScreenShot/CustomWidgetItem.png) ## 2. Custom Widget Sort Item -[Run](CustomWidgetSortItem.py) +[Run CustomWidgetSortItem.py](CustomWidgetSortItem.py) ![CustomWidgetSortItem](ScreenShot/CustomWidgetSortItem.gif) \ No newline at end of file diff --git a/QListView/README.md b/QListView/README.md index 9dee335..9b4a8ce 100644 --- a/QListView/README.md +++ b/QListView/README.md @@ -1,11 +1,11 @@ # QListView ## 1、显示自定义Widget -[运行](CustomWidgetItem.py) +[运行 CustomWidgetItem.py](CustomWidgetItem.py) ![CustomWidgetItem](ScreenShot/CustomWidgetItem.png) ## 2、显示自定义Widget并排序 -[运行](CustomWidgetSortItem.py) +[运行 CustomWidgetSortItem.py](CustomWidgetSortItem.py) ![CustomWidgetSortItem](ScreenShot/CustomWidgetSortItem.gif) \ No newline at end of file diff --git a/QListWidget/README.md b/QListWidget/README.md index 02ee0ec..0a25cfa 100644 --- a/QListWidget/README.md +++ b/QListWidget/README.md @@ -1,7 +1,7 @@ # QListView ## 1、删除自定义Item -[运行](DeleteCustomItem.py) +[运行 DeleteCustomItem.py](DeleteCustomItem.py) 1. 删除item时先要通过`QListWidget.indexFromItem(item).row()`得到它的行数 2. 通过`takeItem`函数取出该Item并删除掉,`item = self.listWidget.takeItem(row)` @@ -11,12 +11,12 @@ ![CustomWidgetItem](ScreenShot/DeleteCustomItem.gif) ## 2、自定义可拖拽Item -[运行](DragDrop.py) +[运行 DragDrop.py](DragDrop.py) ![CustomWidgetSortItem](ScreenShot/DragDrop.gif) ## 3、腾讯视频热播列表 -[运行](HotPlaylist.py) +[运行 HotPlaylist.py](HotPlaylist.py) 简单思路说明: