diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs index d581e6a..254c4e1 100644 --- a/.settings/org.eclipse.core.resources.prefs +++ b/.settings/org.eclipse.core.resources.prefs @@ -1,76 +1,12 @@ eclipse.preferences.version=1 -encoding//QAxWidget/\u663E\u793Aword_excel_pdf.py=utf-8 encoding//QListView/CustomWidgetSortItem.py=utf-8 encoding//QListView/SortItemByRole.py=utf-8 encoding//QProxyStyle/Lib/TabBarStyle.py=utf-8 encoding//QProxyStyle/TabTextDirection.py=utf-8 -encoding//QTableView/CopyContent/CopyContent.py=utf-8 -encoding//QTableView/CopyContent/__main__.py=utf-8 -encoding//QTableWidget/SqlQuery/SqlQuery.py=utf-8 -encoding//QTableWidget/SqlQuery/__main__.py=utf-8 +encoding//QSplitter/RewriteHandle.py=utf-8 encoding//QThread/moveToThread.py=utf-8 encoding//QTreeWidget/ParsingJson.py=utf-8 -encoding//\u5176\u5B83/C\u548CC++\u6269\u5C55/py\u8F6Cpyd/pydmod.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/\u4E32\u53E3\u8C03\u8BD5\u5C0F\u52A9\u624B/UiSerialPort.py=utf-8 -encoding//\u5176\u5B83/\u4E32\u53E3\u8C03\u8BD5\u5C0F\u52A9\u624B/\u4E32\u53E3\u8C03\u8BD5\u5C0F\u52A9\u624B.py=utf-8 -encoding//\u5176\u5B83/\u4EBA\u8138\u63CF\u70B9\u68C0\u6D4B/OpencvWidget.py=utf-8 -encoding//\u5176\u5B83/\u5168\u5C40\u70ED\u952E/HotKey.py=utf-8 -encoding//\u5176\u5B83/\u53F3\u4E0B\u89D2\u5F39\u51FA\u6846/WindowNotify.py=utf-8 -encoding//\u5176\u5B83/\u5B57\u4F53\u6D4B\u8BD5/FontAwesome.py=utf-8 -encoding//\u5176\u5B83/\u5B57\u4F53\u6D4B\u8BD5/TestFontAwesome.py=utf-8 -encoding//\u5176\u5B83/\u5B57\u4F53\u6D4B\u8BD5/TestFontRoboto.py=utf-8 -encoding//\u5176\u5B83/\u6D88\u606F\u63D0\u793A/BubbleTips.py=utf-8 -encoding//\u5176\u5B83/\u6D88\u606F\u63D0\u793A/Notification.py=utf-8 -encoding//\u5176\u5B83/\u7A0B\u5E8F\u91CD\u542F/AutoRestart.py=utf-8 -encoding//\u5176\u5B83/\u81EA\u52A8\u66F4\u65B0/mylibs/testlibs.py=utf-8 -encoding//\u5176\u5B83/\u81EA\u52A8\u66F4\u65B0/test.py=utf-8 -encoding//\u5176\u5B83/\u81EA\u5B9A\u4E49import/IronyImporter.py=utf-8 -encoding//\u5176\u5B83/\u81EA\u5B9A\u4E49import/build.py=utf-8 -encoding//\u5176\u5B83/\u81EA\u5B9A\u4E49import/main.py=utf-8 -encoding//\u5176\u5B83/\u81EA\u5B9A\u4E49import/src/test.py=utf-8 -encoding//\u5176\u5B83/\u81EA\u5B9A\u4E49\u5C5E\u6027\u6D4B\u8BD5/\u81EA\u5B9A\u4E49\u5C5E\u6027\u6D4B\u8BD5.py=utf-8 -encoding//\u52A8\u753B/\u53F3\u952E\u83DC\u5355\u52A8\u753B.py=utf-8 -encoding//\u52A8\u753B/\u591A\u9875\u9762\u5207\u6362\u52A8\u753B/SlidingStackedWidget.py=utf-8 -encoding//\u52A8\u753B/\u591A\u9875\u9762\u5207\u6362\u52A8\u753B/UiImageSlider.py=utf-8 -encoding//\u52A8\u753B/\u591A\u9875\u9762\u5207\u6362\u52A8\u753B/\u56FE\u7247\u8F6E\u64AD\u52A8\u753B.py=utf-8 -encoding//\u52A8\u753B/\u6309\u94AE\u653E\u5927\u7F29\u5C0F\u52A8\u753B.py=utf-8 -encoding//\u52A8\u753B/\u70B9\u9635\u7279\u6548/\u70B9\u9635\u7279\u6548.py=utf-8 -encoding//\u52A8\u753B/\u7A97\u53E3\u6DE1\u5165\u6DE1\u51FA.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 -encoding//\u56FE\u5F62\u89C6\u56FE/\u7B80\u5355\u56FE\u50CF\u5904\u7406/SimpleImageView.py=utf-8 -encoding//\u56FE\u7247/\u4EFF\u7F51\u9875\u56FE\u7247\u9519\u4F4D\u7279\u6548.py=utf-8 -encoding//\u56FE\u7247/\u56FE\u7247\u52A0\u8F7D/res_rc.py=utf-8 -encoding//\u56FE\u7247/\u56FE\u7247\u52A0\u8F7D/xpmres.py=utf-8 -encoding//\u56FE\u7247/\u56FE\u7247\u52A0\u8F7D/\u56FE\u7247\u52A0\u8F7D.py=utf-8 -encoding//\u56FE\u7247/\u56FE\u7247\u65CB\u8F6C.py=utf-8 -encoding//\u56FE\u7247/\u663E\u793A.9\u683C\u5F0F\u56FE\u7247/pyd\u7248\u672C/QtNinePatch/sip/configure.py=utf-8 -encoding//\u56FE\u7247/\u663E\u793A.9\u683C\u5F0F\u56FE\u7247/pyd\u7248\u672C/QtNinePatch/sip/testQtNinePatch.py=utf-8 -encoding//\u56FE\u7247/\u663E\u793A.9\u683C\u5F0F\u56FE\u7247/\u7EAFpython\u7248\u672C1/NinePatch.py=utf-8 -encoding//\u56FE\u7247/\u663E\u793A.9\u683C\u5F0F\u56FE\u7247/\u7EAFpython\u7248\u672C1/testNinePatch.py=utf-8 -encoding//\u56FE\u7247/\u663E\u793A.9\u683C\u5F0F\u56FE\u7247/\u7EAFpython\u7248\u672C2/QtNinePatch.py=utf-8 -encoding//\u56FE\u7247/\u663E\u793A.9\u683C\u5F0F\u56FE\u7247/\u7EAFpython\u7248\u672C2/testQtNinePatch.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/\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//\u6D4F\u89C8\u5668/QWebView/\u68A6\u5E7B\u6811/\u68A6\u5E7B\u6811.py=utf-8 -encoding//\u6ED1\u52A8\u6761/\u6ED1\u52A8\u6761\u70B9\u51FB\u5B9A\u4F4D.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 -encoding//\u7A97\u53E3/\u65E0\u8FB9\u6846\u81EA\u5B9A\u4E49\u6807\u9898\u680F\u7A97\u53E3/\u65E0\u8FB9\u6846\u81EA\u5B9A\u4E49\u6807\u9898\u680F\u7A97\u53E3.py=utf-8 -encoding//\u7A97\u53E3/\u6D88\u606F\u5BF9\u8BDD\u6846\u5012\u8BA1\u65F6\u5173\u95ED.py=utf-8 -encoding//\u7A97\u53E3/\u7A97\u53E3\u91CD\u542F.py=utf-8 -encoding//\u7F8E\u5316/Effect/AnimationShadowEffect.py=utf-8 -encoding//\u7F8E\u5316/Effect/\u56FE\u7247\u6309\u94AE\u8F93\u5165\u6846\u9634\u5F71.py=utf-8 -encoding//\u7F8E\u5316/QLabel/\u5706\u5F62\u56FE\u7247.py=utf-8 +encoding//QWebView/DreamTree.py=utf-8 encoding//\u7F8E\u5316/QProgressBar/Metro\u8FDB\u5EA6\u6761.py=utf-8 encoding//\u7F8E\u5316/QProgressBar/\u6C34\u6CE2\u7EB9\u8FDB\u5EA6\u6761/ProgressBar.py=utf-8 encoding//\u7F8E\u5316/QProgressBar/\u6C34\u6CE2\u7EB9\u8FDB\u5EA6\u6761/\u6C34\u6CE2\u7EB9\u8FDB\u5EA6\u6761.py=utf-8 @@ -78,7 +14,3 @@ encoding//\u7F8E\u5316/QSlider/PaintQSlider.py=utf-8 encoding//\u7F8E\u5316/QWidget/CustomPaintWidget.py=utf-8 encoding//\u7F8E\u5316/QWidget/CustomWidget.py=utf-8 encoding//\u7F8E\u5316/QWidget/QWidget\u6837\u5F0F\u6D4B\u8BD5.py=utf-8 -encoding//\u83DC\u5355/\u83DC\u5355\u591A\u9009\u4E0D\u5173\u95ED.py=utf-8 -encoding//\u8868\u683C/QTableView/\u8868\u683C\u5185\u5BB9\u590D\u5236.py=utf-8 -encoding//\u8868\u683C/QTableWidget/\u6570\u636E\u5E93\u67E5\u8BE2\u663E\u793A\u8868\u683C/main.py=utf-8 -encoding//\u8868\u683C/QTableWidget/\u6570\u636E\u5E93\u67E5\u8BE2\u663E\u793A\u8868\u683C/mainui.py=utf-8 diff --git a/其它/C和C++扩展/pydext/.vs/pydext/v15/.suo b/Demo/C和C++扩展/pydext/.vs/pydext/v15/.suo similarity index 100% rename from 其它/C和C++扩展/pydext/.vs/pydext/v15/.suo rename to Demo/C和C++扩展/pydext/.vs/pydext/v15/.suo diff --git a/其它/C和C++扩展/pydext/.vs/pydext/v15/Browse.VC.db b/Demo/C和C++扩展/pydext/.vs/pydext/v15/Browse.VC.db similarity index 100% rename from 其它/C和C++扩展/pydext/.vs/pydext/v15/Browse.VC.db rename to Demo/C和C++扩展/pydext/.vs/pydext/v15/Browse.VC.db diff --git a/其它/C和C++扩展/pydext/.vs/pydext/v15/ipch/AutoPCH/7828e06aa30c0d3c/PYDEXT.ipch b/Demo/C和C++扩展/pydext/.vs/pydext/v15/ipch/AutoPCH/7828e06aa30c0d3c/PYDEXT.ipch similarity index 100% rename from 其它/C和C++扩展/pydext/.vs/pydext/v15/ipch/AutoPCH/7828e06aa30c0d3c/PYDEXT.ipch rename to Demo/C和C++扩展/pydext/.vs/pydext/v15/ipch/AutoPCH/7828e06aa30c0d3c/PYDEXT.ipch diff --git a/其它/C和C++扩展/pydext/.vs/pydext/v15/ipch/AutoPCH/d5916c660b4c4bac/PYDEXT.ipch b/Demo/C和C++扩展/pydext/.vs/pydext/v15/ipch/AutoPCH/d5916c660b4c4bac/PYDEXT.ipch similarity index 100% rename from 其它/C和C++扩展/pydext/.vs/pydext/v15/ipch/AutoPCH/d5916c660b4c4bac/PYDEXT.ipch rename to Demo/C和C++扩展/pydext/.vs/pydext/v15/ipch/AutoPCH/d5916c660b4c4bac/PYDEXT.ipch diff --git a/其它/C和C++扩展/pydext/Release/pydext.exp b/Demo/C和C++扩展/pydext/Release/pydext.exp similarity index 100% rename from 其它/C和C++扩展/pydext/Release/pydext.exp rename to Demo/C和C++扩展/pydext/Release/pydext.exp diff --git a/其它/C和C++扩展/pydext/Release/pydext.iobj b/Demo/C和C++扩展/pydext/Release/pydext.iobj similarity index 100% rename from 其它/C和C++扩展/pydext/Release/pydext.iobj rename to Demo/C和C++扩展/pydext/Release/pydext.iobj diff --git a/其它/C和C++扩展/pydext/Release/pydext.ipdb b/Demo/C和C++扩展/pydext/Release/pydext.ipdb similarity index 100% rename from 其它/C和C++扩展/pydext/Release/pydext.ipdb rename to Demo/C和C++扩展/pydext/Release/pydext.ipdb diff --git a/其它/C和C++扩展/pydext/Release/pydext.lib b/Demo/C和C++扩展/pydext/Release/pydext.lib similarity index 100% rename from 其它/C和C++扩展/pydext/Release/pydext.lib rename to Demo/C和C++扩展/pydext/Release/pydext.lib diff --git a/其它/C和C++扩展/pydext/Release/pydext.pdb b/Demo/C和C++扩展/pydext/Release/pydext.pdb similarity index 100% rename from 其它/C和C++扩展/pydext/Release/pydext.pdb rename to Demo/C和C++扩展/pydext/Release/pydext.pdb diff --git a/其它/C和C++扩展/pydext/Release/pydext.pyd b/Demo/C和C++扩展/pydext/Release/pydext.pyd similarity index 100% rename from 其它/C和C++扩展/pydext/Release/pydext.pyd rename to Demo/C和C++扩展/pydext/Release/pydext.pyd diff --git a/其它/C和C++扩展/pydext/pydext.sln b/Demo/C和C++扩展/pydext/pydext.sln similarity index 100% rename from 其它/C和C++扩展/pydext/pydext.sln rename to Demo/C和C++扩展/pydext/pydext.sln diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.obj b/Demo/C和C++扩展/pydext/pydext/Release/pydext.obj similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/Release/pydext.obj rename to Demo/C和C++扩展/pydext/pydext/Release/pydext.obj diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.command.1.tlog b/Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.command.1.tlog similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.command.1.tlog rename to Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.command.1.tlog diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.read.1.tlog b/Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.read.1.tlog similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.read.1.tlog rename to Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.read.1.tlog diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.write.1.tlog b/Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.write.1.tlog similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.write.1.tlog rename to Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/CL.write.1.tlog diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.command.1.tlog b/Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.command.1.tlog similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.command.1.tlog rename to Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.command.1.tlog diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.read.1.tlog b/Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.read.1.tlog similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.read.1.tlog rename to Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.read.1.tlog diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.write.1.tlog b/Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.write.1.tlog similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.write.1.tlog rename to Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/link.write.1.tlog diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/pydext.lastbuildstate b/Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/pydext.lastbuildstate similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/pydext.lastbuildstate rename to Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/pydext.lastbuildstate diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/pydext.write.1u.tlog b/Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/pydext.write.1u.tlog similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/Release/pydext.tlog/pydext.write.1u.tlog rename to Demo/C和C++扩展/pydext/pydext/Release/pydext.tlog/pydext.write.1u.tlog diff --git a/其它/C和C++扩展/pydext/pydext/Release/vc141.pdb b/Demo/C和C++扩展/pydext/pydext/Release/vc141.pdb similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/Release/vc141.pdb rename to Demo/C和C++扩展/pydext/pydext/Release/vc141.pdb diff --git a/其它/C和C++扩展/pydext/pydext/build.bat b/Demo/C和C++扩展/pydext/pydext/build.bat similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/build.bat rename to Demo/C和C++扩展/pydext/pydext/build.bat diff --git a/其它/C和C++扩展/pydext/pydext/pydext.c b/Demo/C和C++扩展/pydext/pydext/pydext.c similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/pydext.c rename to Demo/C和C++扩展/pydext/pydext/pydext.c diff --git a/其它/C和C++扩展/pydext/pydext/pydext.vcxproj b/Demo/C和C++扩展/pydext/pydext/pydext.vcxproj similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/pydext.vcxproj rename to Demo/C和C++扩展/pydext/pydext/pydext.vcxproj diff --git a/其它/C和C++扩展/pydext/pydext/pydext.vcxproj.filters b/Demo/C和C++扩展/pydext/pydext/pydext.vcxproj.filters similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/pydext.vcxproj.filters rename to Demo/C和C++扩展/pydext/pydext/pydext.vcxproj.filters diff --git a/其它/C和C++扩展/pydext/pydext/pydext.vcxproj.user b/Demo/C和C++扩展/pydext/pydext/pydext.vcxproj.user similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/pydext.vcxproj.user rename to Demo/C和C++扩展/pydext/pydext/pydext.vcxproj.user diff --git a/其它/C和C++扩展/pydext/pydext/setup.py b/Demo/C和C++扩展/pydext/pydext/setup.py similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/setup.py rename to Demo/C和C++扩展/pydext/pydext/setup.py diff --git a/其它/C和C++扩展/pydext/pydext/test.py b/Demo/C和C++扩展/pydext/pydext/test.py similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/test.py rename to Demo/C和C++扩展/pydext/pydext/test.py diff --git a/其它/C和C++扩展/pydext/pydext/说明.txt b/Demo/C和C++扩展/pydext/pydext/说明.txt similarity index 100% rename from 其它/C和C++扩展/pydext/pydext/说明.txt rename to Demo/C和C++扩展/pydext/pydext/说明.txt diff --git a/其它/C和C++扩展/pydext/test.py b/Demo/C和C++扩展/pydext/test.py similarity index 100% rename from 其它/C和C++扩展/pydext/test.py rename to Demo/C和C++扩展/pydext/test.py diff --git a/其它/C和C++扩展/pydext/说明.txt b/Demo/C和C++扩展/pydext/说明.txt similarity index 100% rename from 其它/C和C++扩展/pydext/说明.txt rename to Demo/C和C++扩展/pydext/说明.txt diff --git a/其它/C和C++扩展/pyx和c++/CalSpecSpea.cpp b/Demo/C和C++扩展/pyx和c++/CalSpecSpea.cpp similarity index 100% rename from 其它/C和C++扩展/pyx和c++/CalSpecSpea.cpp rename to Demo/C和C++扩展/pyx和c++/CalSpecSpea.cpp diff --git a/其它/C和C++扩展/pyx和c++/CalSpecSpea.pyx b/Demo/C和C++扩展/pyx和c++/CalSpecSpea.pyx similarity index 98% rename from 其它/C和C++扩展/pyx和c++/CalSpecSpea.pyx rename to Demo/C和C++扩展/pyx和c++/CalSpecSpea.pyx index 3650345..669ea11 100644 --- a/其它/C和C++扩展/pyx和c++/CalSpecSpea.pyx +++ b/Demo/C和C++扩展/pyx和c++/CalSpecSpea.pyx @@ -1,27 +1,27 @@ -#%%cython -import numpy as np -cimport numpy as np -np.import_array() - -# 参考http://cython.readthedocs.io/en/latest/src/userguide/wrapping_CPlusPlus.html?highlight=cdef%20extern%20from -# 参考https://www.zhihu.com/question/23003213 - -cdef extern from "CalSpecSpeaLib.h": - void cal_spec_accel(double acc[], int len, double dt, double maxPeriod, double periodStep, double dampRatio, double *Period, double *Fre, double *MAcc, double *MVel, double *MDis, int numt) - -def calspecaccel(np.ndarray[double, ndim=1, mode="c"] acc, int length, double dt, double maxPeriod, double periodStep, double dampRatio): - cdef int numt = int(maxPeriod / periodStep) + 1 - # 初始化各存储数据 - cdef np.ndarray[double, ndim=1] Fre = np.zeros(numt, float) - cdef np.ndarray[double, ndim=1] MDis = np.zeros(numt, float) - cdef np.ndarray[double, ndim=1] MVel = np.zeros(numt, float) - cdef np.ndarray[double, ndim=1] MAcc = np.zeros(numt, float) - #产生501个 - cdef np.ndarray[double, ndim=1] Period = np.arange(0.0, maxPeriod + periodStep, periodStep) # 10.0 + 0.02, 0.02 - Period[0] = 0.001 - # 调用CalSpecSpeaLib.cpp定义的函数对数组进行处理 - cal_spec_accel( np.PyArray_DATA(acc), length, dt, maxPeriod, periodStep, dampRatio, - np.PyArray_DATA(Period), np.PyArray_DATA(Fre), - np.PyArray_DATA(MAcc), np.PyArray_DATA(MVel), - np.PyArray_DATA(MDis), numt) +#%%cython +import numpy as np +cimport numpy as np +np.import_array() + +# 参考http://cython.readthedocs.io/en/latest/src/userguide/wrapping_CPlusPlus.html?highlight=cdef%20extern%20from +# 参考https://www.zhihu.com/question/23003213 + +cdef extern from "CalSpecSpeaLib.h": + void cal_spec_accel(double acc[], int len, double dt, double maxPeriod, double periodStep, double dampRatio, double *Period, double *Fre, double *MAcc, double *MVel, double *MDis, int numt) + +def calspecaccel(np.ndarray[double, ndim=1, mode="c"] acc, int length, double dt, double maxPeriod, double periodStep, double dampRatio): + cdef int numt = int(maxPeriod / periodStep) + 1 + # 初始化各存储数据 + cdef np.ndarray[double, ndim=1] Fre = np.zeros(numt, float) + cdef np.ndarray[double, ndim=1] MDis = np.zeros(numt, float) + cdef np.ndarray[double, ndim=1] MVel = np.zeros(numt, float) + cdef np.ndarray[double, ndim=1] MAcc = np.zeros(numt, float) + #产生501个 + cdef np.ndarray[double, ndim=1] Period = np.arange(0.0, maxPeriod + periodStep, periodStep) # 10.0 + 0.02, 0.02 + Period[0] = 0.001 + # 调用CalSpecSpeaLib.cpp定义的函数对数组进行处理 + cal_spec_accel( np.PyArray_DATA(acc), length, dt, maxPeriod, periodStep, dampRatio, + np.PyArray_DATA(Period), np.PyArray_DATA(Fre), + np.PyArray_DATA(MAcc), np.PyArray_DATA(MVel), + np.PyArray_DATA(MDis), numt) return Period, Fre, MAcc, MVel, MDis \ No newline at end of file diff --git a/其它/C和C++扩展/pyx和c++/CalSpecSpeaLib.cpp b/Demo/C和C++扩展/pyx和c++/CalSpecSpeaLib.cpp similarity index 96% rename from 其它/C和C++扩展/pyx和c++/CalSpecSpeaLib.cpp rename to Demo/C和C++扩展/pyx和c++/CalSpecSpeaLib.cpp index b6d0448..554c1d1 100644 --- a/其它/C和C++扩展/pyx和c++/CalSpecSpeaLib.cpp +++ b/Demo/C和C++扩展/pyx和c++/CalSpecSpeaLib.cpp @@ -1,63 +1,63 @@ -#include "CalSpecSpeaLib.h" - -#include -#include -#include -using namespace std; - - -double maxabs(double num[], int len) -{ - //略 - return abs(num[0]); - -} -bool isALLvaluezero(double num[], int len) -{ - //略 - return false; - -} -void cal_spec_accel(double acc[], int len, double dt, double maxPeriod, double periodStep, double dampRatio, double *Period, double *Fre, double *MAcc, double *MVel, double *MDis, int numt) -{ - //略 - Period[0] = 99.95; - Fre[0] = 99.96; - MAcc[0] = 99.97; - MVel[0] = 99.98; - MDis[0] = 99.99; -} - -int main() -{ - double acc[20] = { 0.0038,0.0049,0.0061,0.0075,0.0088,0.01,0.0112,0.0123,0.0133,0.0140,0.0146,0.0152,0.0157,0.0162,0.0167,0.0172,0.0175,0.0178,0.0179,0.0179 }; - int len = 20; - double dt = 0.005; - double maxPeriod = 10.0; - double periodStep = 0.02; - double dampRatio = 0.05; - int numt = int(maxPeriod / periodStep) + 1; - double *Fre = new double[numt]; - double *MDis = new double[numt]; - double *MVel = new double[numt]; - double *MAcc = new double[numt]; - double *Period = new double[numt]; - for (int i = 0; i +#include +#include +using namespace std; + + +double maxabs(double num[], int len) +{ + //略 + return abs(num[0]); + +} +bool isALLvaluezero(double num[], int len) +{ + //略 + return false; + +} +void cal_spec_accel(double acc[], int len, double dt, double maxPeriod, double periodStep, double dampRatio, double *Period, double *Fre, double *MAcc, double *MVel, double *MDis, int numt) +{ + //略 + Period[0] = 99.95; + Fre[0] = 99.96; + MAcc[0] = 99.97; + MVel[0] = 99.98; + MDis[0] = 99.99; +} + +int main() +{ + double acc[20] = { 0.0038,0.0049,0.0061,0.0075,0.0088,0.01,0.0112,0.0123,0.0133,0.0140,0.0146,0.0152,0.0157,0.0162,0.0167,0.0172,0.0175,0.0178,0.0179,0.0179 }; + int len = 20; + double dt = 0.005; + double maxPeriod = 10.0; + double periodStep = 0.02; + double dampRatio = 0.05; + int numt = int(maxPeriod / periodStep) + 1; + double *Fre = new double[numt]; + double *MDis = new double[numt]; + double *MVel = new double[numt]; + double *MAcc = new double[numt]; + double *Period = new double[numt]; + for (int i = 0; i - - - - BOOST - LBP - 24 - 24 - - GAB - 0.9950000047683716 - 0.5000000000000000 - 0.9500000000000000 - 1 - 100 - - 256 - 20 - - - <_> - 3 - -0.7520892024040222 - - - <_> - - 0 -1 46 -67130709 -21569 -1426120013 -1275125205 -21585 - -16385 587145899 -24005 - - -0.6543210148811340 0.8888888955116272 - - <_> - - 0 -1 13 -163512766 -769593758 -10027009 -262145 -514457854 - -193593353 -524289 -1 - - -0.7739216089248657 0.7278633713722229 - - <_> - - 0 -1 2 -363936790 -893203669 -1337948010 -136907894 - 1088782736 -134217726 -741544961 -1590337 - - -0.7068563103675842 0.6761534214019775 - - <_> - 4 - -0.4872078299522400 - - - <_> - - 0 -1 84 2147483647 1946124287 -536870913 2147450879 - 738132490 1061101567 243204619 2147446655 - - -0.8083735704421997 0.7685696482658386 - - <_> - - 0 -1 21 2147483647 263176079 1879048191 254749487 1879048191 - -134252545 -268435457 801111999 - - -0.7698410153388977 0.6592915654182434 - - <_> - - 0 -1 106 -98110272 1610939566 -285484400 -850010381 - -189334372 -1671954433 -571026695 -262145 - - -0.7506558895111084 0.5444605946540833 - - <_> - - 0 -1 48 -798690576 -131075 1095771153 -237144073 -65569 -1 - -216727745 -69206049 - - -0.7775990366935730 0.5465461611747742 - - <_> - 4 - -1.1592328548431396 - - - <_> - - 0 -1 47 -21585 -20549 -100818262 -738254174 -20561 -36865 - -151016790 -134238549 - - -0.5601882934570313 0.7743113040924072 - - <_> - - 0 -1 12 -286003217 183435247 -268994614 -421330945 - -402686081 1090387966 -286785545 -402653185 - - -0.6124526262283325 0.6978127956390381 - - <_> - - 0 -1 26 -50347012 970882927 -50463492 -1253377 -134218251 - -50364513 -33619992 -172490753 - - -0.6114496588706970 0.6537628173828125 - - <_> - - 0 -1 8 -273 -135266321 1877977738 -2088243418 -134217987 - 2146926575 -18910642 1095231247 - - -0.6854077577590942 0.5403239130973816 - - <_> - 5 - -0.7562355995178223 - - - <_> - - 0 -1 96 -1273 1870659519 -20971602 -67633153 -134250731 - 2004875127 -250 -150995969 - - -0.4051094949245453 0.7584033608436585 - - <_> - - 0 -1 33 -868162224 -76810262 -4262145 -257 1465211989 - -268959873 -2656269 -524289 - - -0.7388162612915039 0.5340843200683594 - - <_> - - 0 -1 57 -12817 -49 -541103378 -152950 -38993 -20481 -1153876 - -72478976 - - -0.6582943797111511 0.5339496731758118 - - <_> - - 0 -1 125 -269484161 -452984961 -319816180 -1594032130 -2111 - -990117891 -488975296 -520947741 - - -0.5981323719024658 0.5323504805564880 - - <_> - - 0 -1 53 557787431 670265215 -1342193665 -1075892225 - 1998528318 1056964607 -33570977 -1 - - -0.6498787999153137 0.4913350641727448 - - <_> - 5 - -0.8085358142852783 - - - <_> - - 0 -1 60 -536873708 880195381 -16842788 -20971521 -176687276 - -168427659 -16777260 -33554626 - - -0.5278195738792419 0.6946372389793396 - - <_> - - 0 -1 7 -1 -62981529 -1090591130 805330978 -8388827 -41945787 - -39577 -531118985 - - -0.5206505060195923 0.6329920291900635 - - <_> - - 0 -1 98 -725287348 1347747543 -852489 -16809993 1489881036 - -167903241 -1 -1 - - -0.7516061067581177 0.4232024252414703 - - <_> - - 0 -1 44 -32777 1006582562 -65 935312171 -8388609 -1078198273 - -1 733886267 - - -0.7639313936233521 0.4123568832874298 - - <_> - - 0 -1 24 -85474705 2138828511 -1036436754 817625855 - 1123369029 -58796809 -1013468481 -194513409 - - -0.5123769044876099 0.5791834592819214 - - <_> - 5 - -0.5549971461296082 - - - <_> - - 0 -1 42 -17409 -20481 -268457797 -134239493 -17473 -1 -21829 - -21846 - - -0.3763174116611481 0.7298233509063721 - - <_> - - 0 -1 6 -805310737 -2098262358 -269504725 682502698 - 2147483519 1740574719 -1090519233 -268472385 - - -0.5352765917778015 0.5659480094909668 - - <_> - - 0 -1 61 -67109678 -6145 -8 -87884584 -20481 -1073762305 - -50856216 -16849696 - - -0.5678374171257019 0.4961479902267456 - - <_> - - 0 -1 123 -138428633 1002418167 -1359008245 -1908670465 - -1346685918 910098423 -1359010520 -1346371657 - - -0.5706262588500977 0.4572288393974304 - - <_> - - 0 -1 9 -89138513 -4196353 1256531674 -1330665426 1216308261 - -36190633 33498198 -151796633 - - -0.5344601869583130 0.4672054052352905 - - <_> - 5 - -0.8776460289955139 - - - <_> - - 0 -1 105 1073769576 206601725 -34013449 -33554433 -789514004 - -101384321 -690225153 -264193 - - -0.7700348496437073 0.5943940877914429 - - <_> - - 0 -1 30 -1432340997 -823623681 -49153 -34291724 -269484035 - -1342767105 -1078198273 -1277955 - - -0.5043668746948242 0.6151274442672730 - - <_> - - 0 -1 35 -1067385040 -195758209 -436748425 -134217731 - -50855988 -129 -1 -1 - - -0.6808040738105774 0.4667325913906097 - - <_> - - 0 -1 119 832534325 -34111555 -26050561 -423659521 -268468364 - 2105014143 -2114244 -17367185 - - -0.4927591383457184 0.5401885509490967 - - <_> - - 0 -1 82 -1089439888 -1080524865 2143059967 -1114121 - -1140949004 -3 -2361356 -739516 - - -0.6445107460021973 0.4227822124958038 - - <_> - 6 - -1.1139287948608398 - - - <_> - - 0 -1 52 -1074071553 -1074003969 -1 -1280135430 -5324817 -1 - -335548482 582134442 - - -0.5307556986808777 0.6258179545402527 - - <_> - - 0 -1 99 -706937396 -705364068 -540016724 -570495027 - -570630659 -587857963 -33628164 -35848193 - - -0.5227634310722351 0.5049746036529541 - - <_> - - 0 -1 18 -2035630093 42119158 -268503053 -1671444 261017599 - 1325432815 1954394111 -805306449 - - -0.4983572661876679 0.5106441378593445 - - <_> - - 0 -1 111 -282529488 -1558073088 1426018736 -170526448 - -546832487 -5113037 -34243375 -570427929 - - -0.4990860521793366 0.5060507059097290 - - <_> - - 0 -1 92 1016332500 -606301707 915094269 -1080086049 - -1837027144 -1361600280 2147318747 1067975613 - - -0.5695009231567383 0.4460467398166657 - - <_> - - 0 -1 51 -656420166 -15413034 -141599534 -603435836 - 1505950458 -787556946 -79823438 -1326199134 - - -0.6590405106544495 0.3616424500942230 - - <_> - 7 - -0.8243625760078430 - - - <_> - - 0 -1 28 -901591776 -201916417 -262 -67371009 -143312112 - -524289 -41943178 -1 - - -0.4972776770591736 0.6027074456214905 - - <_> - - 0 -1 112 -4507851 -411340929 -268437513 -67502145 -17350859 - -32901 -71344315 -29377 - - -0.4383158981800079 0.5966237187385559 - - <_> - - 0 -1 69 -75894785 -117379438 -239063587 -12538500 1485072126 - 2076233213 2123118847 801906927 - - -0.6386105418205261 0.3977999985218048 - - <_> - - 0 -1 19 -823480413 786628589 -16876049 -1364262914 242165211 - 1315930109 -696268833 -455082829 - - -0.5512794256210327 0.4282079637050629 - - <_> - - 0 -1 73 -521411968 6746762 -1396236286 -2038436114 - -185612509 57669627 -143132877 -1041235973 - - -0.6418755054473877 0.3549866080284119 - - <_> - - 0 -1 126 -478153869 1076028979 -1645895615 1365298272 - -557859073 -339771473 1442574528 -1058802061 - - -0.4841901361942291 0.4668019413948059 - - <_> - - 0 -1 45 -246350404 -1650402048 -1610612745 -788400696 - 1467604861 -2787397 1476263935 -4481349 - - -0.5855734348297119 0.3879135847091675 - - <_> - 7 - -1.2237116098403931 - - - <_> - - 0 -1 114 -24819 1572863935 -16809993 -67108865 2146778388 - 1433927541 -268608444 -34865205 - - -0.2518476545810700 0.7088654041290283 - - <_> - - 0 -1 97 -1841359 -134271049 -32769 -5767369 -1116675 -2185 - -8231 -33603327 - - -0.4303432404994965 0.5283288359642029 - - <_> - - 0 -1 25 -1359507589 -1360593090 -1073778729 -269553812 - -809512977 1744707583 -41959433 -134758978 - - -0.4259553551673889 0.5440809130668640 - - <_> - - 0 -1 34 729753407 -134270989 -1140907329 -235200777 - 658456383 2147467263 -1140900929 -16385 - - -0.5605589151382446 0.4220733344554901 - - <_> - - 0 -1 134 -310380553 -420675595 -193005472 -353568129 - 1205338070 -990380036 887604324 -420544526 - - -0.5192656517028809 0.4399855434894562 - - <_> - - 0 -1 16 -1427119361 1978920959 -287119734 -487068946 - 114759245 -540578051 -707510259 -671660453 - - -0.5013077259063721 0.4570254683494568 - - <_> - - 0 -1 74 -738463762 -889949281 -328301948 -121832450 - -1142658284 -1863576559 2146417353 -263185 - - -0.4631414115428925 0.4790246188640595 - - <_> - 7 - -0.5544230937957764 - - - <_> - - 0 -1 113 -76228780 -65538 -1 -67174401 -148007 -33 -221796 - -272842924 - - -0.3949716091156006 0.6082032322883606 - - <_> - - 0 -1 110 369147696 -1625232112 2138570036 -1189900 790708019 - -1212613127 799948719 -4456483 - - -0.4855885505676270 0.4785369932651520 - - <_> - - 0 -1 37 784215839 -290015241 536832799 -402984963 - -1342414991 -838864897 -176769 -268456129 - - -0.4620285332202911 0.4989669024944305 - - <_> - - 0 -1 41 -486418688 -171915327 -340294900 -21938 -519766032 - -772751172 -73096060 -585322623 - - -0.6420643329620361 0.3624351918697357 - - <_> - - 0 -1 117 -33554953 -475332625 -1423463824 -2077230421 - -4849669 -2080505925 -219032928 -1071915349 - - -0.4820112884044647 0.4632140696048737 - - <_> - - 0 -1 65 -834130468 -134217476 -1349314083 -1073803559 - -619913764 -1449131844 -1386890321 -1979118423 - - -0.4465552568435669 0.5061788558959961 - - <_> - - 0 -1 56 -285249779 1912569855 -16530 -1731022870 -1161904146 - -1342177297 -268439634 -1464078708 - - -0.5190586447715759 0.4441480338573456 - - <_> - 7 - -0.7161560654640198 - - - <_> - - 0 -1 20 1246232575 1078001186 -10027057 60102 -277348353 - -43646987 -1210581153 1195769615 - - -0.4323809444904327 0.5663768053054810 - - <_> - - 0 -1 15 -778583572 -612921106 -578775890 -4036478 - -1946580497 -1164766570 -1986687009 -12103599 - - -0.4588732719421387 0.4547033011913300 - - <_> - - 0 -1 129 -1073759445 2013231743 -1363169553 -1082459201 - -1414286549 868185983 -1356133589 -1077936257 - - -0.5218553543090820 0.4111092388629913 - - <_> - - 0 -1 102 -84148365 -2093417722 -1204850272 564290299 - -67121221 -1342177350 -1309195902 -776734797 - - -0.4920000731945038 0.4326725304126740 - - <_> - - 0 -1 88 -25694458 67104495 -290216278 -168563037 2083877442 - 1702788383 -144191964 -234882162 - - -0.4494568109512329 0.4448510706424713 - - <_> - - 0 -1 59 -857980836 904682741 -1612267521 232279415 - 1550862252 -574825221 -357380888 -4579409 - - -0.5180826783180237 0.3888972699642181 - - <_> - - 0 -1 27 -98549440 -137838400 494928389 -246013630 939541351 - -1196072350 -620603549 2137216273 - - -0.6081240773200989 0.3333222270011902 - - <_> - 8 - -0.6743940711021423 - - - <_> - - 0 -1 29 -150995201 2071191945 -1302151626 536934335 - -1059008937 914128709 1147328110 -268369925 - - -0.1790193915367127 0.6605972051620483 - - <_> - - 0 -1 128 -134509479 1610575703 -1342177289 1861484541 - -1107833788 1577058173 -333558568 -136319041 - - -0.3681024610996246 0.5139749646186829 - - <_> - - 0 -1 70 -1 1060154476 -1090984524 -630918524 -539492875 - 779616255 -839568424 -321 - - -0.3217232525348663 0.6171553134918213 - - <_> - - 0 -1 4 -269562385 -285029906 -791084350 -17923776 235286671 - 1275504943 1344390399 -966276889 - - -0.4373284578323364 0.4358185231685638 - - <_> - - 0 -1 76 17825984 -747628419 595427229 1474759671 575672208 - -1684005538 872217086 -1155858277 - - -0.4404836893081665 0.4601220190525055 - - <_> - - 0 -1 124 -336593039 1873735591 -822231622 -355795238 - -470820869 -1997537409 -1057132384 -1015285005 - - -0.4294152259826660 0.4452161788940430 - - <_> - - 0 -1 54 -834212130 -593694721 -322142257 -364892500 - -951029539 -302125121 -1615106053 -79249765 - - -0.3973052501678467 0.4854526817798615 - - <_> - - 0 -1 95 1342144479 2147431935 -33554561 -47873 -855685912 -1 - 1988052447 536827383 - - -0.7054683566093445 0.2697997391223908 - - <_> - 9 - -1.2042298316955566 - - - <_> - - 0 -1 39 1431368960 -183437936 -537002499 -137497097 - 1560590321 -84611081 -2097193 -513 - - -0.5905947685241699 0.5101932883262634 - - <_> - - 0 -1 120 -1645259691 2105491231 2130706431 1458995007 - -8567536 -42483883 -33780003 -21004417 - - -0.4449204802513123 0.4490709304809570 - - <_> - - 0 -1 89 -612381022 -505806938 -362027516 -452985106 - 275854917 1920431639 -12600561 -134221825 - - -0.4693818688392639 0.4061094820499420 - - <_> - - 0 -1 14 -805573153 -161 -554172679 -530519488 -16779441 - 2000682871 -33604275 -150997129 - - -0.3600351214408875 0.5056326985359192 - - <_> - - 0 -1 67 6192 435166195 1467449341 2046691505 -1608493775 - -4755729 -1083162625 -71365637 - - -0.4459891915321350 0.4132415652275085 - - <_> - - 0 -1 86 -41689215 -3281034 1853357967 -420712635 -415924289 - -270209208 -1088293113 -825311232 - - -0.4466069042682648 0.4135067760944367 - - <_> - - 0 -1 80 -117391116 -42203396 2080374461 -188709 -542008165 - -356831940 -1091125345 -1073796897 - - -0.3394956290721893 0.5658645033836365 - - <_> - - 0 -1 75 -276830049 1378714472 -1342181951 757272098 - 1073740607 -282199241 -415761549 170896931 - - -0.5346512198448181 0.3584479391574860 - - <_> - - 0 -1 55 -796075825 -123166849 2113667055 -217530421 - -1107432194 -16385 -806359809 -391188771 - - -0.4379335641860962 0.4123645126819611 - - <_> - 10 - -0.8402050137519836 - - - <_> - - 0 -1 71 -890246622 15525883 -487690486 47116238 -1212319899 - -1291847681 -68159890 -469829921 - - -0.2670986354351044 0.6014143228530884 - - <_> - - 0 -1 31 -1361180685 -1898008841 -1090588811 -285410071 - -1074016265 -840443905 2147221487 -262145 - - -0.4149844348430634 0.4670888185501099 - - <_> - - 0 -1 40 1426190596 1899364271 2142731795 -142607505 - -508232452 -21563393 -41960001 -65 - - -0.4985891580581665 0.3719584941864014 - - <_> - - 0 -1 109 -201337965 10543906 -236498096 -746195597 - 1974565825 -15204415 921907633 -190058309 - - -0.4568729996681213 0.3965812027454376 - - <_> - - 0 -1 130 -595026732 -656401928 -268649235 -571490699 - -440600392 -133131 -358810952 -2004088646 - - -0.4770836830139160 0.3862601518630981 - - <_> - - 0 -1 66 941674740 -1107882114 1332789109 -67691015 - -1360463693 -1556612430 -609108546 733546933 - - -0.4877715110778809 0.3778986334800720 - - <_> - - 0 -1 49 -17114945 -240061474 1552871558 -82775604 -932393844 - -1308544889 -532635478 -99042357 - - -0.3721654713153839 0.4994400143623352 - - <_> - - 0 -1 133 -655906006 1405502603 -939205164 1884929228 - -498859222 559417357 -1928559445 -286264385 - - -0.3934195041656494 0.4769641458988190 - - <_> - - 0 -1 0 -335837777 1860677295 -90 -1946186226 931096183 - 251612987 2013265917 -671232197 - - -0.4323300719261169 0.4342164099216461 - - <_> - - 0 -1 103 37769424 -137772680 374692301 2002666345 -536176194 - -1644484728 807009019 1069089930 - - -0.4993278682231903 0.3665378093719482 - - <_> - 9 - -1.1974394321441650 - - - <_> - - 0 -1 43 -5505 2147462911 2143265466 -4511070 -16450 -257 - -201348440 -71333206 - - -0.3310225307941437 0.5624626278877258 - - <_> - - 0 -1 90 -136842268 -499330741 2015250980 -87107126 - -641665744 -788524639 -1147864792 -134892563 - - -0.5266560912132263 0.3704403042793274 - - <_> - - 0 -1 104 -146800880 -1780368555 2111170033 -140904684 - -16777551 -1946681885 -1646463595 -839131947 - - -0.4171888828277588 0.4540435671806335 - - <_> - - 0 -1 85 -832054034 -981663763 -301990281 -578814081 - -932319000 -1997406723 -33555201 -69206017 - - -0.4556705355644226 0.3704262077808380 - - <_> - - 0 -1 24 -118492417 -1209026825 1119023838 -1334313353 - 1112948738 -297319313 1378887291 -139469193 - - -0.4182529747486115 0.4267231225967407 - - <_> - - 0 -1 78 -1714382628 -2353704 -112094959 -549613092 - -1567058760 -1718550464 -342315012 -1074972227 - - -0.3625369668006897 0.4684656262397766 - - <_> - - 0 -1 5 -85219702 316836394 -33279 1904970288 2117267315 - -260901769 -621461759 -88607770 - - -0.4742925167083740 0.3689507246017456 - - <_> - - 0 -1 11 -294654041 -353603585 -1641159686 -50331921 - -2080899877 1145569279 -143132713 -152044037 - - -0.3666271567344666 0.4580127298831940 - - <_> - - 0 -1 32 1887453658 -638545712 -1877976819 -34320972 - -1071067983 -661345416 -583338277 1060190561 - - -0.4567637443542481 0.3894708156585693 - - <_> - 9 - -0.5733128190040588 - - - <_> - - 0 -1 122 -994063296 1088745462 -318837116 -319881377 - 1102566613 1165490103 -121679694 -134744129 - - -0.4055117964744568 0.5487945079803467 - - <_> - - 0 -1 68 -285233233 -538992907 1811935199 -369234005 -529 - -20593 -20505 -1561401854 - - -0.3787897229194641 0.4532003402709961 - - <_> - - 0 -1 58 -1335245632 1968917183 1940861695 536816369 - -1226071367 -570908176 457026619 1000020667 - - -0.4258328974246979 0.4202791750431061 - - <_> - - 0 -1 94 -1360318719 -1979797897 -50435249 -18646473 - -608879292 -805306691 -269304244 -17840167 - - -0.4561023116111755 0.4002747833728790 - - <_> - - 0 -1 87 2062765935 -16449 -1275080721 -16406 45764335 - -1090552065 -772846337 -570464322 - - -0.4314672648906708 0.4086346626281738 - - <_> - - 0 -1 127 -536896021 1080817663 -738234288 -965478709 - -2082767969 1290855887 1993822934 -990381609 - - -0.4174543321132660 0.4249868988990784 - - <_> - - 0 -1 3 -818943025 168730891 -293610428 -79249354 669224671 - 621166734 1086506807 1473768907 - - -0.4321364760398865 0.4090838730335236 - - <_> - - 0 -1 79 -68895696 -67107736 -1414315879 -841676168 - -619843344 -1180610531 -1081990469 1043203389 - - -0.5018386244773865 0.3702533841133118 - - <_> - - 0 -1 116 -54002134 -543485719 -2124882422 -1437445858 - -115617074 -1195787391 -1096024366 -2140472445 - - -0.5037505626678467 0.3564981222152710 - - <_> - 9 - -0.4892596900463104 - - - <_> - - 0 -1 132 -67113211 2003808111 1862135111 846461923 -2752 - 2002237273 -273154752 1937223539 - - -0.2448196411132813 0.5689709186553955 - - <_> - - 0 -1 62 1179423888 -78064940 -611839555 -539167899 - -1289358360 -1650810108 -892540499 -1432827684 - - -0.4633283913135529 0.3587929606437683 - - <_> - - 0 -1 23 -285212705 -78450761 -656212031 -264050110 -27787425 - -1334349961 -547662981 -135796924 - - -0.3731099069118500 0.4290455579757690 - - <_> - - 0 -1 77 341863476 403702016 -550588417 1600194541 - -1080690735 951127993 -1388580949 -1153717473 - - -0.3658909499645233 0.4556473195552826 - - <_> - - 0 -1 22 -586880702 -204831512 -100644596 -39319550 - -1191150794 705692513 457203315 -75806957 - - -0.5214384198188782 0.3221037387847900 - - <_> - - 0 -1 72 -416546870 545911370 -673716192 -775559454 - -264113598 139424 -183369982 -204474641 - - -0.4289036989212036 0.4004956185817719 - - <_> - - 0 -1 50 -1026505020 -589692154 -1740499937 -1563770497 - 1348491006 -60710713 -1109853489 -633909413 - - -0.4621542394161224 0.3832748532295227 - - <_> - - 0 -1 108 -1448872304 -477895040 -1778390608 -772418127 - -1789923416 -1612057181 -805306693 -1415842113 - - -0.3711548447608948 0.4612701535224915 - - <_> - - 0 -1 92 407905424 -582449988 52654751 -1294472 -285103725 - -74633006 1871559083 1057955850 - - -0.5180652141571045 0.3205870389938355 - - <_> - 10 - -0.5911940932273865 - - - <_> - - 0 -1 81 4112 -1259563825 -846671428 -100902460 1838164148 - -74153752 -90653988 -1074263896 - - -0.2592592537403107 0.5873016119003296 - - <_> - - 0 -1 1 -285216785 -823206977 -1085589 -1081346 1207959293 - 1157103471 2097133565 -2097169 - - -0.3801195919513702 0.4718827307224274 - - <_> - - 0 -1 121 -12465 -536875169 2147478367 2130706303 -37765492 - -866124467 -318782328 -1392509185 - - -0.3509117066860199 0.5094807147979736 - - <_> - - 0 -1 38 2147449663 -20741 -16794757 1945873146 -16710 -1 - -8406341 -67663041 - - -0.4068757295608521 0.4130136370658875 - - <_> - - 0 -1 17 -155191713 866117231 1651407483 548272812 -479201468 - -447742449 1354229504 -261884429 - - -0.4557141065597534 0.3539792001247406 - - <_> - - 0 -1 100 -225319378 -251682065 -492783986 -792341777 - -1287261695 1393643841 -11274182 -213909521 - - -0.4117803275585175 0.4118592441082001 - - <_> - - 0 -1 63 -382220122 -2002072729 -51404800 -371201558 - -923011069 -2135301457 -2066104743 -1042557441 - - -0.4008397758007050 0.4034757018089294 - - <_> - - 0 -1 101 -627353764 -48295149 1581203952 -436258614 - -105268268 -1435893445 -638126888 -1061107126 - - -0.5694189667701721 0.2964762747287750 - - <_> - - 0 -1 118 -8399181 1058107691 -621022752 -251003468 -12582915 - -574619739 -994397789 -1648362021 - - -0.3195341229438782 0.5294018983840942 - - <_> - - 0 -1 92 -348343812 -1078389516 1717960437 364735981 - -1783841602 -4883137 -457572354 -1076950384 - - -0.3365339040756226 0.5067458748817444 - - <_> - 10 - -0.7612916231155396 - - - <_> - - 0 -1 10 -1976661318 -287957604 -1659497122 -782068 43591089 - -453637880 1435470000 -1077438561 - - -0.4204545319080353 0.5165745615959168 - - <_> - - 0 -1 131 -67110925 14874979 -142633168 -1338923040 - 2046713291 -2067933195 1473503712 -789579837 - - -0.3762553930282593 0.4075302779674530 - - <_> - - 0 -1 83 -272814301 -1577073 -1118685 -305156120 -1052289 - -1073813756 -538971154 -355523038 - - -0.4253497421741486 0.3728055357933044 - - <_> - - 0 -1 135 -2233 -214486242 -538514758 573747007 -159390971 - 1994225489 -973738098 -203424005 - - -0.3601998090744019 0.4563256204128265 - - <_> - - 0 -1 115 -261031688 -1330369299 -641860609 1029570301 - -1306461192 -1196149518 -1529767778 683139823 - - -0.4034293889999390 0.4160816967487335 - - <_> - - 0 -1 64 -572993608 -34042628 -417865 -111109 -1433365268 - -19869715 -1920939864 -1279457063 - - -0.3620899617671967 0.4594142735004425 - - <_> - - 0 -1 36 -626275097 -615256993 1651946018 805366393 - 2016559730 -430780849 -799868165 -16580645 - - -0.3903816640377045 0.4381459355354309 - - <_> - - 0 -1 93 1354797300 -1090957603 1976418270 -1342502178 - -1851873892 -1194637077 -1153521668 -1108399474 - - -0.3591445386409760 0.4624078869819641 - - <_> - - 0 -1 91 68157712 1211368313 -304759523 1063017136 798797750 - -275513546 648167355 -1145357350 - - -0.4297670423984528 0.4023293554782867 - - <_> - - 0 -1 107 -546318240 -1628569602 -163577944 -537002306 - -545456389 -1325465645 -380446736 -1058473386 - - -0.5727006793022156 0.2995934784412384 - - <_> - - 0 0 3 5 - <_> - - 0 0 4 2 - <_> - - 0 0 6 3 - <_> - - 0 1 2 3 - <_> - - 0 1 3 3 - <_> - - 0 1 3 7 - <_> - - 0 4 3 3 - <_> - - 0 11 3 4 - <_> - - 0 12 8 4 - <_> - - 0 14 4 3 - <_> - - 1 0 5 3 - <_> - - 1 1 2 2 - <_> - - 1 3 3 1 - <_> - - 1 7 4 4 - <_> - - 1 12 2 2 - <_> - - 1 13 4 1 - <_> - - 1 14 4 3 - <_> - - 1 17 3 2 - <_> - - 2 0 2 3 - <_> - - 2 1 2 2 - <_> - - 2 2 4 6 - <_> - - 2 3 4 4 - <_> - - 2 7 2 1 - <_> - - 2 11 2 3 - <_> - - 2 17 3 2 - <_> - - 3 0 2 2 - <_> - - 3 1 7 3 - <_> - - 3 7 2 1 - <_> - - 3 7 2 4 - <_> - - 3 18 2 2 - <_> - - 4 0 2 3 - <_> - - 4 3 2 1 - <_> - - 4 6 2 1 - <_> - - 4 6 2 5 - <_> - - 4 7 5 2 - <_> - - 4 8 4 3 - <_> - - 4 18 2 2 - <_> - - 5 0 2 2 - <_> - - 5 3 4 4 - <_> - - 5 6 2 5 - <_> - - 5 9 2 2 - <_> - - 5 10 2 2 - <_> - - 6 3 4 4 - <_> - - 6 4 4 3 - <_> - - 6 5 2 3 - <_> - - 6 5 2 5 - <_> - - 6 5 4 3 - <_> - - 6 6 4 2 - <_> - - 6 6 4 4 - <_> - - 6 18 1 2 - <_> - - 6 21 2 1 - <_> - - 7 0 3 7 - <_> - - 7 4 2 3 - <_> - - 7 9 5 1 - <_> - - 7 21 2 1 - <_> - - 8 0 1 4 - <_> - - 8 5 2 2 - <_> - - 8 5 3 2 - <_> - - 8 17 3 1 - <_> - - 8 18 1 2 - <_> - - 9 0 5 3 - <_> - - 9 2 2 6 - <_> - - 9 5 1 1 - <_> - - 9 11 1 1 - <_> - - 9 16 1 1 - <_> - - 9 16 2 1 - <_> - - 9 17 1 1 - <_> - - 9 18 1 1 - <_> - - 10 5 1 2 - <_> - - 10 5 3 3 - <_> - - 10 7 1 5 - <_> - - 10 8 1 1 - <_> - - 10 9 1 1 - <_> - - 10 10 1 1 - <_> - - 10 10 1 2 - <_> - - 10 14 3 3 - <_> - - 10 15 1 1 - <_> - - 10 15 2 1 - <_> - - 10 16 1 1 - <_> - - 10 16 2 1 - <_> - - 10 17 1 1 - <_> - - 10 21 1 1 - <_> - - 11 3 2 2 - <_> - - 11 5 1 2 - <_> - - 11 5 3 3 - <_> - - 11 5 4 6 - <_> - - 11 6 1 1 - <_> - - 11 7 2 2 - <_> - - 11 8 1 2 - <_> - - 11 10 1 1 - <_> - - 11 10 1 2 - <_> - - 11 15 1 1 - <_> - - 11 17 1 1 - <_> - - 11 18 1 1 - <_> - - 12 0 2 2 - <_> - - 12 1 2 5 - <_> - - 12 2 4 1 - <_> - - 12 3 1 3 - <_> - - 12 7 3 4 - <_> - - 12 10 3 2 - <_> - - 12 11 1 1 - <_> - - 12 12 3 2 - <_> - - 12 14 4 3 - <_> - - 12 17 1 1 - <_> - - 12 21 2 1 - <_> - - 13 6 2 5 - <_> - - 13 7 3 5 - <_> - - 13 11 3 2 - <_> - - 13 17 2 2 - <_> - - 13 17 3 2 - <_> - - 13 18 1 2 - <_> - - 13 18 2 2 - <_> - - 14 0 2 2 - <_> - - 14 1 1 3 - <_> - - 14 2 3 2 - <_> - - 14 7 2 1 - <_> - - 14 13 2 1 - <_> - - 14 13 3 3 - <_> - - 14 17 2 2 - <_> - - 15 0 2 2 - <_> - - 15 0 2 3 - <_> - - 15 4 3 2 - <_> - - 15 4 3 6 - <_> - - 15 6 3 2 - <_> - - 15 11 3 4 - <_> - - 15 13 3 2 - <_> - - 15 17 2 2 - <_> - - 15 17 3 2 - <_> - - 16 1 2 3 - <_> - - 16 3 2 4 - <_> - - 16 6 1 1 - <_> - - 16 16 2 2 - <_> - - 17 1 2 2 - <_> - - 17 1 2 5 - <_> - - 17 12 2 2 - <_> - - 18 0 2 2 - + + + + + BOOST + LBP + 24 + 24 + + GAB + 0.9950000047683716 + 0.5000000000000000 + 0.9500000000000000 + 1 + 100 + + 256 + 20 + + + <_> + 3 + -0.7520892024040222 + + + <_> + + 0 -1 46 -67130709 -21569 -1426120013 -1275125205 -21585 + -16385 587145899 -24005 + + -0.6543210148811340 0.8888888955116272 + + <_> + + 0 -1 13 -163512766 -769593758 -10027009 -262145 -514457854 + -193593353 -524289 -1 + + -0.7739216089248657 0.7278633713722229 + + <_> + + 0 -1 2 -363936790 -893203669 -1337948010 -136907894 + 1088782736 -134217726 -741544961 -1590337 + + -0.7068563103675842 0.6761534214019775 + + <_> + 4 + -0.4872078299522400 + + + <_> + + 0 -1 84 2147483647 1946124287 -536870913 2147450879 + 738132490 1061101567 243204619 2147446655 + + -0.8083735704421997 0.7685696482658386 + + <_> + + 0 -1 21 2147483647 263176079 1879048191 254749487 1879048191 + -134252545 -268435457 801111999 + + -0.7698410153388977 0.6592915654182434 + + <_> + + 0 -1 106 -98110272 1610939566 -285484400 -850010381 + -189334372 -1671954433 -571026695 -262145 + + -0.7506558895111084 0.5444605946540833 + + <_> + + 0 -1 48 -798690576 -131075 1095771153 -237144073 -65569 -1 + -216727745 -69206049 + + -0.7775990366935730 0.5465461611747742 + + <_> + 4 + -1.1592328548431396 + + + <_> + + 0 -1 47 -21585 -20549 -100818262 -738254174 -20561 -36865 + -151016790 -134238549 + + -0.5601882934570313 0.7743113040924072 + + <_> + + 0 -1 12 -286003217 183435247 -268994614 -421330945 + -402686081 1090387966 -286785545 -402653185 + + -0.6124526262283325 0.6978127956390381 + + <_> + + 0 -1 26 -50347012 970882927 -50463492 -1253377 -134218251 + -50364513 -33619992 -172490753 + + -0.6114496588706970 0.6537628173828125 + + <_> + + 0 -1 8 -273 -135266321 1877977738 -2088243418 -134217987 + 2146926575 -18910642 1095231247 + + -0.6854077577590942 0.5403239130973816 + + <_> + 5 + -0.7562355995178223 + + + <_> + + 0 -1 96 -1273 1870659519 -20971602 -67633153 -134250731 + 2004875127 -250 -150995969 + + -0.4051094949245453 0.7584033608436585 + + <_> + + 0 -1 33 -868162224 -76810262 -4262145 -257 1465211989 + -268959873 -2656269 -524289 + + -0.7388162612915039 0.5340843200683594 + + <_> + + 0 -1 57 -12817 -49 -541103378 -152950 -38993 -20481 -1153876 + -72478976 + + -0.6582943797111511 0.5339496731758118 + + <_> + + 0 -1 125 -269484161 -452984961 -319816180 -1594032130 -2111 + -990117891 -488975296 -520947741 + + -0.5981323719024658 0.5323504805564880 + + <_> + + 0 -1 53 557787431 670265215 -1342193665 -1075892225 + 1998528318 1056964607 -33570977 -1 + + -0.6498787999153137 0.4913350641727448 + + <_> + 5 + -0.8085358142852783 + + + <_> + + 0 -1 60 -536873708 880195381 -16842788 -20971521 -176687276 + -168427659 -16777260 -33554626 + + -0.5278195738792419 0.6946372389793396 + + <_> + + 0 -1 7 -1 -62981529 -1090591130 805330978 -8388827 -41945787 + -39577 -531118985 + + -0.5206505060195923 0.6329920291900635 + + <_> + + 0 -1 98 -725287348 1347747543 -852489 -16809993 1489881036 + -167903241 -1 -1 + + -0.7516061067581177 0.4232024252414703 + + <_> + + 0 -1 44 -32777 1006582562 -65 935312171 -8388609 -1078198273 + -1 733886267 + + -0.7639313936233521 0.4123568832874298 + + <_> + + 0 -1 24 -85474705 2138828511 -1036436754 817625855 + 1123369029 -58796809 -1013468481 -194513409 + + -0.5123769044876099 0.5791834592819214 + + <_> + 5 + -0.5549971461296082 + + + <_> + + 0 -1 42 -17409 -20481 -268457797 -134239493 -17473 -1 -21829 + -21846 + + -0.3763174116611481 0.7298233509063721 + + <_> + + 0 -1 6 -805310737 -2098262358 -269504725 682502698 + 2147483519 1740574719 -1090519233 -268472385 + + -0.5352765917778015 0.5659480094909668 + + <_> + + 0 -1 61 -67109678 -6145 -8 -87884584 -20481 -1073762305 + -50856216 -16849696 + + -0.5678374171257019 0.4961479902267456 + + <_> + + 0 -1 123 -138428633 1002418167 -1359008245 -1908670465 + -1346685918 910098423 -1359010520 -1346371657 + + -0.5706262588500977 0.4572288393974304 + + <_> + + 0 -1 9 -89138513 -4196353 1256531674 -1330665426 1216308261 + -36190633 33498198 -151796633 + + -0.5344601869583130 0.4672054052352905 + + <_> + 5 + -0.8776460289955139 + + + <_> + + 0 -1 105 1073769576 206601725 -34013449 -33554433 -789514004 + -101384321 -690225153 -264193 + + -0.7700348496437073 0.5943940877914429 + + <_> + + 0 -1 30 -1432340997 -823623681 -49153 -34291724 -269484035 + -1342767105 -1078198273 -1277955 + + -0.5043668746948242 0.6151274442672730 + + <_> + + 0 -1 35 -1067385040 -195758209 -436748425 -134217731 + -50855988 -129 -1 -1 + + -0.6808040738105774 0.4667325913906097 + + <_> + + 0 -1 119 832534325 -34111555 -26050561 -423659521 -268468364 + 2105014143 -2114244 -17367185 + + -0.4927591383457184 0.5401885509490967 + + <_> + + 0 -1 82 -1089439888 -1080524865 2143059967 -1114121 + -1140949004 -3 -2361356 -739516 + + -0.6445107460021973 0.4227822124958038 + + <_> + 6 + -1.1139287948608398 + + + <_> + + 0 -1 52 -1074071553 -1074003969 -1 -1280135430 -5324817 -1 + -335548482 582134442 + + -0.5307556986808777 0.6258179545402527 + + <_> + + 0 -1 99 -706937396 -705364068 -540016724 -570495027 + -570630659 -587857963 -33628164 -35848193 + + -0.5227634310722351 0.5049746036529541 + + <_> + + 0 -1 18 -2035630093 42119158 -268503053 -1671444 261017599 + 1325432815 1954394111 -805306449 + + -0.4983572661876679 0.5106441378593445 + + <_> + + 0 -1 111 -282529488 -1558073088 1426018736 -170526448 + -546832487 -5113037 -34243375 -570427929 + + -0.4990860521793366 0.5060507059097290 + + <_> + + 0 -1 92 1016332500 -606301707 915094269 -1080086049 + -1837027144 -1361600280 2147318747 1067975613 + + -0.5695009231567383 0.4460467398166657 + + <_> + + 0 -1 51 -656420166 -15413034 -141599534 -603435836 + 1505950458 -787556946 -79823438 -1326199134 + + -0.6590405106544495 0.3616424500942230 + + <_> + 7 + -0.8243625760078430 + + + <_> + + 0 -1 28 -901591776 -201916417 -262 -67371009 -143312112 + -524289 -41943178 -1 + + -0.4972776770591736 0.6027074456214905 + + <_> + + 0 -1 112 -4507851 -411340929 -268437513 -67502145 -17350859 + -32901 -71344315 -29377 + + -0.4383158981800079 0.5966237187385559 + + <_> + + 0 -1 69 -75894785 -117379438 -239063587 -12538500 1485072126 + 2076233213 2123118847 801906927 + + -0.6386105418205261 0.3977999985218048 + + <_> + + 0 -1 19 -823480413 786628589 -16876049 -1364262914 242165211 + 1315930109 -696268833 -455082829 + + -0.5512794256210327 0.4282079637050629 + + <_> + + 0 -1 73 -521411968 6746762 -1396236286 -2038436114 + -185612509 57669627 -143132877 -1041235973 + + -0.6418755054473877 0.3549866080284119 + + <_> + + 0 -1 126 -478153869 1076028979 -1645895615 1365298272 + -557859073 -339771473 1442574528 -1058802061 + + -0.4841901361942291 0.4668019413948059 + + <_> + + 0 -1 45 -246350404 -1650402048 -1610612745 -788400696 + 1467604861 -2787397 1476263935 -4481349 + + -0.5855734348297119 0.3879135847091675 + + <_> + 7 + -1.2237116098403931 + + + <_> + + 0 -1 114 -24819 1572863935 -16809993 -67108865 2146778388 + 1433927541 -268608444 -34865205 + + -0.2518476545810700 0.7088654041290283 + + <_> + + 0 -1 97 -1841359 -134271049 -32769 -5767369 -1116675 -2185 + -8231 -33603327 + + -0.4303432404994965 0.5283288359642029 + + <_> + + 0 -1 25 -1359507589 -1360593090 -1073778729 -269553812 + -809512977 1744707583 -41959433 -134758978 + + -0.4259553551673889 0.5440809130668640 + + <_> + + 0 -1 34 729753407 -134270989 -1140907329 -235200777 + 658456383 2147467263 -1140900929 -16385 + + -0.5605589151382446 0.4220733344554901 + + <_> + + 0 -1 134 -310380553 -420675595 -193005472 -353568129 + 1205338070 -990380036 887604324 -420544526 + + -0.5192656517028809 0.4399855434894562 + + <_> + + 0 -1 16 -1427119361 1978920959 -287119734 -487068946 + 114759245 -540578051 -707510259 -671660453 + + -0.5013077259063721 0.4570254683494568 + + <_> + + 0 -1 74 -738463762 -889949281 -328301948 -121832450 + -1142658284 -1863576559 2146417353 -263185 + + -0.4631414115428925 0.4790246188640595 + + <_> + 7 + -0.5544230937957764 + + + <_> + + 0 -1 113 -76228780 -65538 -1 -67174401 -148007 -33 -221796 + -272842924 + + -0.3949716091156006 0.6082032322883606 + + <_> + + 0 -1 110 369147696 -1625232112 2138570036 -1189900 790708019 + -1212613127 799948719 -4456483 + + -0.4855885505676270 0.4785369932651520 + + <_> + + 0 -1 37 784215839 -290015241 536832799 -402984963 + -1342414991 -838864897 -176769 -268456129 + + -0.4620285332202911 0.4989669024944305 + + <_> + + 0 -1 41 -486418688 -171915327 -340294900 -21938 -519766032 + -772751172 -73096060 -585322623 + + -0.6420643329620361 0.3624351918697357 + + <_> + + 0 -1 117 -33554953 -475332625 -1423463824 -2077230421 + -4849669 -2080505925 -219032928 -1071915349 + + -0.4820112884044647 0.4632140696048737 + + <_> + + 0 -1 65 -834130468 -134217476 -1349314083 -1073803559 + -619913764 -1449131844 -1386890321 -1979118423 + + -0.4465552568435669 0.5061788558959961 + + <_> + + 0 -1 56 -285249779 1912569855 -16530 -1731022870 -1161904146 + -1342177297 -268439634 -1464078708 + + -0.5190586447715759 0.4441480338573456 + + <_> + 7 + -0.7161560654640198 + + + <_> + + 0 -1 20 1246232575 1078001186 -10027057 60102 -277348353 + -43646987 -1210581153 1195769615 + + -0.4323809444904327 0.5663768053054810 + + <_> + + 0 -1 15 -778583572 -612921106 -578775890 -4036478 + -1946580497 -1164766570 -1986687009 -12103599 + + -0.4588732719421387 0.4547033011913300 + + <_> + + 0 -1 129 -1073759445 2013231743 -1363169553 -1082459201 + -1414286549 868185983 -1356133589 -1077936257 + + -0.5218553543090820 0.4111092388629913 + + <_> + + 0 -1 102 -84148365 -2093417722 -1204850272 564290299 + -67121221 -1342177350 -1309195902 -776734797 + + -0.4920000731945038 0.4326725304126740 + + <_> + + 0 -1 88 -25694458 67104495 -290216278 -168563037 2083877442 + 1702788383 -144191964 -234882162 + + -0.4494568109512329 0.4448510706424713 + + <_> + + 0 -1 59 -857980836 904682741 -1612267521 232279415 + 1550862252 -574825221 -357380888 -4579409 + + -0.5180826783180237 0.3888972699642181 + + <_> + + 0 -1 27 -98549440 -137838400 494928389 -246013630 939541351 + -1196072350 -620603549 2137216273 + + -0.6081240773200989 0.3333222270011902 + + <_> + 8 + -0.6743940711021423 + + + <_> + + 0 -1 29 -150995201 2071191945 -1302151626 536934335 + -1059008937 914128709 1147328110 -268369925 + + -0.1790193915367127 0.6605972051620483 + + <_> + + 0 -1 128 -134509479 1610575703 -1342177289 1861484541 + -1107833788 1577058173 -333558568 -136319041 + + -0.3681024610996246 0.5139749646186829 + + <_> + + 0 -1 70 -1 1060154476 -1090984524 -630918524 -539492875 + 779616255 -839568424 -321 + + -0.3217232525348663 0.6171553134918213 + + <_> + + 0 -1 4 -269562385 -285029906 -791084350 -17923776 235286671 + 1275504943 1344390399 -966276889 + + -0.4373284578323364 0.4358185231685638 + + <_> + + 0 -1 76 17825984 -747628419 595427229 1474759671 575672208 + -1684005538 872217086 -1155858277 + + -0.4404836893081665 0.4601220190525055 + + <_> + + 0 -1 124 -336593039 1873735591 -822231622 -355795238 + -470820869 -1997537409 -1057132384 -1015285005 + + -0.4294152259826660 0.4452161788940430 + + <_> + + 0 -1 54 -834212130 -593694721 -322142257 -364892500 + -951029539 -302125121 -1615106053 -79249765 + + -0.3973052501678467 0.4854526817798615 + + <_> + + 0 -1 95 1342144479 2147431935 -33554561 -47873 -855685912 -1 + 1988052447 536827383 + + -0.7054683566093445 0.2697997391223908 + + <_> + 9 + -1.2042298316955566 + + + <_> + + 0 -1 39 1431368960 -183437936 -537002499 -137497097 + 1560590321 -84611081 -2097193 -513 + + -0.5905947685241699 0.5101932883262634 + + <_> + + 0 -1 120 -1645259691 2105491231 2130706431 1458995007 + -8567536 -42483883 -33780003 -21004417 + + -0.4449204802513123 0.4490709304809570 + + <_> + + 0 -1 89 -612381022 -505806938 -362027516 -452985106 + 275854917 1920431639 -12600561 -134221825 + + -0.4693818688392639 0.4061094820499420 + + <_> + + 0 -1 14 -805573153 -161 -554172679 -530519488 -16779441 + 2000682871 -33604275 -150997129 + + -0.3600351214408875 0.5056326985359192 + + <_> + + 0 -1 67 6192 435166195 1467449341 2046691505 -1608493775 + -4755729 -1083162625 -71365637 + + -0.4459891915321350 0.4132415652275085 + + <_> + + 0 -1 86 -41689215 -3281034 1853357967 -420712635 -415924289 + -270209208 -1088293113 -825311232 + + -0.4466069042682648 0.4135067760944367 + + <_> + + 0 -1 80 -117391116 -42203396 2080374461 -188709 -542008165 + -356831940 -1091125345 -1073796897 + + -0.3394956290721893 0.5658645033836365 + + <_> + + 0 -1 75 -276830049 1378714472 -1342181951 757272098 + 1073740607 -282199241 -415761549 170896931 + + -0.5346512198448181 0.3584479391574860 + + <_> + + 0 -1 55 -796075825 -123166849 2113667055 -217530421 + -1107432194 -16385 -806359809 -391188771 + + -0.4379335641860962 0.4123645126819611 + + <_> + 10 + -0.8402050137519836 + + + <_> + + 0 -1 71 -890246622 15525883 -487690486 47116238 -1212319899 + -1291847681 -68159890 -469829921 + + -0.2670986354351044 0.6014143228530884 + + <_> + + 0 -1 31 -1361180685 -1898008841 -1090588811 -285410071 + -1074016265 -840443905 2147221487 -262145 + + -0.4149844348430634 0.4670888185501099 + + <_> + + 0 -1 40 1426190596 1899364271 2142731795 -142607505 + -508232452 -21563393 -41960001 -65 + + -0.4985891580581665 0.3719584941864014 + + <_> + + 0 -1 109 -201337965 10543906 -236498096 -746195597 + 1974565825 -15204415 921907633 -190058309 + + -0.4568729996681213 0.3965812027454376 + + <_> + + 0 -1 130 -595026732 -656401928 -268649235 -571490699 + -440600392 -133131 -358810952 -2004088646 + + -0.4770836830139160 0.3862601518630981 + + <_> + + 0 -1 66 941674740 -1107882114 1332789109 -67691015 + -1360463693 -1556612430 -609108546 733546933 + + -0.4877715110778809 0.3778986334800720 + + <_> + + 0 -1 49 -17114945 -240061474 1552871558 -82775604 -932393844 + -1308544889 -532635478 -99042357 + + -0.3721654713153839 0.4994400143623352 + + <_> + + 0 -1 133 -655906006 1405502603 -939205164 1884929228 + -498859222 559417357 -1928559445 -286264385 + + -0.3934195041656494 0.4769641458988190 + + <_> + + 0 -1 0 -335837777 1860677295 -90 -1946186226 931096183 + 251612987 2013265917 -671232197 + + -0.4323300719261169 0.4342164099216461 + + <_> + + 0 -1 103 37769424 -137772680 374692301 2002666345 -536176194 + -1644484728 807009019 1069089930 + + -0.4993278682231903 0.3665378093719482 + + <_> + 9 + -1.1974394321441650 + + + <_> + + 0 -1 43 -5505 2147462911 2143265466 -4511070 -16450 -257 + -201348440 -71333206 + + -0.3310225307941437 0.5624626278877258 + + <_> + + 0 -1 90 -136842268 -499330741 2015250980 -87107126 + -641665744 -788524639 -1147864792 -134892563 + + -0.5266560912132263 0.3704403042793274 + + <_> + + 0 -1 104 -146800880 -1780368555 2111170033 -140904684 + -16777551 -1946681885 -1646463595 -839131947 + + -0.4171888828277588 0.4540435671806335 + + <_> + + 0 -1 85 -832054034 -981663763 -301990281 -578814081 + -932319000 -1997406723 -33555201 -69206017 + + -0.4556705355644226 0.3704262077808380 + + <_> + + 0 -1 24 -118492417 -1209026825 1119023838 -1334313353 + 1112948738 -297319313 1378887291 -139469193 + + -0.4182529747486115 0.4267231225967407 + + <_> + + 0 -1 78 -1714382628 -2353704 -112094959 -549613092 + -1567058760 -1718550464 -342315012 -1074972227 + + -0.3625369668006897 0.4684656262397766 + + <_> + + 0 -1 5 -85219702 316836394 -33279 1904970288 2117267315 + -260901769 -621461759 -88607770 + + -0.4742925167083740 0.3689507246017456 + + <_> + + 0 -1 11 -294654041 -353603585 -1641159686 -50331921 + -2080899877 1145569279 -143132713 -152044037 + + -0.3666271567344666 0.4580127298831940 + + <_> + + 0 -1 32 1887453658 -638545712 -1877976819 -34320972 + -1071067983 -661345416 -583338277 1060190561 + + -0.4567637443542481 0.3894708156585693 + + <_> + 9 + -0.5733128190040588 + + + <_> + + 0 -1 122 -994063296 1088745462 -318837116 -319881377 + 1102566613 1165490103 -121679694 -134744129 + + -0.4055117964744568 0.5487945079803467 + + <_> + + 0 -1 68 -285233233 -538992907 1811935199 -369234005 -529 + -20593 -20505 -1561401854 + + -0.3787897229194641 0.4532003402709961 + + <_> + + 0 -1 58 -1335245632 1968917183 1940861695 536816369 + -1226071367 -570908176 457026619 1000020667 + + -0.4258328974246979 0.4202791750431061 + + <_> + + 0 -1 94 -1360318719 -1979797897 -50435249 -18646473 + -608879292 -805306691 -269304244 -17840167 + + -0.4561023116111755 0.4002747833728790 + + <_> + + 0 -1 87 2062765935 -16449 -1275080721 -16406 45764335 + -1090552065 -772846337 -570464322 + + -0.4314672648906708 0.4086346626281738 + + <_> + + 0 -1 127 -536896021 1080817663 -738234288 -965478709 + -2082767969 1290855887 1993822934 -990381609 + + -0.4174543321132660 0.4249868988990784 + + <_> + + 0 -1 3 -818943025 168730891 -293610428 -79249354 669224671 + 621166734 1086506807 1473768907 + + -0.4321364760398865 0.4090838730335236 + + <_> + + 0 -1 79 -68895696 -67107736 -1414315879 -841676168 + -619843344 -1180610531 -1081990469 1043203389 + + -0.5018386244773865 0.3702533841133118 + + <_> + + 0 -1 116 -54002134 -543485719 -2124882422 -1437445858 + -115617074 -1195787391 -1096024366 -2140472445 + + -0.5037505626678467 0.3564981222152710 + + <_> + 9 + -0.4892596900463104 + + + <_> + + 0 -1 132 -67113211 2003808111 1862135111 846461923 -2752 + 2002237273 -273154752 1937223539 + + -0.2448196411132813 0.5689709186553955 + + <_> + + 0 -1 62 1179423888 -78064940 -611839555 -539167899 + -1289358360 -1650810108 -892540499 -1432827684 + + -0.4633283913135529 0.3587929606437683 + + <_> + + 0 -1 23 -285212705 -78450761 -656212031 -264050110 -27787425 + -1334349961 -547662981 -135796924 + + -0.3731099069118500 0.4290455579757690 + + <_> + + 0 -1 77 341863476 403702016 -550588417 1600194541 + -1080690735 951127993 -1388580949 -1153717473 + + -0.3658909499645233 0.4556473195552826 + + <_> + + 0 -1 22 -586880702 -204831512 -100644596 -39319550 + -1191150794 705692513 457203315 -75806957 + + -0.5214384198188782 0.3221037387847900 + + <_> + + 0 -1 72 -416546870 545911370 -673716192 -775559454 + -264113598 139424 -183369982 -204474641 + + -0.4289036989212036 0.4004956185817719 + + <_> + + 0 -1 50 -1026505020 -589692154 -1740499937 -1563770497 + 1348491006 -60710713 -1109853489 -633909413 + + -0.4621542394161224 0.3832748532295227 + + <_> + + 0 -1 108 -1448872304 -477895040 -1778390608 -772418127 + -1789923416 -1612057181 -805306693 -1415842113 + + -0.3711548447608948 0.4612701535224915 + + <_> + + 0 -1 92 407905424 -582449988 52654751 -1294472 -285103725 + -74633006 1871559083 1057955850 + + -0.5180652141571045 0.3205870389938355 + + <_> + 10 + -0.5911940932273865 + + + <_> + + 0 -1 81 4112 -1259563825 -846671428 -100902460 1838164148 + -74153752 -90653988 -1074263896 + + -0.2592592537403107 0.5873016119003296 + + <_> + + 0 -1 1 -285216785 -823206977 -1085589 -1081346 1207959293 + 1157103471 2097133565 -2097169 + + -0.3801195919513702 0.4718827307224274 + + <_> + + 0 -1 121 -12465 -536875169 2147478367 2130706303 -37765492 + -866124467 -318782328 -1392509185 + + -0.3509117066860199 0.5094807147979736 + + <_> + + 0 -1 38 2147449663 -20741 -16794757 1945873146 -16710 -1 + -8406341 -67663041 + + -0.4068757295608521 0.4130136370658875 + + <_> + + 0 -1 17 -155191713 866117231 1651407483 548272812 -479201468 + -447742449 1354229504 -261884429 + + -0.4557141065597534 0.3539792001247406 + + <_> + + 0 -1 100 -225319378 -251682065 -492783986 -792341777 + -1287261695 1393643841 -11274182 -213909521 + + -0.4117803275585175 0.4118592441082001 + + <_> + + 0 -1 63 -382220122 -2002072729 -51404800 -371201558 + -923011069 -2135301457 -2066104743 -1042557441 + + -0.4008397758007050 0.4034757018089294 + + <_> + + 0 -1 101 -627353764 -48295149 1581203952 -436258614 + -105268268 -1435893445 -638126888 -1061107126 + + -0.5694189667701721 0.2964762747287750 + + <_> + + 0 -1 118 -8399181 1058107691 -621022752 -251003468 -12582915 + -574619739 -994397789 -1648362021 + + -0.3195341229438782 0.5294018983840942 + + <_> + + 0 -1 92 -348343812 -1078389516 1717960437 364735981 + -1783841602 -4883137 -457572354 -1076950384 + + -0.3365339040756226 0.5067458748817444 + + <_> + 10 + -0.7612916231155396 + + + <_> + + 0 -1 10 -1976661318 -287957604 -1659497122 -782068 43591089 + -453637880 1435470000 -1077438561 + + -0.4204545319080353 0.5165745615959168 + + <_> + + 0 -1 131 -67110925 14874979 -142633168 -1338923040 + 2046713291 -2067933195 1473503712 -789579837 + + -0.3762553930282593 0.4075302779674530 + + <_> + + 0 -1 83 -272814301 -1577073 -1118685 -305156120 -1052289 + -1073813756 -538971154 -355523038 + + -0.4253497421741486 0.3728055357933044 + + <_> + + 0 -1 135 -2233 -214486242 -538514758 573747007 -159390971 + 1994225489 -973738098 -203424005 + + -0.3601998090744019 0.4563256204128265 + + <_> + + 0 -1 115 -261031688 -1330369299 -641860609 1029570301 + -1306461192 -1196149518 -1529767778 683139823 + + -0.4034293889999390 0.4160816967487335 + + <_> + + 0 -1 64 -572993608 -34042628 -417865 -111109 -1433365268 + -19869715 -1920939864 -1279457063 + + -0.3620899617671967 0.4594142735004425 + + <_> + + 0 -1 36 -626275097 -615256993 1651946018 805366393 + 2016559730 -430780849 -799868165 -16580645 + + -0.3903816640377045 0.4381459355354309 + + <_> + + 0 -1 93 1354797300 -1090957603 1976418270 -1342502178 + -1851873892 -1194637077 -1153521668 -1108399474 + + -0.3591445386409760 0.4624078869819641 + + <_> + + 0 -1 91 68157712 1211368313 -304759523 1063017136 798797750 + -275513546 648167355 -1145357350 + + -0.4297670423984528 0.4023293554782867 + + <_> + + 0 -1 107 -546318240 -1628569602 -163577944 -537002306 + -545456389 -1325465645 -380446736 -1058473386 + + -0.5727006793022156 0.2995934784412384 + + <_> + + 0 0 3 5 + <_> + + 0 0 4 2 + <_> + + 0 0 6 3 + <_> + + 0 1 2 3 + <_> + + 0 1 3 3 + <_> + + 0 1 3 7 + <_> + + 0 4 3 3 + <_> + + 0 11 3 4 + <_> + + 0 12 8 4 + <_> + + 0 14 4 3 + <_> + + 1 0 5 3 + <_> + + 1 1 2 2 + <_> + + 1 3 3 1 + <_> + + 1 7 4 4 + <_> + + 1 12 2 2 + <_> + + 1 13 4 1 + <_> + + 1 14 4 3 + <_> + + 1 17 3 2 + <_> + + 2 0 2 3 + <_> + + 2 1 2 2 + <_> + + 2 2 4 6 + <_> + + 2 3 4 4 + <_> + + 2 7 2 1 + <_> + + 2 11 2 3 + <_> + + 2 17 3 2 + <_> + + 3 0 2 2 + <_> + + 3 1 7 3 + <_> + + 3 7 2 1 + <_> + + 3 7 2 4 + <_> + + 3 18 2 2 + <_> + + 4 0 2 3 + <_> + + 4 3 2 1 + <_> + + 4 6 2 1 + <_> + + 4 6 2 5 + <_> + + 4 7 5 2 + <_> + + 4 8 4 3 + <_> + + 4 18 2 2 + <_> + + 5 0 2 2 + <_> + + 5 3 4 4 + <_> + + 5 6 2 5 + <_> + + 5 9 2 2 + <_> + + 5 10 2 2 + <_> + + 6 3 4 4 + <_> + + 6 4 4 3 + <_> + + 6 5 2 3 + <_> + + 6 5 2 5 + <_> + + 6 5 4 3 + <_> + + 6 6 4 2 + <_> + + 6 6 4 4 + <_> + + 6 18 1 2 + <_> + + 6 21 2 1 + <_> + + 7 0 3 7 + <_> + + 7 4 2 3 + <_> + + 7 9 5 1 + <_> + + 7 21 2 1 + <_> + + 8 0 1 4 + <_> + + 8 5 2 2 + <_> + + 8 5 3 2 + <_> + + 8 17 3 1 + <_> + + 8 18 1 2 + <_> + + 9 0 5 3 + <_> + + 9 2 2 6 + <_> + + 9 5 1 1 + <_> + + 9 11 1 1 + <_> + + 9 16 1 1 + <_> + + 9 16 2 1 + <_> + + 9 17 1 1 + <_> + + 9 18 1 1 + <_> + + 10 5 1 2 + <_> + + 10 5 3 3 + <_> + + 10 7 1 5 + <_> + + 10 8 1 1 + <_> + + 10 9 1 1 + <_> + + 10 10 1 1 + <_> + + 10 10 1 2 + <_> + + 10 14 3 3 + <_> + + 10 15 1 1 + <_> + + 10 15 2 1 + <_> + + 10 16 1 1 + <_> + + 10 16 2 1 + <_> + + 10 17 1 1 + <_> + + 10 21 1 1 + <_> + + 11 3 2 2 + <_> + + 11 5 1 2 + <_> + + 11 5 3 3 + <_> + + 11 5 4 6 + <_> + + 11 6 1 1 + <_> + + 11 7 2 2 + <_> + + 11 8 1 2 + <_> + + 11 10 1 1 + <_> + + 11 10 1 2 + <_> + + 11 15 1 1 + <_> + + 11 17 1 1 + <_> + + 11 18 1 1 + <_> + + 12 0 2 2 + <_> + + 12 1 2 5 + <_> + + 12 2 4 1 + <_> + + 12 3 1 3 + <_> + + 12 7 3 4 + <_> + + 12 10 3 2 + <_> + + 12 11 1 1 + <_> + + 12 12 3 2 + <_> + + 12 14 4 3 + <_> + + 12 17 1 1 + <_> + + 12 21 2 1 + <_> + + 13 6 2 5 + <_> + + 13 7 3 5 + <_> + + 13 11 3 2 + <_> + + 13 17 2 2 + <_> + + 13 17 3 2 + <_> + + 13 18 1 2 + <_> + + 13 18 2 2 + <_> + + 14 0 2 2 + <_> + + 14 1 1 3 + <_> + + 14 2 3 2 + <_> + + 14 7 2 1 + <_> + + 14 13 2 1 + <_> + + 14 13 3 3 + <_> + + 14 17 2 2 + <_> + + 15 0 2 2 + <_> + + 15 0 2 3 + <_> + + 15 4 3 2 + <_> + + 15 4 3 6 + <_> + + 15 6 3 2 + <_> + + 15 11 3 4 + <_> + + 15 13 3 2 + <_> + + 15 17 2 2 + <_> + + 15 17 3 2 + <_> + + 16 1 2 3 + <_> + + 16 3 2 4 + <_> + + 16 6 1 1 + <_> + + 16 16 2 2 + <_> + + 17 1 2 2 + <_> + + 17 1 2 5 + <_> + + 17 12 2 2 + <_> + + 18 0 2 2 + diff --git a/其它/人脸描点检测/data/readme.txt b/Demo/人脸描点检测/data/readme.txt similarity index 100% rename from 其它/人脸描点检测/data/readme.txt rename to Demo/人脸描点检测/data/readme.txt diff --git a/其它/全局热键/HotKey.py b/Demo/全局热键/HotKey.py similarity index 98% rename from 其它/全局热键/HotKey.py rename to Demo/全局热键/HotKey.py index 9ebca74..0d2d240 100644 --- a/其它/全局热键/HotKey.py +++ b/Demo/全局热键/HotKey.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月11日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: HotKey @description: diff --git a/其它/全局热键/README.md b/Demo/全局热键/README.md similarity index 97% rename from 其它/全局热键/README.md rename to Demo/全局热键/README.md index 0e0eeef..f6db5d2 100644 --- a/其它/全局热键/README.md +++ b/Demo/全局热键/README.md @@ -1,23 +1,23 @@ -# PyQt全局热键 For Windows Test - -pip install keyboard - -https://github.com/892768447/keyboard - -* keyboard - * 该模块使用全局低级钩子的方式hook键盘来处理,对系统有一定的影响 - * 有反映说弹出对话框假死,这里粗略解决下使用信号槽的方式来弹出对话框 - * 该模块里使用了每次产生一个子线程来回调函数 -``` -def call_later(fn, args=(), delay=0.001): - """ - Calls the provided function in a new thread after waiting some time. - Useful for giving the system some time to process an event, without blocking - the current execution flow. - """ - thread = _Thread(target=lambda: (_time.sleep(delay), fn(*args))) - thread.start() -``` - -# 截图 +# PyQt全局热键 For Windows Test + +pip install keyboard + +https://github.com/892768447/keyboard + +* keyboard + * 该模块使用全局低级钩子的方式hook键盘来处理,对系统有一定的影响 + * 有反映说弹出对话框假死,这里粗略解决下使用信号槽的方式来弹出对话框 + * 该模块里使用了每次产生一个子线程来回调函数 +``` +def call_later(fn, args=(), delay=0.001): + """ + Calls the provided function in a new thread after waiting some time. + Useful for giving the system some time to process an event, without blocking + the current execution flow. + """ + thread = _Thread(target=lambda: (_time.sleep(delay), fn(*args))) + thread.start() +``` + +# 截图 ![截图](ScreenShot/1.gif) \ No newline at end of file diff --git a/其它/全局热键/ScreenShot/1.gif b/Demo/全局热键/ScreenShot/1.gif similarity index 100% rename from 其它/全局热键/ScreenShot/1.gif rename to Demo/全局热键/ScreenShot/1.gif diff --git a/其它/全局热键/requirements.txt b/Demo/全局热键/requirements.txt similarity index 100% rename from 其它/全局热键/requirements.txt rename to Demo/全局热键/requirements.txt diff --git a/其它/单实例应用/Application.py b/Demo/单实例应用/Application.py similarity index 98% rename from 其它/单实例应用/Application.py rename to Demo/单实例应用/Application.py index ccc8d98..c121600 100644 --- a/其它/单实例应用/Application.py +++ b/Demo/单实例应用/Application.py @@ -4,7 +4,7 @@ ''' Created on 2017年3月30日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: 单实例应用.Application @description: diff --git a/其它/单实例应用/README.md b/Demo/单实例应用/README.md similarity index 96% rename from 其它/单实例应用/README.md rename to Demo/单实例应用/README.md index 190fd37..78d51ae 100644 --- a/其它/单实例应用/README.md +++ b/Demo/单实例应用/README.md @@ -1,6 +1,6 @@ -#单实例应用 Application - -###[Python3.4.4 or Python3.5][PyQt5] - - - 方法1:QSharedMemory +#单实例应用 Application + +###[Python3.4.4 or Python3.5][PyQt5] + + - 方法1:QSharedMemory - 方法2:QLocalSocket, QLocalServer \ No newline at end of file diff --git a/其它/单实例应用/TestQSharedMemory.py b/Demo/单实例应用/TestQSharedMemory.py similarity index 92% rename from 其它/单实例应用/TestQSharedMemory.py rename to Demo/单实例应用/TestQSharedMemory.py index 54c9037..bd5610c 100644 --- a/其它/单实例应用/TestQSharedMemory.py +++ b/Demo/单实例应用/TestQSharedMemory.py @@ -4,7 +4,7 @@ ''' Created on 2017年3月30日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: TestQSharedMemory @description: diff --git a/其它/单实例应用/TestQSingleApplication.py b/Demo/单实例应用/TestQSingleApplication.py similarity index 92% rename from 其它/单实例应用/TestQSingleApplication.py rename to Demo/单实例应用/TestQSingleApplication.py index 18e2389..0c97573 100644 --- a/其它/单实例应用/TestQSingleApplication.py +++ b/Demo/单实例应用/TestQSingleApplication.py @@ -4,7 +4,7 @@ ''' Created on 2017年3月30日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: TestQSingleApplication @description: diff --git a/其它/右下角弹出框/README.md b/Demo/右下角弹出框/README.md similarity index 95% rename from 其它/右下角弹出框/README.md rename to Demo/右下角弹出框/README.md index 685208f..116bed6 100644 --- a/其它/右下角弹出框/README.md +++ b/Demo/右下角弹出框/README.md @@ -1,7 +1,7 @@ -# 右下角弹出框 - -### [Python3.4.4 or Python3.5][PyQt5] - -# 截图 -![截图](ScreenShot/1.png) +# 右下角弹出框 + +### [Python3.4.4 or Python3.5][PyQt5] + +# 截图 +![截图](ScreenShot/1.png) ![截图](ScreenShot/2.png) \ No newline at end of file diff --git a/其它/右下角弹出框/ScreenShot/1.png b/Demo/右下角弹出框/ScreenShot/1.png similarity index 100% rename from 其它/右下角弹出框/ScreenShot/1.png rename to Demo/右下角弹出框/ScreenShot/1.png diff --git a/其它/右下角弹出框/ScreenShot/2.png b/Demo/右下角弹出框/ScreenShot/2.png similarity index 100% rename from 其它/右下角弹出框/ScreenShot/2.png rename to Demo/右下角弹出框/ScreenShot/2.png diff --git a/其它/右下角弹出框/UiNotify.py b/Demo/右下角弹出框/UiNotify.py similarity index 100% rename from 其它/右下角弹出框/UiNotify.py rename to Demo/右下角弹出框/UiNotify.py diff --git a/其它/右下角弹出框/WindowNotify.py b/Demo/右下角弹出框/WindowNotify.py similarity index 99% rename from 其它/右下角弹出框/WindowNotify.py rename to Demo/右下角弹出框/WindowNotify.py index 63e8444..694cde2 100644 --- a/其它/右下角弹出框/WindowNotify.py +++ b/Demo/右下角弹出框/WindowNotify.py @@ -4,7 +4,7 @@ ''' Created on 2017年3月30日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: WindowNotify @description: diff --git a/其它/右下角弹出框/notify.ui b/Demo/右下角弹出框/notify.ui similarity index 100% rename from 其它/右下角弹出框/notify.ui rename to Demo/右下角弹出框/notify.ui diff --git a/窗口/外部窗口跟随.py b/Demo/外部窗口跟随.py similarity index 100% rename from 窗口/外部窗口跟随.py rename to Demo/外部窗口跟随.py diff --git a/其它/字体测试/FontAwesome.py b/Demo/字体测试/FontAwesome.py similarity index 99% rename from 其它/字体测试/FontAwesome.py rename to Demo/字体测试/FontAwesome.py index cff957c..49ddbbc 100644 --- a/其它/字体测试/FontAwesome.py +++ b/Demo/字体测试/FontAwesome.py @@ -4,7 +4,7 @@ ''' Created on 2017年3月30日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: FontAwesome @description: diff --git a/其它/字体测试/Fonts/FontAwesome/fontawesome-webfont.ttf b/Demo/字体测试/Fonts/FontAwesome/fontawesome-webfont.ttf similarity index 100% rename from 其它/字体测试/Fonts/FontAwesome/fontawesome-webfont.ttf rename to Demo/字体测试/Fonts/FontAwesome/fontawesome-webfont.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-Black.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-Black.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-Black.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-Black.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-BlackItalic.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-BlackItalic.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-BlackItalic.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-BlackItalic.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-Bold.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-Bold.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-Bold.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-Bold.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-BoldCondensed.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-BoldCondensed.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-BoldCondensed.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-BoldCondensed.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-BoldCondensedItalic.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-BoldCondensedItalic.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-BoldCondensedItalic.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-BoldCondensedItalic.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-BoldItalic.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-BoldItalic.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-BoldItalic.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-BoldItalic.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-Condensed.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-Condensed.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-Condensed.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-Condensed.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-CondensedItalic.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-CondensedItalic.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-CondensedItalic.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-CondensedItalic.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-Italic.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-Italic.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-Italic.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-Italic.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-Light.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-Light.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-Light.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-Light.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-LightItalic.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-LightItalic.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-LightItalic.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-LightItalic.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-Medium.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-Medium.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-Medium.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-Medium.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-MediumItalic.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-MediumItalic.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-MediumItalic.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-MediumItalic.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-Regular.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-Regular.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-Regular.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-Regular.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-Thin.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-Thin.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-Thin.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-Thin.ttf diff --git a/其它/字体测试/Fonts/Roboto/Roboto-ThinItalic.ttf b/Demo/字体测试/Fonts/Roboto/Roboto-ThinItalic.ttf similarity index 100% rename from 其它/字体测试/Fonts/Roboto/Roboto-ThinItalic.ttf rename to Demo/字体测试/Fonts/Roboto/Roboto-ThinItalic.ttf diff --git a/其它/字体测试/README.md b/Demo/字体测试/README.md similarity index 96% rename from 其它/字体测试/README.md rename to Demo/字体测试/README.md index 70c48e2..6cbd493 100644 --- a/其它/字体测试/README.md +++ b/Demo/字体测试/README.md @@ -1,9 +1,9 @@ -# 字体测试 - -### [Python3.4.4 or Python3.5][PyQt5] - -### 其中Roboto字体通过TTF编辑器修改了family,方便QFont加载 - -# 截图 -![截图](ScreenShot/1.png) +# 字体测试 + +### [Python3.4.4 or Python3.5][PyQt5] + +### 其中Roboto字体通过TTF编辑器修改了family,方便QFont加载 + +# 截图 +![截图](ScreenShot/1.png) ![截图](ScreenShot/2.png) \ No newline at end of file diff --git a/其它/字体测试/ScreenShot/1.png b/Demo/字体测试/ScreenShot/1.png similarity index 100% rename from 其它/字体测试/ScreenShot/1.png rename to Demo/字体测试/ScreenShot/1.png diff --git a/其它/字体测试/ScreenShot/2.png b/Demo/字体测试/ScreenShot/2.png similarity index 100% rename from 其它/字体测试/ScreenShot/2.png rename to Demo/字体测试/ScreenShot/2.png diff --git a/其它/字体测试/TestFontAwesome.py b/Demo/字体测试/TestFontAwesome.py similarity index 96% rename from 其它/字体测试/TestFontAwesome.py rename to Demo/字体测试/TestFontAwesome.py index 28c72e3..8556893 100644 --- a/其它/字体测试/TestFontAwesome.py +++ b/Demo/字体测试/TestFontAwesome.py @@ -4,7 +4,7 @@ ''' Created on 2017年3月30日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: TestFontAwesome @description: diff --git a/其它/字体测试/TestFontRoboto.py b/Demo/字体测试/TestFontRoboto.py similarity index 95% rename from 其它/字体测试/TestFontRoboto.py rename to Demo/字体测试/TestFontRoboto.py index 1f18480..ed9b3a4 100644 --- a/其它/字体测试/TestFontRoboto.py +++ b/Demo/字体测试/TestFontRoboto.py @@ -4,7 +4,7 @@ ''' Created on 2017年3月30日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: TestFontRoboto @description: diff --git a/其它/字体测试/提取字符/cheatsheet.txt b/Demo/字体测试/提取字符/cheatsheet.txt similarity index 100% rename from 其它/字体测试/提取字符/cheatsheet.txt rename to Demo/字体测试/提取字符/cheatsheet.txt diff --git a/其它/字体测试/提取字符/get.py b/Demo/字体测试/提取字符/get.py similarity index 100% rename from 其它/字体测试/提取字符/get.py rename to Demo/字体测试/提取字符/get.py diff --git a/其它/字体测试/提取字符/result.txt b/Demo/字体测试/提取字符/result.txt similarity index 100% rename from 其它/字体测试/提取字符/result.txt rename to Demo/字体测试/提取字符/result.txt diff --git a/窗口/嵌入外部窗口.py b/Demo/嵌入外部窗口.py similarity index 100% rename from 窗口/嵌入外部窗口.py rename to Demo/嵌入外部窗口.py diff --git a/窗口/无边框自定义标题栏窗口/FramelessWindow.py b/Demo/无边框自定义标题栏窗口/FramelessWindow.py similarity index 99% rename from 窗口/无边框自定义标题栏窗口/FramelessWindow.py rename to Demo/无边框自定义标题栏窗口/FramelessWindow.py index 56495ad..04afccb 100644 --- a/窗口/无边框自定义标题栏窗口/FramelessWindow.py +++ b/Demo/无边框自定义标题栏窗口/FramelessWindow.py @@ -8,7 +8,7 @@ from PyQt5.QtWidgets import QWidget, QVBoxLayout, QHBoxLayout, QLabel,\ # Created on 2018年4月30日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: FramelessWindow # description: diff --git a/窗口/无边框自定义标题栏窗口/Qt.ico b/Demo/无边框自定义标题栏窗口/Qt.ico similarity index 100% rename from 窗口/无边框自定义标题栏窗口/Qt.ico rename to Demo/无边框自定义标题栏窗口/Qt.ico diff --git a/窗口/无边框自定义标题栏窗口/README.md b/Demo/无边框自定义标题栏窗口/README.md similarity index 100% rename from 窗口/无边框自定义标题栏窗口/README.md rename to Demo/无边框自定义标题栏窗口/README.md diff --git a/窗口/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小1.jpg b/Demo/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小1.jpg similarity index 100% rename from 窗口/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小1.jpg rename to Demo/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小1.jpg diff --git a/窗口/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小2.jpg b/Demo/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小2.jpg similarity index 100% rename from 窗口/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小2.jpg rename to Demo/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小2.jpg diff --git a/窗口/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小3.gif b/Demo/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小3.gif similarity index 100% rename from 窗口/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小3.gif rename to Demo/无边框自定义标题栏窗口/ScreenShot/win无边框调整大小3.gif diff --git a/窗口/无边框自定义标题栏窗口/ScreenShot/无边框自定义标题栏窗口.gif b/Demo/无边框自定义标题栏窗口/ScreenShot/无边框自定义标题栏窗口.gif similarity index 100% rename from 窗口/无边框自定义标题栏窗口/ScreenShot/无边框自定义标题栏窗口.gif rename to Demo/无边框自定义标题栏窗口/ScreenShot/无边框自定义标题栏窗口.gif diff --git a/窗口/无边框自定义标题栏窗口/win无边框调整大小.py b/Demo/无边框自定义标题栏窗口/win无边框调整大小.py similarity index 98% rename from 窗口/无边框自定义标题栏窗口/win无边框调整大小.py rename to Demo/无边框自定义标题栏窗口/win无边框调整大小.py index 891e8fc..018f22d 100644 --- a/窗口/无边框自定义标题栏窗口/win无边框调整大小.py +++ b/Demo/无边框自定义标题栏窗口/win无边框调整大小.py @@ -13,7 +13,7 @@ import win32gui # Created on 2018年8月2日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: win无边框调整大小 # description: diff --git a/窗口/无边框自定义标题栏窗口/无边框自定义标题栏窗口.py b/Demo/无边框自定义标题栏窗口/无边框自定义标题栏窗口.py similarity index 96% rename from 窗口/无边框自定义标题栏窗口/无边框自定义标题栏窗口.py rename to Demo/无边框自定义标题栏窗口/无边框自定义标题栏窗口.py index e606ff8..97ca549 100644 --- a/窗口/无边框自定义标题栏窗口/无边框自定义标题栏窗口.py +++ b/Demo/无边框自定义标题栏窗口/无边框自定义标题栏窗口.py @@ -8,7 +8,7 @@ from FramelessWindow import FramelessWindow # @UnresolvedImport # Created on 2018年4月30日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: Test # description: diff --git a/其它/消息提示/BubbleTips.py b/Demo/消息提示/BubbleTips.py similarity index 99% rename from 其它/消息提示/BubbleTips.py rename to Demo/消息提示/BubbleTips.py index df94d60..8af85c7 100644 --- a/其它/消息提示/BubbleTips.py +++ b/Demo/消息提示/BubbleTips.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月27日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: BubbleTips @description: diff --git a/其它/消息提示/Notification.py b/Demo/消息提示/Notification.py similarity index 99% rename from 其它/消息提示/Notification.py rename to Demo/消息提示/Notification.py index 93bcf4a..f7a0ab1 100644 --- a/其它/消息提示/Notification.py +++ b/Demo/消息提示/Notification.py @@ -4,7 +4,7 @@ """ Created on 2018年9月9日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: Notification @description: diff --git a/其它/消息提示/README.md b/Demo/消息提示/README.md similarity index 100% rename from 其它/消息提示/README.md rename to Demo/消息提示/README.md diff --git a/其它/消息提示/ScreenShot/1.gif b/Demo/消息提示/ScreenShot/1.gif similarity index 100% rename from 其它/消息提示/ScreenShot/1.gif rename to Demo/消息提示/ScreenShot/1.gif diff --git a/其它/消息提示/ScreenShot/2.gif b/Demo/消息提示/ScreenShot/2.gif similarity index 100% rename from 其它/消息提示/ScreenShot/2.gif rename to Demo/消息提示/ScreenShot/2.gif diff --git a/其它/程序重启/AutoRestart.py b/Demo/程序重启/AutoRestart.py similarity index 92% rename from 其它/程序重启/AutoRestart.py rename to Demo/程序重启/AutoRestart.py index 6bb1d6f..23a3ff1 100644 --- a/其它/程序重启/AutoRestart.py +++ b/Demo/程序重启/AutoRestart.py @@ -4,7 +4,7 @@ ''' Created on 2017年3月31日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: AutoRestart @description: diff --git a/其它/程序重启/README.md b/Demo/程序重启/README.md similarity index 94% rename from 其它/程序重启/README.md rename to Demo/程序重启/README.md index 50117ad..ce5c057 100644 --- a/其它/程序重启/README.md +++ b/Demo/程序重启/README.md @@ -1,9 +1,9 @@ -# 程序重启 - -### [Python3.4.4 or Python3.5][PyQt5] - -# 截图 -![截图2](ScreenShot/1.png) - -# exe 下载 +# 程序重启 + +### [Python3.4.4 or Python3.5][PyQt5] + +# 截图 +![截图2](ScreenShot/1.png) + +# exe 下载 [AutoRestart.exe](dist/AutoRestart.exe) \ No newline at end of file diff --git a/其它/程序重启/ScreenShot/1.png b/Demo/程序重启/ScreenShot/1.png similarity index 100% rename from 其它/程序重启/ScreenShot/1.png rename to Demo/程序重启/ScreenShot/1.png diff --git a/窗口/窗口重启.py b/Demo/窗口重启.py similarity index 97% rename from 窗口/窗口重启.py rename to Demo/窗口重启.py index f4ee9c0..2737fd8 100644 --- a/窗口/窗口重启.py +++ b/Demo/窗口重启.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月17日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: RestartMainWindow @description: diff --git a/窗口/简单探测窗口和放大截图.py b/Demo/简单探测窗口和放大截图.py similarity index 98% rename from 窗口/简单探测窗口和放大截图.py rename to Demo/简单探测窗口和放大截图.py index ebdd712..0510c40 100644 --- a/窗口/简单探测窗口和放大截图.py +++ b/Demo/简单探测窗口和放大截图.py @@ -8,7 +8,7 @@ import win32gui # Created on 2018年6月8日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: 简单探测窗口和放大截图 # description: diff --git a/窗口/简单的窗口贴边隐藏.py b/Demo/简单的窗口贴边隐藏.py similarity index 98% rename from 窗口/简单的窗口贴边隐藏.py rename to Demo/简单的窗口贴边隐藏.py index 750bea4..9542e27 100644 --- a/窗口/简单的窗口贴边隐藏.py +++ b/Demo/简单的窗口贴边隐藏.py @@ -4,7 +4,7 @@ """ Created on 2018年3月1日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: WeltHideWindow @description: diff --git a/其它/自动更新/README.md b/Demo/自动更新/README.md similarity index 97% rename from 其它/自动更新/README.md rename to Demo/自动更新/README.md index 5088473..1adc33f 100644 --- a/其它/自动更新/README.md +++ b/Demo/自动更新/README.md @@ -1,6 +1,6 @@ -# 自动更新 - - - dist/mylibs1.zip 为版本一的文件 - - dist/mylibs2.zip 为版本二的文件 - +# 自动更新 + + - dist/mylibs1.zip 为版本一的文件 + - dist/mylibs2.zip 为版本二的文件 + 运行演示后,再次演示。需要把mylibs1.zip中的文件解压出来替换 \ No newline at end of file diff --git a/Demo/自动更新/mylibs/__init__.py b/Demo/自动更新/mylibs/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/其它/自动更新/mylibs/testlibs.py b/Demo/自动更新/mylibs/testlibs.py similarity index 88% rename from 其它/自动更新/mylibs/testlibs.py rename to Demo/自动更新/mylibs/testlibs.py index 2bc2ee4..431226e 100644 --- a/其它/自动更新/mylibs/testlibs.py +++ b/Demo/自动更新/mylibs/testlibs.py @@ -4,7 +4,7 @@ ''' Created on 2017年5月7日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: 自动更新.mylibs.testlibs @description: diff --git a/其它/自动更新/setup.py b/Demo/自动更新/setup.py similarity index 100% rename from 其它/自动更新/setup.py rename to Demo/自动更新/setup.py diff --git a/其它/自动更新/test.py b/Demo/自动更新/test.py similarity index 96% rename from 其它/自动更新/test.py rename to Demo/自动更新/test.py index c00c1dc..b70643a 100644 --- a/其它/自动更新/test.py +++ b/Demo/自动更新/test.py @@ -4,7 +4,7 @@ ''' Created on 2017年5月7日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: 自动更新.test @description: diff --git a/其它/自动更新/编译.bat b/Demo/自动更新/编译.bat similarity index 100% rename from 其它/自动更新/编译.bat rename to Demo/自动更新/编译.bat diff --git a/其它/自定义import/IronyImporter.py b/Demo/自定义import/IronyImporter.py similarity index 95% rename from 其它/自定义import/IronyImporter.py rename to Demo/自定义import/IronyImporter.py index 1f5ff6c..1a67eef 100644 --- a/其它/自定义import/IronyImporter.py +++ b/Demo/自定义import/IronyImporter.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月28日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: IronyImporter @description: diff --git a/其它/自定义import/README.md b/Demo/自定义import/README.md similarity index 95% rename from 其它/自定义import/README.md rename to Demo/自定义import/README.md index 310889e..4ee4369 100644 --- a/其它/自定义import/README.md +++ b/Demo/自定义import/README.md @@ -1,22 +1,22 @@ -# 自定义import -需要Python3.5.2(或者自行编译xxtea) - -简单的了解了下import的原理 - -# 测试过程 - - 1.在src中编写一个test.py - - 2.通过build.py 利用xxtea加密src/test.py 到当前目录的test.irony文件 - - 3.运行main.py 进行测试 - -# 截图 -test.py - -![test.py](ScreenShot/1.png) - -test.irony - -![test.irony](ScreenShot/2.png) - -main.py - +# 自定义import +需要Python3.5.2(或者自行编译xxtea) + +简单的了解了下import的原理 + +# 测试过程 + - 1.在src中编写一个test.py + - 2.通过build.py 利用xxtea加密src/test.py 到当前目录的test.irony文件 + - 3.运行main.py 进行测试 + +# 截图 +test.py + +![test.py](ScreenShot/1.png) + +test.irony + +![test.irony](ScreenShot/2.png) + +main.py + ![main.py](ScreenShot/3.png) \ No newline at end of file diff --git a/其它/自定义import/ScreenShot/1.png b/Demo/自定义import/ScreenShot/1.png similarity index 100% rename from 其它/自定义import/ScreenShot/1.png rename to Demo/自定义import/ScreenShot/1.png diff --git a/其它/自定义import/ScreenShot/2.png b/Demo/自定义import/ScreenShot/2.png similarity index 100% rename from 其它/自定义import/ScreenShot/2.png rename to Demo/自定义import/ScreenShot/2.png diff --git a/其它/自定义import/ScreenShot/3.png b/Demo/自定义import/ScreenShot/3.png similarity index 100% rename from 其它/自定义import/ScreenShot/3.png rename to Demo/自定义import/ScreenShot/3.png diff --git a/其它/自定义import/build.py b/Demo/自定义import/build.py similarity index 90% rename from 其它/自定义import/build.py rename to Demo/自定义import/build.py index 038d87f..86aeba8 100644 --- a/其它/自定义import/build.py +++ b/Demo/自定义import/build.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月28日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: build @description: diff --git a/其它/自定义import/main.py b/Demo/自定义import/main.py similarity index 90% rename from 其它/自定义import/main.py rename to Demo/自定义import/main.py index 74ac4a7..cccc6cb 100644 --- a/其它/自定义import/main.py +++ b/Demo/自定义import/main.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月28日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: main @description: diff --git a/其它/自定义import/src/test.py b/Demo/自定义import/src/test.py similarity index 86% rename from 其它/自定义import/src/test.py rename to Demo/自定义import/src/test.py index 9584b39..07d5d45 100644 --- a/其它/自定义import/src/test.py +++ b/Demo/自定义import/src/test.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月28日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: test @description: diff --git a/其它/自定义import/test.irony b/Demo/自定义import/test.irony similarity index 100% rename from 其它/自定义import/test.irony rename to Demo/自定义import/test.irony diff --git a/其它/自定义import/xxtea.pyd b/Demo/自定义import/xxtea.pyd similarity index 100% rename from 其它/自定义import/xxtea.pyd rename to Demo/自定义import/xxtea.pyd diff --git a/其它/自定义属性测试/README.md b/Demo/自定义属性测试/README.md similarity index 95% rename from 其它/自定义属性测试/README.md rename to Demo/自定义属性测试/README.md index 8df66a9..1b58801 100644 --- a/其它/自定义属性测试/README.md +++ b/Demo/自定义属性测试/README.md @@ -1,6 +1,6 @@ -# 自定义属性测试 - -### [Python3.4.4 or Python3.5][PyQt5] - -# 截图 +# 自定义属性测试 + +### [Python3.4.4 or Python3.5][PyQt5] + +# 截图 ![截图](ScreenShot/1.png) \ No newline at end of file diff --git a/其它/自定义属性测试/ScreenShot/1.png b/Demo/自定义属性测试/ScreenShot/1.png similarity index 100% rename from 其它/自定义属性测试/ScreenShot/1.png rename to Demo/自定义属性测试/ScreenShot/1.png diff --git a/其它/自定义属性测试/自定义属性测试.py b/Demo/自定义属性测试/自定义属性测试.py similarity index 96% rename from 其它/自定义属性测试/自定义属性测试.py rename to Demo/自定义属性测试/自定义属性测试.py index 1f842d2..8a053a2 100644 --- a/其它/自定义属性测试/自定义属性测试.py +++ b/Demo/自定义属性测试/自定义属性测试.py @@ -4,7 +4,7 @@ ''' Created on 2017年4月12日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: 自定义属性测试 @description: diff --git a/其它/调用截图dll(只能用32位)/README.md b/Demo/调用截图dll(只能用32位)/README.md similarity index 100% rename from 其它/调用截图dll(只能用32位)/README.md rename to Demo/调用截图dll(只能用32位)/README.md diff --git a/其它/调用截图dll(只能用32位)/ScreenShot.dll b/Demo/调用截图dll(只能用32位)/ScreenShot.dll similarity index 100% rename from 其它/调用截图dll(只能用32位)/ScreenShot.dll rename to Demo/调用截图dll(只能用32位)/ScreenShot.dll diff --git a/其它/调用截图dll(只能用32位)/ScreenShot/1.gif b/Demo/调用截图dll(只能用32位)/ScreenShot/1.gif similarity index 100% rename from 其它/调用截图dll(只能用32位)/ScreenShot/1.gif rename to Demo/调用截图dll(只能用32位)/ScreenShot/1.gif diff --git a/其它/调用截图dll(只能用32位)/截图DLL测试.py b/Demo/调用截图dll(只能用32位)/截图DLL测试.py similarity index 100% rename from 其它/调用截图dll(只能用32位)/截图DLL测试.py rename to Demo/调用截图dll(只能用32位)/截图DLL测试.py diff --git a/其它/验证码控件/README.md b/Demo/验证码控件/README.md similarity index 96% rename from 其它/验证码控件/README.md rename to Demo/验证码控件/README.md index b10d632..bb1b63f 100644 --- a/其它/验证码控件/README.md +++ b/Demo/验证码控件/README.md @@ -1,11 +1,11 @@ -# 验证码控件 - -### [Python3.4.4 or Python3.5][PyQt5] - -# 截图 -![截图](ScreenShot/1.gif) - -# 说明 -2.更新为paintEvent方式,采用上下跳动 -1.参考网上一些代码,都是采用paintEvent绘制,这里采用QLabel显示html结合字体来显示文字
+# 验证码控件 + +### [Python3.4.4 or Python3.5][PyQt5] + +# 截图 +![截图](ScreenShot/1.gif) + +# 说明 +2.更新为paintEvent方式,采用上下跳动 +1.参考网上一些代码,都是采用paintEvent绘制,这里采用QLabel显示html结合字体来显示文字
然后在paintEvent中绘制噪点和线条 \ No newline at end of file diff --git a/其它/验证码控件/ScreenShot/1.gif b/Demo/验证码控件/ScreenShot/1.gif similarity index 100% rename from 其它/验证码控件/ScreenShot/1.gif rename to Demo/验证码控件/ScreenShot/1.gif diff --git a/其它/验证码控件/WidgetCode.py b/Demo/验证码控件/WidgetCode.py similarity index 98% rename from 其它/验证码控件/WidgetCode.py rename to Demo/验证码控件/WidgetCode.py index 11760e9..1ce368e 100644 --- a/其它/验证码控件/WidgetCode.py +++ b/Demo/验证码控件/WidgetCode.py @@ -4,7 +4,7 @@ ''' Created on 2017年4月5日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: widgets.WidgetCode @description: diff --git a/其它/验证码控件/itckrist.ttf b/Demo/验证码控件/itckrist.ttf similarity index 100% rename from 其它/验证码控件/itckrist.ttf rename to Demo/验证码控件/itckrist.ttf diff --git a/QAxWidget/ViewOffice.py b/QAxWidget/ViewOffice.py index 802cbf5..f30d753 100644 --- a/QAxWidget/ViewOffice.py +++ b/QAxWidget/ViewOffice.py @@ -4,7 +4,7 @@ ''' Created on 2017年4月6日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: ViewOffice @description: diff --git a/美化/QCalendarWidget/CalendarWidget.py b/QCalendarWidget/CalendarQssStyle.py similarity index 96% rename from 美化/QCalendarWidget/CalendarWidget.py rename to QCalendarWidget/CalendarQssStyle.py index 233e72d..6a1ed68 100644 --- a/美化/QCalendarWidget/CalendarWidget.py +++ b/QCalendarWidget/CalendarQssStyle.py @@ -1,11 +1,11 @@ -''' +""" Created on 2018年1月30日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com -@file: CalendarWidget -@description: 日历 -''' +@file: CalendarQssStyle +@description: 日历美化样式 +""" import sys from PyQt5.QtWidgets import QApplication, QCalendarWidget diff --git a/QCalendarWidget/README.md b/QCalendarWidget/README.md index e69de29..b040cba 100644 --- a/QCalendarWidget/README.md +++ b/QCalendarWidget/README.md @@ -0,0 +1,6 @@ +# QCalendarWidget + +## 1、QSS美化日历样式 +[运行 CalendarQssStyle.py](CalendarQssStyle.py) + +![CalendarQssStyle](ScreenShot/CalendarQssStyle.gif) \ No newline at end of file diff --git a/美化/QCalendarWidget/ScreenShot/CalendarWidget.gif b/QCalendarWidget/ScreenShot/CalendarQssStyle.gif similarity index 100% rename from 美化/QCalendarWidget/ScreenShot/CalendarWidget.gif rename to QCalendarWidget/ScreenShot/CalendarQssStyle.gif diff --git a/QChart/BarStack.py b/QChart/BarStack.py index 59f5a23..4310218 100644 --- a/QChart/BarStack.py +++ b/QChart/BarStack.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月28日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: charts.bar.BarStack @description: like http://echarts.baidu.com/demo.html#bar-stack diff --git a/QChart/LineStack.py b/QChart/LineStack.py index d3cf789..1ee13b3 100644 --- a/QChart/LineStack.py +++ b/QChart/LineStack.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月28日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: charts.line.LineStack @description: like http://echarts.baidu.com/demo.html#line-stack diff --git a/QChart/ToolTip.py b/QChart/ToolTip.py index a4e6071..dc34a59 100644 --- a/QChart/ToolTip.py +++ b/QChart/ToolTip.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月23日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: ToolTip @description: diff --git a/QChart/ToolTip2.py b/QChart/ToolTip2.py index 0dc87dd..349473e 100644 --- a/QChart/ToolTip2.py +++ b/QChart/ToolTip2.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月23日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: ToolTip2 @description: diff --git a/QComboBox/CityLinkage.py b/QComboBox/CityLinkage.py index 367a9f1..603f342 100644 --- a/QComboBox/CityLinkage.py +++ b/QComboBox/CityLinkage.py @@ -4,7 +4,7 @@ """ Created on 2018年1月27日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: CityLinkage @description: 下拉联动 diff --git a/美化/QFileSystemModel/FileSystemModel.py b/QFileSystemModel/CustomIcon.py similarity index 93% rename from 美化/QFileSystemModel/FileSystemModel.py rename to QFileSystemModel/CustomIcon.py index 8cb3daf..9eb15b8 100644 --- a/美化/QFileSystemModel/FileSystemModel.py +++ b/QFileSystemModel/CustomIcon.py @@ -1,14 +1,14 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -''' +""" Created on 2018年1月26日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: FileSystemModel @description: -''' +""" import sys from PyQt5.QtCore import QFileInfo @@ -28,8 +28,8 @@ class FileIconProvider(QFileIconProvider): def __init__(self, *args, **kwargs): super(FileIconProvider, self).__init__(*args, **kwargs) - self.DirIcon = QIcon("icons/folder.png") - self.TxtIcon = QIcon("icons/file.png") + self.DirIcon = QIcon("Data/icons/folder.png") + self.TxtIcon = QIcon("Data/icons/file.png") def icon(self, type_info): ''' diff --git a/美化/QFileSystemModel/icons/file.png b/QFileSystemModel/Data/icons/file.png similarity index 100% rename from 美化/QFileSystemModel/icons/file.png rename to QFileSystemModel/Data/icons/file.png diff --git a/美化/QFileSystemModel/icons/folder.png b/QFileSystemModel/Data/icons/folder.png similarity index 100% rename from 美化/QFileSystemModel/icons/folder.png rename to QFileSystemModel/Data/icons/folder.png diff --git a/QFileSystemModel/README.en.md b/QFileSystemModel/README.en.md new file mode 100644 index 0000000..e69de29 diff --git a/QFileSystemModel/README.md b/QFileSystemModel/README.md new file mode 100644 index 0000000..0f95051 --- /dev/null +++ b/QFileSystemModel/README.md @@ -0,0 +1,9 @@ +# QFileSystemModel + +## 1、自定义图标 +[运行 CustomIcon.py](CustomIcon.py) + +1. 继承 `QFileIconProvider` 类实现自己的图标提供器 +2. 重写 `def icon(self, type_info)` 方法根据文件类型返回对应的图标 + +![CustomIcon](ScreenShot/CustomIcon.png) \ No newline at end of file diff --git a/美化/QFileSystemModel/ScreenShot/FileSystemModel.png b/QFileSystemModel/ScreenShot/CustomIcon.png similarity index 100% rename from 美化/QFileSystemModel/ScreenShot/FileSystemModel.png rename to QFileSystemModel/ScreenShot/CustomIcon.png diff --git a/QFlowLayout/HotPlaylist.py b/QFlowLayout/HotPlaylist.py index ce793fd..2fef167 100644 --- a/QFlowLayout/HotPlaylist.py +++ b/QFlowLayout/HotPlaylist.py @@ -4,7 +4,7 @@ ''' Created on 2018年2月4日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: TencentMovieHotPlay_Flow @description: diff --git a/美化/Effect/Images/1.jpg b/QGraphicsDropShadowEffect/Data/1.jpg similarity index 100% rename from 美化/Effect/Images/1.jpg rename to QGraphicsDropShadowEffect/Data/1.jpg diff --git a/QGraphicsDropShadowEffect/README.en.md b/QGraphicsDropShadowEffect/README.en.md new file mode 100644 index 0000000..e69de29 diff --git a/QGraphicsDropShadowEffect/README.md b/QGraphicsDropShadowEffect/README.md new file mode 100644 index 0000000..625115f --- /dev/null +++ b/QGraphicsDropShadowEffect/README.md @@ -0,0 +1,10 @@ +# QGraphicsDropShadowEffect + +## 1、边框阴影动画 +[运行 ShadowEffect.py](ShadowEffect.py) + +1. 对子控件设置 `QGraphicsDropShadowEffect` +2. 配合 `QPropertyAnimation` 属性动画修改半径值 +3. 不能对父控件使用 + +![ShadowEffect](ScreenShot/ShadowEffect.gif) \ No newline at end of file diff --git a/美化/Effect/ScreenShot/图片按钮输入框阴影.gif b/QGraphicsDropShadowEffect/ScreenShot/ShadowEffect.gif similarity index 100% rename from 美化/Effect/ScreenShot/图片按钮输入框阴影.gif rename to QGraphicsDropShadowEffect/ScreenShot/ShadowEffect.gif diff --git a/美化/Effect/图片按钮输入框阴影.py b/QGraphicsDropShadowEffect/ShadowEffect.py similarity index 84% rename from 美化/Effect/图片按钮输入框阴影.py rename to QGraphicsDropShadowEffect/ShadowEffect.py index 3f23d3c..9c03cc6 100644 --- a/美化/Effect/图片按钮输入框阴影.py +++ b/QGraphicsDropShadowEffect/ShadowEffect.py @@ -4,16 +4,16 @@ """ Created on 2018年9月25日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com -@file: Test +@file: ShadowEffect @description: """ from PyQt5.QtCore import Qt from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets import QWidget, QHBoxLayout, QLabel, QPushButton, QLineEdit -from AnimationShadowEffect import AnimationShadowEffect # @UnresolvedImport +from Lib.AnimationShadowEffect import AnimationShadowEffect # @UnresolvedImport __Author__ = """By: Irony @@ -30,7 +30,7 @@ class Window(QWidget): layout = QHBoxLayout(self) # 绿色边框 - labelGreen = QLabel(self, pixmap=QPixmap('Images/1.jpg').scaled(100, 100)) + labelGreen = QLabel(self, pixmap=QPixmap('Data/1.jpg').scaled(100, 100)) layout.addWidget(labelGreen) aniGreen = AnimationShadowEffect(Qt.darkGreen, labelGreen) labelGreen.setGraphicsEffect(aniGreen) @@ -40,7 +40,7 @@ class Window(QWidget): labelRed = QLabel(self) labelRed.setMinimumSize(100, 100) labelRed.setMaximumSize(100, 100) - labelRed.setStyleSheet('border-image: url(Images/1.jpg);border-radius: 50px;') + labelRed.setStyleSheet('border-image: url(Data/1.jpg);border-radius: 50px;') layout.addWidget(labelRed) aniRed = AnimationShadowEffect(Qt.red, labelGreen) labelRed.setGraphicsEffect(aniRed) diff --git a/QGraphicsView/AddQWidget.py b/QGraphicsView/AddQWidget.py index 779ad48..1689972 100644 --- a/QGraphicsView/AddQWidget.py +++ b/QGraphicsView/AddQWidget.py @@ -4,7 +4,7 @@ """ Created on 2017年12月23日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: AddQWidget @description: diff --git a/QGraphicsView/WorldMap.py b/QGraphicsView/WorldMap.py index 3d73640..3efc7b1 100644 --- a/QGraphicsView/WorldMap.py +++ b/QGraphicsView/WorldMap.py @@ -4,7 +4,7 @@ """ Created on 2017年12月17日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: WorldMap @description: diff --git a/QGridLayout/HotPlaylist.py b/QGridLayout/HotPlaylist.py index 4053c12..a2022c2 100644 --- a/QGridLayout/HotPlaylist.py +++ b/QGridLayout/HotPlaylist.py @@ -4,7 +4,7 @@ ''' Created on 2018年2月4日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: TencentMovieHotPlay @description: diff --git a/美化/QLabel/圆形图片.py b/QLabel/CircleImage.py similarity index 82% rename from 美化/QLabel/圆形图片.py rename to QLabel/CircleImage.py index baafabd..0c805cb 100644 --- a/美化/QLabel/圆形图片.py +++ b/QLabel/CircleImage.py @@ -1,19 +1,18 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -''' +""" Created on 2018年1月20日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com -@file: CircleLabel -@description: -''' +@file: CircleImage +@description: 圆形图片 +""" from PyQt5.QtCore import Qt from PyQt5.QtGui import QPixmap, QPainter, QPainterPath from PyQt5.QtWidgets import QLabel, QWidget, QHBoxLayout - __Author__ = "By: Irony.\"[讽刺]\nQQ: 892768447\nEmail: 892768447@qq.com" __Copyright__ = "Copyright (c) 2018 Irony.\"[讽刺]" __Version__ = "Version 1.0" @@ -32,7 +31,7 @@ class Label(QLabel): self.target = QPixmap(self.size()) # 大小和控件一样 self.target.fill(Qt.transparent) # 填充背景为透明 - p = QPixmap("Images/head.jpg").scaled( # 加载图片并缩放和控件一样大 + p = QPixmap("Data/Images/head.jpg").scaled( # 加载图片并缩放和控件一样大 200, 200, Qt.KeepAspectRatioByExpanding, Qt.SmoothTransformation) painter = QPainter(self.target) @@ -42,14 +41,14 @@ class Label(QLabel): painter.setRenderHint(QPainter.HighQualityAntialiasing, True) painter.setRenderHint(QPainter.SmoothPixmapTransform, True) -# painter.setPen(# 测试圆圈 -# QPen(Qt.red, 5, Qt.SolidLine, Qt.RoundCap, Qt.RoundJoin)) + # painter.setPen(# 测试圆圈 + # QPen(Qt.red, 5, Qt.SolidLine, Qt.RoundCap, Qt.RoundJoin)) path = QPainterPath() path.addRoundedRect( 0, 0, self.width(), self.height(), self.radius, self.radius) - #**** 切割为圆形 ****# + # **** 切割为圆形 ****# painter.setClipPath(path) -# painter.drawPath(path) # 测试圆圈 + # painter.drawPath(path) # 测试圆圈 painter.drawPixmap(0, 0, p) self.setPixmap(self.target) @@ -69,6 +68,7 @@ class Window(QWidget): if __name__ == "__main__": import sys from PyQt5.QtWidgets import QApplication + app = QApplication(sys.argv) w = Window() w.show() diff --git a/美化/QLabel/Images/head.jpg b/QLabel/Data/Images/head.jpg similarity index 100% rename from 美化/QLabel/Images/head.jpg rename to QLabel/Data/Images/head.jpg diff --git a/QLabel/ImageRotate.py b/QLabel/ImageRotate.py index 5a650bf..f0dd48d 100644 --- a/QLabel/ImageRotate.py +++ b/QLabel/ImageRotate.py @@ -4,7 +4,7 @@ """ Created on 2018年11月19日 @author: Irony -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: @description: diff --git a/QLabel/ImageSlipped.py b/QLabel/ImageSlipped.py index 018d934..dfcac07 100644 --- a/QLabel/ImageSlipped.py +++ b/QLabel/ImageSlipped.py @@ -4,7 +4,7 @@ """ Created on 2018年10月18日 @author: Irony -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: ImageSlipped @description: diff --git a/QLabel/NinePatch.py b/QLabel/NinePatch.py index 7893c8c..936faf7 100644 --- a/QLabel/NinePatch.py +++ b/QLabel/NinePatch.py @@ -4,7 +4,7 @@ """ Created on 2018年10月25日 @author: Irony -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: NinePatch @description: diff --git a/QLabel/QtNinePatch.py b/QLabel/QtNinePatch.py index da8df5e..8fbdbc9 100644 --- a/QLabel/QtNinePatch.py +++ b/QLabel/QtNinePatch.py @@ -4,7 +4,7 @@ """ Created on 2018年10月25日 @author: Irony -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: testQtNinePatch @description: diff --git a/QLabel/QtNinePatch2.py b/QLabel/QtNinePatch2.py index 44f4af1..187b15c 100644 --- a/QLabel/QtNinePatch2.py +++ b/QLabel/QtNinePatch2.py @@ -4,7 +4,7 @@ """ Created on 2018年10月25日 @author: Irony -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: QtNinePatch2 @description: diff --git a/QLabel/README.md b/QLabel/README.md index d487e6d..2d068ac 100644 --- a/QLabel/README.md +++ b/QLabel/README.md @@ -93,4 +93,11 @@ qt_path = 'D:/soft/Qt/Qt5.5.1/5.5/msvc2010' 5、`python configure.py` -![NinePatchImage](ScreenShot/NinePatchImage.gif) \ No newline at end of file +![NinePatchImage](ScreenShot/NinePatchImage.gif) + +### 5、圆形图片 +[运行 CircleImage.py](CircleImage.py) + +使用`QPainter`的`setClipPath`方法结合`QPainterPath`对图片进行裁剪从而实现圆形图片。 + +![CircleImage](ScreenShot/CircleImage.png) \ No newline at end of file diff --git a/美化/QLabel/ScreenShot/圆形图片.png b/QLabel/ScreenShot/CircleImage.png similarity index 100% rename from 美化/QLabel/ScreenShot/圆形图片.png rename to QLabel/ScreenShot/CircleImage.png diff --git a/QLabel/ShowImage.py b/QLabel/ShowImage.py index 848a095..ac3fb9f 100644 --- a/QLabel/ShowImage.py +++ b/QLabel/ShowImage.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月23日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: ShowImage @description: diff --git a/QListView/CustomWidgetItem.py b/QListView/CustomWidgetItem.py index e9c12f9..6a8a1be 100644 --- a/QListView/CustomWidgetItem.py +++ b/QListView/CustomWidgetItem.py @@ -8,7 +8,7 @@ from PyQt5.QtWidgets import QListView, QWidget, QHBoxLayout, QLineEdit,\ # Created on 2018年8月4日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: QListView.显示自定义Widget # description: diff --git a/QListView/CustomWidgetSortItem.py b/QListView/CustomWidgetSortItem.py index 3a37ee5..09fe903 100644 --- a/QListView/CustomWidgetSortItem.py +++ b/QListView/CustomWidgetSortItem.py @@ -12,7 +12,7 @@ from PyQt5.QtWidgets import QWidget, QVBoxLayout, QPushButton, QListView,\ # Created on 2018年8月4日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: QListView.显示自定义Widget并排序 # description: diff --git a/QListView/SortItemByRole.py b/QListView/SortItemByRole.py index 5239d40..269bd6f 100644 --- a/QListView/SortItemByRole.py +++ b/QListView/SortItemByRole.py @@ -4,7 +4,7 @@ """ Created on 2018年12月27日 @author: Irony -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: QListView.SortItemByRole @description: diff --git a/QListWidget/DeleteCustomItem.py b/QListWidget/DeleteCustomItem.py index 1fb3e30..a2d4933 100644 --- a/QListWidget/DeleteCustomItem.py +++ b/QListWidget/DeleteCustomItem.py @@ -4,7 +4,7 @@ """ Created on 2018年11月4日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: 删除Item @description: diff --git a/QListWidget/DragDrop.py b/QListWidget/DragDrop.py index 3104301..dcc8818 100644 --- a/QListWidget/DragDrop.py +++ b/QListWidget/DragDrop.py @@ -4,7 +4,7 @@ """ Created on 2018年9月14日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: DragListWidget @description: diff --git a/QListWidget/HotPlaylist.py b/QListWidget/HotPlaylist.py index 694d0f1..bcba0d6 100644 --- a/QListWidget/HotPlaylist.py +++ b/QListWidget/HotPlaylist.py @@ -4,7 +4,7 @@ ''' Created on 2018年2月4日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: TencentMovieHotPlay_ListWidget @description: diff --git a/窗口/消息对话框倒计时关闭.py b/QMessageBox/CountDownClose.py similarity index 97% rename from 窗口/消息对话框倒计时关闭.py rename to QMessageBox/CountDownClose.py index f80d890..2252ce0 100644 --- a/窗口/消息对话框倒计时关闭.py +++ b/QMessageBox/CountDownClose.py @@ -4,7 +4,7 @@ """ Created on 2018年6月22日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: MessageBox @description: diff --git a/QMessageBox/README.en.md b/QMessageBox/README.en.md new file mode 100644 index 0000000..e69de29 diff --git a/QMessageBox/README.md b/QMessageBox/README.md new file mode 100644 index 0000000..6833014 --- /dev/null +++ b/QMessageBox/README.md @@ -0,0 +1,9 @@ +# QMessageBox + +## 1、消息对话框倒计时关闭 +[运行 CountDownClose.py](CountDownClose.py) + +1. 通过继承`QMessageBox`实现倒计时关闭的对话框 +1. `QTimer`定时器关闭窗口 + +![CountDownClose](ScreenShot/CountDownClose.gif) \ No newline at end of file diff --git a/窗口/ScreenShot/消息对话框倒计时关闭.gif b/QMessageBox/ScreenShot/CountDownClose.gif similarity index 100% rename from 窗口/ScreenShot/消息对话框倒计时关闭.gif rename to QMessageBox/ScreenShot/CountDownClose.gif diff --git a/QPropertyAnimation/FadeInOut.py b/QPropertyAnimation/FadeInOut.py index 688ecea..edf30ea 100644 --- a/QPropertyAnimation/FadeInOut.py +++ b/QPropertyAnimation/FadeInOut.py @@ -6,7 +6,7 @@ from PyQt5.QtWidgets import QWidget, QVBoxLayout, QPushButton # Created on 2018年6月14日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: FadeInOut # description: diff --git a/QPropertyAnimation/MenuAnimation.py b/QPropertyAnimation/MenuAnimation.py index a536dcc..e8a84c5 100644 --- a/QPropertyAnimation/MenuAnimation.py +++ b/QPropertyAnimation/MenuAnimation.py @@ -4,7 +4,7 @@ """ Created on 2018年8月22日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: MenuAnimation @description: diff --git a/QPropertyAnimation/RlatticeEffect.py b/QPropertyAnimation/RlatticeEffect.py index ed8d7ce..7c44337 100644 --- a/QPropertyAnimation/RlatticeEffect.py +++ b/QPropertyAnimation/RlatticeEffect.py @@ -4,7 +4,7 @@ """ Created on 2018年11月22日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: RlatticeEffect @description: diff --git a/QProxyStyle/Lib/TabBarStyle.py b/QProxyStyle/Lib/TabBarStyle.py index f31bc37..12d7c8a 100644 --- a/QProxyStyle/Lib/TabBarStyle.py +++ b/QProxyStyle/Lib/TabBarStyle.py @@ -4,7 +4,7 @@ """ Created on 2018年12月27日 @author: Irony -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: TabBarStyle @description: diff --git a/QProxyStyle/TabTextDirection.py b/QProxyStyle/TabTextDirection.py index 350a455..22dc4d8 100644 --- a/QProxyStyle/TabTextDirection.py +++ b/QProxyStyle/TabTextDirection.py @@ -4,7 +4,7 @@ """ Created on 2018年12月27日 @author: Irony -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: TestTabWidget @description: diff --git a/QScrollArea/QQSettingPanel.py b/QScrollArea/QQSettingPanel.py index 24b850a..6dccd7c 100644 --- a/QScrollArea/QQSettingPanel.py +++ b/QScrollArea/QQSettingPanel.py @@ -7,7 +7,7 @@ from Lib.SettingUi import Ui_Setting # @UnresolvedImport # Created on 2018年3月28日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: QQSettingPanel # description: diff --git a/其它/串口调试小助手/UiSerialPort.ui b/QSerialPort/Data/UiSerialPort.ui similarity index 100% rename from 其它/串口调试小助手/UiSerialPort.ui rename to QSerialPort/Data/UiSerialPort.ui diff --git a/QSerialPort/README.en.md b/QSerialPort/README.en.md new file mode 100644 index 0000000..e69de29 diff --git a/其它/串口调试小助手/README.md b/QSerialPort/README.md similarity index 75% rename from 其它/串口调试小助手/README.md rename to QSerialPort/README.md index 29b5eae..6e97a66 100644 --- a/其它/串口调试小助手/README.md +++ b/QSerialPort/README.md @@ -1,4 +1,7 @@ -# 串口调试小助手 +# + +## 1、串口调试小助手 +[运行 SerialDebugAssistant.py](SerialDebugAssistant.py) 用`QSerialPort`写了个类似串口调试小助手的工具, 这个类的官方资料: http://doc.qt.io/qt-5/qserialport.html @@ -11,4 +14,4 @@ 1. `QSerialPort.setFlowControl` 设置流控制 -![截图](ScreenShot/串口调试小助手.gif) \ No newline at end of file +![SerialDebugAssistant](ScreenShot/SerialDebugAssistant.gif) \ No newline at end of file diff --git a/其它/串口调试小助手/ScreenShot/串口调试小助手.gif b/QSerialPort/ScreenShot/SerialDebugAssistant.gif similarity index 100% rename from 其它/串口调试小助手/ScreenShot/串口调试小助手.gif rename to QSerialPort/ScreenShot/SerialDebugAssistant.gif diff --git a/其它/串口调试小助手/串口调试小助手.py b/QSerialPort/SerialDebugAssistant.py similarity index 92% rename from 其它/串口调试小助手/串口调试小助手.py rename to QSerialPort/SerialDebugAssistant.py index 8219ae7..0f87638 100644 --- a/其它/串口调试小助手/串口调试小助手.py +++ b/QSerialPort/SerialDebugAssistant.py @@ -4,16 +4,16 @@ """ Created on 2018年11月6日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com -@file: 串口调试小助手 -@description: +@file: SerialDebugAssistant +@description: 串口调试小助手 """ from PyQt5.QtCore import pyqtSlot, QIODevice, QByteArray from PyQt5.QtSerialPort import QSerialPortInfo, QSerialPort -from PyQt5.QtWidgets import QWidget +from PyQt5.QtWidgets import QWidget, QMessageBox -from UiSerialPort import Ui_FormSerialPort # @UnresolvedImport +from Lib.UiSerialPort import Ui_FormSerialPort # @UnresolvedImport __Author__ = """By: Irony @@ -46,7 +46,11 @@ class Window(QWidget, Ui_FormSerialPort): return # 根据配置连接串口 - port = self._ports[self.comboBoxPort.currentText()] + name = self.comboBoxPort.currentText() + if not name: + QMessageBox.critical(self, '错误', '没有选择串口') + return + port = self._ports[name] # self._serial.setPort(port) # 根据名字设置串口(也可以用上面的函数) self._serial.setPortName(port.systemLocation()) diff --git a/QSlider/ClickJumpSlider.py b/QSlider/ClickJumpSlider.py index 1184df8..3e7f00a 100644 --- a/QSlider/ClickJumpSlider.py +++ b/QSlider/ClickJumpSlider.py @@ -4,7 +4,7 @@ """ Created on 2018年11月5日 @author: Irony -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: ClickJumpSlider @description: diff --git a/QSplitter/README.md b/QSplitter/README.md new file mode 100644 index 0000000..b19695b --- /dev/null +++ b/QSplitter/README.md @@ -0,0 +1,11 @@ +# QSplitter + +## 1、分割窗口的分割条重绘 +[运行 RewriteHandle.py](RewriteHandle.py) + +1. 原理在于`QSplitter`在创建分割条的时候会调用`createHandle`函数 +1. 通过重新写`createHandle`返回自己的`QSplitterHandle`类 +1. 通过`QSplitterHandle`的`paintEvent`实现绘制其它形状, +1. 重写`mousePressEvent`和`mouseMoveEvent`来实现鼠标的其它事件 + +![RewriteHandle](ScreenShot/RewriteHandle.gif) \ No newline at end of file diff --git a/窗口/分割窗口的分割条重写.py b/QSplitter/RewriteHandle.py similarity index 98% rename from 窗口/分割窗口的分割条重写.py rename to QSplitter/RewriteHandle.py index 0a70531..241f6c2 100644 --- a/窗口/分割窗口的分割条重写.py +++ b/QSplitter/RewriteHandle.py @@ -4,7 +4,7 @@ """ Created on 2018年3月21日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: Splitter @description: diff --git a/窗口/ScreenShot/分割窗口的分割条重写.gif b/QSplitter/ScreenShot/RewriteHandle.gif similarity index 100% rename from 窗口/ScreenShot/分割窗口的分割条重写.gif rename to QSplitter/ScreenShot/RewriteHandle.gif diff --git a/QStackedWidget/LeftTabStacked.py b/QStackedWidget/LeftTabStacked.py index 140e1c9..298b849 100644 --- a/QStackedWidget/LeftTabStacked.py +++ b/QStackedWidget/LeftTabStacked.py @@ -10,7 +10,7 @@ from PyQt5.QtWidgets import QWidget, QListWidget, QStackedWidget, QHBoxLayout,\ # Created on 2018年5月29日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: LeftTabWidget # description: diff --git a/QTableView/CopyContent.py b/QTableView/CopyContent.py index fa93310..b5c8294 100644 --- a/QTableView/CopyContent.py +++ b/QTableView/CopyContent.py @@ -4,7 +4,7 @@ ''' Created on 2017年4月6日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: CopyContent @description: diff --git a/QTableWidget/SqlQuery.py b/QTableWidget/SqlQuery.py index 256dda9..0e417f7 100644 --- a/QTableWidget/SqlQuery.py +++ b/QTableWidget/SqlQuery.py @@ -4,7 +4,7 @@ """ Created on 2018年5月15日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: SqlQuery @description: diff --git a/QThread/InheritQThread.py b/QThread/InheritQThread.py index ed49605..ea10801 100644 --- a/QThread/InheritQThread.py +++ b/QThread/InheritQThread.py @@ -4,7 +4,7 @@ """ Created on 2018年3月9日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: InheritQThread @description: 继承QThread diff --git a/QThread/SuspendThread.py b/QThread/SuspendThread.py index 73f63a2..707324e 100644 --- a/QThread/SuspendThread.py +++ b/QThread/SuspendThread.py @@ -10,7 +10,7 @@ from win32process import SuspendThread, ResumeThread # Created on 2018年3月13日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: 多线程使用.a # description: diff --git a/QThread/WakeupThread.py b/QThread/WakeupThread.py index ac60291..2f11a80 100644 --- a/QThread/WakeupThread.py +++ b/QThread/WakeupThread.py @@ -4,7 +4,7 @@ """ Created on 2018年11月11日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: @description: diff --git a/QThread/moveToThread.py b/QThread/moveToThread.py index c1fd9e5..84e05c7 100644 --- a/QThread/moveToThread.py +++ b/QThread/moveToThread.py @@ -4,7 +4,7 @@ """ Created on 2018年3月9日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: moveToThread @description: moveToThread diff --git a/QTreeWidget/ParsingJson.py b/QTreeWidget/ParsingJson.py index 0ff2ddc..dbbc088 100644 --- a/QTreeWidget/ParsingJson.py +++ b/QTreeWidget/ParsingJson.py @@ -4,7 +4,7 @@ """ Created on 2018年4月8日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: ParsingJson @description: diff --git a/QWebEngineView/GetCookie.py b/QWebEngineView/GetCookie.py index accdd1f..11a4755 100644 --- a/QWebEngineView/GetCookie.py +++ b/QWebEngineView/GetCookie.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月10日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: GetCookie @description: diff --git a/QWebView/DreamTree.py b/QWebView/DreamTree.py index 1babe9e..8263b01 100644 --- a/QWebView/DreamTree.py +++ b/QWebView/DreamTree.py @@ -4,7 +4,7 @@ ''' Created on 2017年4月6日 @author: Irony."[讽刺] -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: DreamTree @description: diff --git a/QWebView/GetCookie.py b/QWebView/GetCookie.py index 1562a26..41aa88a 100644 --- a/QWebView/GetCookie.py +++ b/QWebView/GetCookie.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月10日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: GetCookie @description: diff --git a/README.md b/README.md index ad7a2cf..36939e7 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ https://pyqt5.com 社区是专门针对PyQt5学习和提升开设的博客网站 | 单选框 | [QRadioButton](QRadioButton) | 滚动区 | [QScrollArea](QScrollArea) | 滑动条 | [QScrollBar](QScrollBar) +| 串口 | [QSerialPort](QSerialPort) | 拉动条 | [QSlider](QSlider) | 拉伸条 | [QSpacerItem](QSpacerItem) | 单精度编辑 | [QSpinBox](QSpinBox) diff --git a/Test/网络/控制小车/server.py b/Test/网络/控制小车/server.py index d60c5c5..2a64261 100644 --- a/Test/网络/控制小车/server.py +++ b/Test/网络/控制小车/server.py @@ -19,7 +19,7 @@ except: # Created on 2018年4月18日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: server # description: diff --git a/Test/网络/控制小车/控制小车.py b/Test/网络/控制小车/控制小车.py index 45eced4..e4b184e 100644 --- a/Test/网络/控制小车/控制小车.py +++ b/Test/网络/控制小车/控制小车.py @@ -9,7 +9,7 @@ from PyQt5.QtWidgets import QWidget # Created on 2018年4月18日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: ControlCar # description: diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.Build.CppClean.log b/其它/C和C++扩展/pydext/pydext/Release/pydext.Build.CppClean.log deleted file mode 100644 index dc18046..0000000 --- a/其它/C和C++扩展/pydext/pydext/Release/pydext.Build.CppClean.log +++ /dev/null @@ -1,15 +0,0 @@ -f:\python\github\pyqt\c和c++扩展\pydext\pydext\release\vc141.pdb -f:\python\github\pyqt\c和c++扩展\pydext\pydext\release\pydext.obj -f:\python\github\pyqt\c和c++扩展\pydext\release\pydext.pyd -f:\python\github\pyqt\c和c++扩展\pydext\release\pydext.pdb -f:\python\github\pyqt\c和c++扩展\pydext\release\pydext.lib -f:\python\github\pyqt\c和c++扩展\pydext\release\pydext.exp -f:\python\github\pyqt\c和c++扩展\pydext\release\pydext.ipdb -f:\python\github\pyqt\c和c++扩展\pydext\release\pydext.iobj -f:\python\github\pyqt\c和c++扩展\pydext\pydext\release\pydext.tlog\cl.command.1.tlog -f:\python\github\pyqt\c和c++扩展\pydext\pydext\release\pydext.tlog\cl.read.1.tlog -f:\python\github\pyqt\c和c++扩展\pydext\pydext\release\pydext.tlog\cl.write.1.tlog -f:\python\github\pyqt\c和c++扩展\pydext\pydext\release\pydext.tlog\link.command.1.tlog -f:\python\github\pyqt\c和c++扩展\pydext\pydext\release\pydext.tlog\link.read.1.tlog -f:\python\github\pyqt\c和c++扩展\pydext\pydext\release\pydext.tlog\link.write.1.tlog -f:\python\github\pyqt\c和c++扩展\pydext\pydext\release\pydext.tlog\pydext.write.1u.tlog diff --git a/其它/C和C++扩展/pydext/pydext/Release/pydext.log b/其它/C和C++扩展/pydext/pydext/Release/pydext.log deleted file mode 100644 index 91e2402..0000000 --- a/其它/C和C++扩展/pydext/pydext/Release/pydext.log +++ /dev/null @@ -1,7 +0,0 @@ -F:\Python\Github\PyQt\C和C++扩展\pydext\pydext\pydext.vcxproj(201,5): warning : Python debug symbols are not installed. Installing the symbols through the Python installer is strongly recommended. - pydext.c - 正在创建库 F:\Python\Github\PyQt\C和C++扩展\pydext\Release\pydext.lib 和对象 F:\Python\Github\PyQt\C和C++扩展\pydext\Release\pydext.exp - 正在生成代码 - All 5 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. - 已完成代码的生成 - pydext.vcxproj -> F:\Python\Github\PyQt\C和C++扩展\pydext\Release\pydext.pyd diff --git a/其它/C和C++扩展/pydext/pydext/build/lib.win32-3.5/pydext.cp35-win32.pyd b/其它/C和C++扩展/pydext/pydext/build/lib.win32-3.5/pydext.cp35-win32.pyd deleted file mode 100644 index 08d61cb..0000000 Binary files a/其它/C和C++扩展/pydext/pydext/build/lib.win32-3.5/pydext.cp35-win32.pyd and /dev/null differ diff --git a/其它/C和C++扩展/pydext/pydext/build/temp.win32-3.5/Release/pydext.cp35-win32.exp b/其它/C和C++扩展/pydext/pydext/build/temp.win32-3.5/Release/pydext.cp35-win32.exp deleted file mode 100644 index 1e2436f..0000000 Binary files a/其它/C和C++扩展/pydext/pydext/build/temp.win32-3.5/Release/pydext.cp35-win32.exp and /dev/null differ diff --git a/其它/C和C++扩展/pydext/pydext/build/temp.win32-3.5/Release/pydext.cp35-win32.lib b/其它/C和C++扩展/pydext/pydext/build/temp.win32-3.5/Release/pydext.cp35-win32.lib deleted file mode 100644 index a8e6104..0000000 Binary files a/其它/C和C++扩展/pydext/pydext/build/temp.win32-3.5/Release/pydext.cp35-win32.lib and /dev/null differ diff --git a/其它/C和C++扩展/pydext/pydext/build/temp.win32-3.5/Release/pydext.obj b/其它/C和C++扩展/pydext/pydext/build/temp.win32-3.5/Release/pydext.obj deleted file mode 100644 index 1ec8e2b..0000000 Binary files a/其它/C和C++扩展/pydext/pydext/build/temp.win32-3.5/Release/pydext.obj and /dev/null differ diff --git a/其它/C和C++扩展/pyx和c++/build/lib.win32-3.5/CalSpecSpea.cp35-win32.pyd b/其它/C和C++扩展/pyx和c++/build/lib.win32-3.5/CalSpecSpea.cp35-win32.pyd deleted file mode 100644 index 6f24eb9..0000000 Binary files a/其它/C和C++扩展/pyx和c++/build/lib.win32-3.5/CalSpecSpea.cp35-win32.pyd and /dev/null differ diff --git a/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpea.cp35-win32.exp b/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpea.cp35-win32.exp deleted file mode 100644 index e8feb8b..0000000 Binary files a/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpea.cp35-win32.exp and /dev/null differ diff --git a/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpea.cp35-win32.lib b/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpea.cp35-win32.lib deleted file mode 100644 index de9f128..0000000 Binary files a/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpea.cp35-win32.lib and /dev/null differ diff --git a/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpea.obj b/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpea.obj deleted file mode 100644 index b544e93..0000000 Binary files a/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpea.obj and /dev/null differ diff --git a/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpeaLib.obj b/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpeaLib.obj deleted file mode 100644 index 5c6f987..0000000 Binary files a/其它/C和C++扩展/pyx和c++/build/temp.win32-3.5/Release/CalSpecSpeaLib.obj and /dev/null differ diff --git a/其它/C和C++扩展/py转pyd/build/lib.win32-3.5/pydmod.cp35-win32.pyd b/其它/C和C++扩展/py转pyd/build/lib.win32-3.5/pydmod.cp35-win32.pyd deleted file mode 100644 index 30b0a00..0000000 Binary files a/其它/C和C++扩展/py转pyd/build/lib.win32-3.5/pydmod.cp35-win32.pyd and /dev/null differ diff --git a/其它/C和C++扩展/py转pyd/build/temp.win32-3.5/Release/pydmod.cp35-win32.exp b/其它/C和C++扩展/py转pyd/build/temp.win32-3.5/Release/pydmod.cp35-win32.exp deleted file mode 100644 index b24a67e..0000000 Binary files a/其它/C和C++扩展/py转pyd/build/temp.win32-3.5/Release/pydmod.cp35-win32.exp and /dev/null differ diff --git a/其它/C和C++扩展/py转pyd/build/temp.win32-3.5/Release/pydmod.cp35-win32.lib b/其它/C和C++扩展/py转pyd/build/temp.win32-3.5/Release/pydmod.cp35-win32.lib deleted file mode 100644 index 4cc90b1..0000000 Binary files a/其它/C和C++扩展/py转pyd/build/temp.win32-3.5/Release/pydmod.cp35-win32.lib and /dev/null differ diff --git a/其它/C和C++扩展/py转pyd/build/temp.win32-3.5/Release/pydmod.obj b/其它/C和C++扩展/py转pyd/build/temp.win32-3.5/Release/pydmod.obj deleted file mode 100644 index 91888d0..0000000 Binary files a/其它/C和C++扩展/py转pyd/build/temp.win32-3.5/Release/pydmod.obj and /dev/null differ diff --git a/其它/串口调试小助手/UiSerialPort.py b/其它/串口调试小助手/UiSerialPort.py deleted file mode 100644 index 0da8c35..0000000 --- a/其它/串口调试小助手/UiSerialPort.py +++ /dev/null @@ -1,175 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'UiSerialPort.ui' -# -# Created by: PyQt5 UI code generator 5.10.1 -# -# WARNING! All changes made in this file will be lost! - -from PyQt5 import QtCore, QtGui, QtWidgets - -class Ui_FormSerialPort(object): - def setupUi(self, FormSerialPort): - FormSerialPort.setObjectName("FormSerialPort") - FormSerialPort.resize(721, 597) - FormSerialPort.setStyleSheet("#labelStatus {\n" -" border-radius: 13px;\n" -" background-color: gray;\n" -"}\n" -"#labelStatus[isOn=\"true\"] {\n" -" background-color: green;\n" -"}") - self.gridLayout = QtWidgets.QGridLayout(FormSerialPort) - self.gridLayout.setObjectName("gridLayout") - self.groupBox = QtWidgets.QGroupBox(FormSerialPort) - self.groupBox.setTitle("") - self.groupBox.setObjectName("groupBox") - self.formLayout = QtWidgets.QFormLayout(self.groupBox) - self.formLayout.setLabelAlignment(QtCore.Qt.AlignCenter) - self.formLayout.setObjectName("formLayout") - self.label = QtWidgets.QLabel(self.groupBox) - self.label.setObjectName("label") - self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label) - self.comboBoxPort = QtWidgets.QComboBox(self.groupBox) - self.comboBoxPort.setObjectName("comboBoxPort") - self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.comboBoxPort) - self.label_2 = QtWidgets.QLabel(self.groupBox) - self.label_2.setObjectName("label_2") - self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2) - self.comboBoxBaud = QtWidgets.QComboBox(self.groupBox) - self.comboBoxBaud.setObjectName("comboBoxBaud") - self.comboBoxBaud.addItem("") - self.comboBoxBaud.addItem("") - self.comboBoxBaud.addItem("") - self.comboBoxBaud.addItem("") - self.comboBoxBaud.addItem("") - self.comboBoxBaud.addItem("") - self.comboBoxBaud.addItem("") - self.comboBoxBaud.addItem("") - self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.comboBoxBaud) - self.label_3 = QtWidgets.QLabel(self.groupBox) - self.label_3.setObjectName("label_3") - self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_3) - self.comboBoxParity = QtWidgets.QComboBox(self.groupBox) - self.comboBoxParity.setObjectName("comboBoxParity") - self.comboBoxParity.addItem("") - self.comboBoxParity.addItem("") - self.comboBoxParity.addItem("") - self.comboBoxParity.addItem("") - self.comboBoxParity.addItem("") - self.comboBoxParity.addItem("") - self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.comboBoxParity) - self.label_4 = QtWidgets.QLabel(self.groupBox) - self.label_4.setObjectName("label_4") - self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_4) - self.comboBoxData = QtWidgets.QComboBox(self.groupBox) - self.comboBoxData.setObjectName("comboBoxData") - self.comboBoxData.addItem("") - self.comboBoxData.addItem("") - self.comboBoxData.addItem("") - self.comboBoxData.addItem("") - self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.comboBoxData) - self.label_5 = QtWidgets.QLabel(self.groupBox) - self.label_5.setObjectName("label_5") - self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_5) - self.comboBoxStop = QtWidgets.QComboBox(self.groupBox) - self.comboBoxStop.setObjectName("comboBoxStop") - self.comboBoxStop.addItem("") - self.comboBoxStop.addItem("") - self.comboBoxStop.addItem("") - self.comboBoxStop.addItem("") - self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.comboBoxStop) - self.buttonConnect = QtWidgets.QPushButton(self.groupBox) - self.buttonConnect.setObjectName("buttonConnect") - self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.buttonConnect) - self.labelStatus = QtWidgets.QLabel(self.groupBox) - self.labelStatus.setProperty("isOn", False) - self.labelStatus.setObjectName("labelStatus") - self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.labelStatus) - spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) - self.formLayout.setItem(6, QtWidgets.QFormLayout.FieldRole, spacerItem) - self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1) - self.textBrowser = QtWidgets.QTextBrowser(FormSerialPort) - self.textBrowser.setObjectName("textBrowser") - self.gridLayout.addWidget(self.textBrowser, 0, 1, 2, 1) - self.widget = QtWidgets.QWidget(FormSerialPort) - self.widget.setObjectName("widget") - self.verticalLayout = QtWidgets.QVBoxLayout(self.widget) - self.verticalLayout.setObjectName("verticalLayout") - self.pushButton_2 = QtWidgets.QPushButton(self.widget) - self.pushButton_2.setObjectName("pushButton_2") - self.verticalLayout.addWidget(self.pushButton_2) - self.checkBoxHexView = QtWidgets.QCheckBox(self.widget) - self.checkBoxHexView.setObjectName("checkBoxHexView") - self.verticalLayout.addWidget(self.checkBoxHexView) - self.gridLayout.addWidget(self.widget, 1, 0, 1, 1) - self.widget_2 = QtWidgets.QWidget(FormSerialPort) - self.widget_2.setObjectName("widget_2") - self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget_2) - self.verticalLayout_2.setObjectName("verticalLayout_2") - self.buttonSend = QtWidgets.QPushButton(self.widget_2) - self.buttonSend.setObjectName("buttonSend") - self.verticalLayout_2.addWidget(self.buttonSend) - self.checkBoxHexSend = QtWidgets.QCheckBox(self.widget_2) - self.checkBoxHexSend.setObjectName("checkBoxHexSend") - self.verticalLayout_2.addWidget(self.checkBoxHexSend) - self.gridLayout.addWidget(self.widget_2, 2, 0, 1, 1) - self.plainTextEdit = QtWidgets.QPlainTextEdit(FormSerialPort) - self.plainTextEdit.setObjectName("plainTextEdit") - self.gridLayout.addWidget(self.plainTextEdit, 2, 1, 1, 1) - self.gridLayout.setColumnStretch(1, 2) - self.gridLayout.setRowStretch(0, 3) - - self.retranslateUi(FormSerialPort) - self.comboBoxBaud.setCurrentIndex(3) - self.comboBoxData.setCurrentIndex(3) - self.pushButton_2.clicked.connect(self.textBrowser.clear) - QtCore.QMetaObject.connectSlotsByName(FormSerialPort) - - def retranslateUi(self, FormSerialPort): - _translate = QtCore.QCoreApplication.translate - FormSerialPort.setWindowTitle(_translate("FormSerialPort", "串口调试小助手")) - self.label.setText(_translate("FormSerialPort", "端 口")) - self.label_2.setText(_translate("FormSerialPort", "波特率")) - self.comboBoxBaud.setItemText(0, _translate("FormSerialPort", "1200")) - self.comboBoxBaud.setItemText(1, _translate("FormSerialPort", "2400")) - self.comboBoxBaud.setItemText(2, _translate("FormSerialPort", "4800")) - self.comboBoxBaud.setItemText(3, _translate("FormSerialPort", "9600")) - self.comboBoxBaud.setItemText(4, _translate("FormSerialPort", "19200")) - self.comboBoxBaud.setItemText(5, _translate("FormSerialPort", "38400")) - self.comboBoxBaud.setItemText(6, _translate("FormSerialPort", "57600")) - self.comboBoxBaud.setItemText(7, _translate("FormSerialPort", "115200")) - self.label_3.setText(_translate("FormSerialPort", "校验位")) - self.comboBoxParity.setItemText(0, _translate("FormSerialPort", "No")) - self.comboBoxParity.setItemText(1, _translate("FormSerialPort", "Even")) - self.comboBoxParity.setItemText(2, _translate("FormSerialPort", "Odd")) - self.comboBoxParity.setItemText(3, _translate("FormSerialPort", "Space")) - self.comboBoxParity.setItemText(4, _translate("FormSerialPort", "Mark")) - self.comboBoxParity.setItemText(5, _translate("FormSerialPort", "Unknown")) - self.label_4.setText(_translate("FormSerialPort", "数据位")) - self.comboBoxData.setItemText(0, _translate("FormSerialPort", "5")) - self.comboBoxData.setItemText(1, _translate("FormSerialPort", "6")) - self.comboBoxData.setItemText(2, _translate("FormSerialPort", "7")) - self.comboBoxData.setItemText(3, _translate("FormSerialPort", "8")) - self.label_5.setText(_translate("FormSerialPort", "停止位")) - self.comboBoxStop.setItemText(0, _translate("FormSerialPort", "OneStop")) - self.comboBoxStop.setItemText(1, _translate("FormSerialPort", "OneAndHalfStop")) - self.comboBoxStop.setItemText(2, _translate("FormSerialPort", "TwoStop")) - self.comboBoxStop.setItemText(3, _translate("FormSerialPort", "UnknownStopBits")) - self.buttonConnect.setText(_translate("FormSerialPort", "打开串口")) - self.labelStatus.setText(_translate("FormSerialPort", " ")) - self.pushButton_2.setText(_translate("FormSerialPort", "清空接收区")) - self.checkBoxHexView.setText(_translate("FormSerialPort", "十六进制显示")) - self.buttonSend.setText(_translate("FormSerialPort", "手动发送")) - self.checkBoxHexSend.setText(_translate("FormSerialPort", "十六进制发送")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - FormSerialPort = QtWidgets.QWidget() - ui = Ui_FormSerialPort() - ui.setupUi(FormSerialPort) - FormSerialPort.show() - sys.exit(app.exec_()) - diff --git a/其它/人脸描点检测/dist/dlib-19.4.0.win32-py2.7.exe b/其它/人脸描点检测/dist/dlib-19.4.0.win32-py2.7.exe deleted file mode 100644 index f2f11fc..0000000 Binary files a/其它/人脸描点检测/dist/dlib-19.4.0.win32-py2.7.exe and /dev/null differ diff --git a/其它/人脸描点检测/dist/dlib-19.4.0.win32-py3.4.exe b/其它/人脸描点检测/dist/dlib-19.4.0.win32-py3.4.exe deleted file mode 100644 index 6c557ff..0000000 Binary files a/其它/人脸描点检测/dist/dlib-19.4.0.win32-py3.4.exe and /dev/null differ diff --git a/其它/人脸描点检测/dist/dlib-19.4.0.win32-py3.5.exe b/其它/人脸描点检测/dist/dlib-19.4.0.win32-py3.5.exe deleted file mode 100644 index fab9e8f..0000000 Binary files a/其它/人脸描点检测/dist/dlib-19.4.0.win32-py3.5.exe and /dev/null differ diff --git a/其它/程序重启/dist/AutoRestart.exe b/其它/程序重启/dist/AutoRestart.exe deleted file mode 100644 index f633913..0000000 Binary files a/其它/程序重启/dist/AutoRestart.exe and /dev/null differ diff --git a/其它/自动更新/dist/mylibs b/其它/自动更新/dist/mylibs deleted file mode 100644 index e013dff..0000000 Binary files a/其它/自动更新/dist/mylibs and /dev/null differ diff --git a/其它/自动更新/dist/mylibs1.zip b/其它/自动更新/dist/mylibs1.zip deleted file mode 100644 index e122202..0000000 Binary files a/其它/自动更新/dist/mylibs1.zip and /dev/null differ diff --git a/其它/自动更新/dist/mylibs2.zip b/其它/自动更新/dist/mylibs2.zip deleted file mode 100644 index b644cd6..0000000 Binary files a/其它/自动更新/dist/mylibs2.zip and /dev/null differ diff --git a/其它/自动更新/dist/test.exe b/其它/自动更新/dist/test.exe deleted file mode 100644 index 5d26691..0000000 Binary files a/其它/自动更新/dist/test.exe and /dev/null differ diff --git a/美化/Effect/AnimationShadowEffect.py b/美化/Effect/AnimationShadowEffect.py deleted file mode 100644 index 7294376..0000000 --- a/美化/Effect/AnimationShadowEffect.py +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -""" -Created on 2018年9月25日 -@author: Irony -@site: https://pyqt5.com, https://github.com/892768447 -@email: 892768447@qq.com -@file: AnimationShadowEffect -@description: 边框动画阴影动画 -""" -from PyQt5.QtCore import QPropertyAnimation, pyqtProperty -from PyQt5.QtWidgets import QGraphicsDropShadowEffect - - -__Author__ = """By: Irony -QQ: 892768447 -Email: 892768447@qq.com""" -__Copyright__ = 'Copyright (c) 2018 Irony' -__Version__ = 1.0 - - -class AnimationShadowEffect(QGraphicsDropShadowEffect): - - def __init__(self, color, *args, **kwargs): - super(AnimationShadowEffect, self).__init__(*args, **kwargs) - self.setColor(color) - self.setOffset(0, 0) - self.setBlurRadius(0) - self._radius = 0 - self.animation = QPropertyAnimation(self) - self.animation.setTargetObject(self) - self.animation.setDuration(2000) # 一次循环时间 - self.animation.setLoopCount(-1) # 永久循环 - self.animation.setPropertyName(b'radius') - # 插入值 - self.animation.setKeyValueAt(0, 1) - self.animation.setKeyValueAt(0.5, 30) - self.animation.setKeyValueAt(1, 1) - - def start(self): - self.animation.start() - - def stop(self, r=0): - # 停止动画并修改半径值 - self.animation.stop() - self.radius = r - - @pyqtProperty(int) - def radius(self): - return self._radius - - @radius.setter - def radius(self, r): - self._radius = r - self.setBlurRadius(r) diff --git a/美化/QMessageBox/方案一/critical.py b/美化/QMessageBox/方案一/critical.py index 8f65545..830cb22 100644 --- a/美化/QMessageBox/方案一/critical.py +++ b/美化/QMessageBox/方案一/critical.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月17日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: critical @description: diff --git a/美化/QMessageBox/方案一/information.py b/美化/QMessageBox/方案一/information.py index 130a9b0..1913e5f 100644 --- a/美化/QMessageBox/方案一/information.py +++ b/美化/QMessageBox/方案一/information.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月17日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: information @description: diff --git a/美化/QMessageBox/方案一/question.py b/美化/QMessageBox/方案一/question.py index 93be446..d9d4d0f 100644 --- a/美化/QMessageBox/方案一/question.py +++ b/美化/QMessageBox/方案一/question.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月17日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: question @description: diff --git a/美化/QMessageBox/方案一/warning.py b/美化/QMessageBox/方案一/warning.py index 8788a91..530e9bb 100644 --- a/美化/QMessageBox/方案一/warning.py +++ b/美化/QMessageBox/方案一/warning.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月17日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: warning @description: diff --git a/美化/QMessageBox/方案二/critical.py b/美化/QMessageBox/方案二/critical.py index 8ef7834..e8fe6e8 100644 --- a/美化/QMessageBox/方案二/critical.py +++ b/美化/QMessageBox/方案二/critical.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月17日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: critical @description: diff --git a/美化/QMessageBox/方案二/information.py b/美化/QMessageBox/方案二/information.py index 9ad4610..a26bbd3 100644 --- a/美化/QMessageBox/方案二/information.py +++ b/美化/QMessageBox/方案二/information.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月17日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: information @description: diff --git a/美化/QMessageBox/方案二/question.py b/美化/QMessageBox/方案二/question.py index 6310157..0801228 100644 --- a/美化/QMessageBox/方案二/question.py +++ b/美化/QMessageBox/方案二/question.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月17日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: question @description: diff --git a/美化/QMessageBox/方案二/warning.py b/美化/QMessageBox/方案二/warning.py index 6c53fa9..94f84a8 100644 --- a/美化/QMessageBox/方案二/warning.py +++ b/美化/QMessageBox/方案二/warning.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月17日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: warning @description: diff --git a/美化/QProgressBar/Metro进度条.py b/美化/QProgressBar/Metro进度条.py index 8cf43db..3b1fe1f 100644 --- a/美化/QProgressBar/Metro进度条.py +++ b/美化/QProgressBar/Metro进度条.py @@ -4,7 +4,7 @@ """ Created on 2018年9月日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: MetroCircleProgress @description: diff --git a/美化/QProgressBar/圆圈进度条.py b/美化/QProgressBar/圆圈进度条.py index a3a4812..d406a66 100644 --- a/美化/QProgressBar/圆圈进度条.py +++ b/美化/QProgressBar/圆圈进度条.py @@ -4,7 +4,7 @@ """ Created on 2018年9月4日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: 界面美化.圆形进度条.CircleProgressBar @description: diff --git a/美化/QProgressBar/水波纹进度条/ProgressBar.py b/美化/QProgressBar/水波纹进度条/ProgressBar.py index 7a71a74..047de03 100644 --- a/美化/QProgressBar/水波纹进度条/ProgressBar.py +++ b/美化/QProgressBar/水波纹进度条/ProgressBar.py @@ -3,7 +3,7 @@ # Created on 2018年4月1日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: ProgressBar # description: diff --git a/美化/QProgressBar/水波纹进度条/水波纹进度条.py b/美化/QProgressBar/水波纹进度条/水波纹进度条.py index d75ac3c..82fa4e4 100644 --- a/美化/QProgressBar/水波纹进度条/水波纹进度条.py +++ b/美化/QProgressBar/水波纹进度条/水波纹进度条.py @@ -3,7 +3,7 @@ # Created on 2018年4月1日 # author: Irony -# site: https://pyqt5.com, https://github.com/892768447 +# site: https://pyqt5.com , https://github.com/892768447 # email: 892768447@qq.com # file: TestWidget # description: diff --git a/美化/QProgressBar/百分比进度条.py b/美化/QProgressBar/百分比进度条.py index 8938d99..2b43747 100644 --- a/美化/QProgressBar/百分比进度条.py +++ b/美化/QProgressBar/百分比进度条.py @@ -4,7 +4,7 @@ """ Created on 2018年9月4日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: 界面美化.各类进度条.PercentProgressBar @description: diff --git a/美化/QProgressBar/简单样式表美化.py b/美化/QProgressBar/简单样式表美化.py index 54e538f..63f5020 100644 --- a/美化/QProgressBar/简单样式表美化.py +++ b/美化/QProgressBar/简单样式表美化.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月30日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: ProgressBar @description: diff --git a/美化/QPushButton/按钮常见样式.py b/美化/QPushButton/按钮常见样式.py index 5025261..56a638b 100644 --- a/美化/QPushButton/按钮常见样式.py +++ b/美化/QPushButton/按钮常见样式.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月29日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: ButtonHover @description: diff --git a/美化/QPushButton/按钮进度动画/按钮字体旋转动画.py b/美化/QPushButton/按钮进度动画/按钮字体旋转动画.py index f1282b5..2ba492a 100644 --- a/美化/QPushButton/按钮进度动画/按钮字体旋转动画.py +++ b/美化/QPushButton/按钮进度动画/按钮字体旋转动画.py @@ -4,7 +4,7 @@ ''' Created on 2018年2月1日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: PushButtonFont @description: diff --git a/美化/QPushButton/按钮进度动画/按钮底部线条动画.py b/美化/QPushButton/按钮进度动画/按钮底部线条动画.py index e1d5a2b..76dd82c 100644 --- a/美化/QPushButton/按钮进度动画/按钮底部线条动画.py +++ b/美化/QPushButton/按钮进度动画/按钮底部线条动画.py @@ -4,7 +4,7 @@ ''' Created on 2018年2月1日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: PushButtonLine @description: diff --git a/美化/QScrollBar/ScrollBar.py b/美化/QScrollBar/ScrollBar.py index a304f99..e9c02af 100644 --- a/美化/QScrollBar/ScrollBar.py +++ b/美化/QScrollBar/ScrollBar.py @@ -4,7 +4,7 @@ ''' Created on 2018年1月20日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: ScrollBar @description: diff --git a/美化/QSlider/PaintQSlider.py b/美化/QSlider/PaintQSlider.py index f2c3805..0d154e8 100644 --- a/美化/QSlider/PaintQSlider.py +++ b/美化/QSlider/PaintQSlider.py @@ -4,7 +4,7 @@ """ Created on 2018年5月15日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: PaintQSlider @description: diff --git a/美化/QSlider/QssQSlider.py b/美化/QSlider/QssQSlider.py index 0baa41a..af65e49 100644 --- a/美化/QSlider/QssQSlider.py +++ b/美化/QSlider/QssQSlider.py @@ -4,7 +4,7 @@ """ Created on 2018年5月15日 @author: Irony -@site: https://pyqt5.com, https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: QssQSlider @description: 通过QSS美化QSlider diff --git a/美化/QWidget/CustomPaintWidget.py b/美化/QWidget/CustomPaintWidget.py index 9187081..4d5d4ed 100644 --- a/美化/QWidget/CustomPaintWidget.py +++ b/美化/QWidget/CustomPaintWidget.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月10日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: CustomPaintWidget @description: diff --git a/美化/QWidget/CustomWidget.py b/美化/QWidget/CustomWidget.py index cf38b63..11edcfb 100644 --- a/美化/QWidget/CustomWidget.py +++ b/美化/QWidget/CustomWidget.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月10日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: CustomWidget @description: diff --git a/美化/QWidget/QWidget样式测试.py b/美化/QWidget/QWidget样式测试.py index 7a9ee47..c1239a9 100644 --- a/美化/QWidget/QWidget样式测试.py +++ b/美化/QWidget/QWidget样式测试.py @@ -4,7 +4,7 @@ ''' Created on 2017年12月10日 @author: Irony."[讽刺] -@site: https://pyqt5.com https://github.com/892768447 +@site: https://pyqt5.com , https://github.com/892768447 @email: 892768447@qq.com @file: test @description: