{"id":98593,"date":"2020-03-30T15:48:11","date_gmt":"2020-03-30T07:48:11","guid":{"rendered":"http:\/\/4563.org\/?p=98593"},"modified":"2020-03-30T15:48:11","modified_gmt":"2020-03-30T07:48:11","slug":"%e5%a4%96%e5%8c%85%e4%bb%98%e8%b4%b9%e8%af%b7%e4%ba%ba%e5%b8%ae%e5%bf%99%e4%b8%80%e4%b8%aa-pyside2-pyqt5-%e5%81%9a%e7%9a%84-gui%ef%bc%8c%e6%9c%80%e8%bf%91%e5%a4%a7%e5%ae%b6%e6%9c%89%e7%a9%ba","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=98593","title":{"rendered":"[\u5916\u5305]\u4ed8\u8d39\u8bf7\u4eba\u5e2e\u5fd9\u4e00\u4e2a PySide2\/PyQt5 \u505a\u7684 GUI\uff0c\u6700\u8fd1\u5927\u5bb6\u6709\u7a7a\u7684\u53ef\u4ee5\u6765\u5e2e\u5fd9\u770b\u770b\u8fd9\u4e2a\u9700\u6c42\u3002\uff08\u4e4b\u524d\u53d1\u5e16\u8ba8\u8bba\u8fc7\u7684\uff09"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  [\u5916\u5305]\u4ed8\u8d39\u8bf7\u4eba\u5e2e\u5fd9\u4e00\u4e2a PySide2\/PyQt5 \u505a\u7684 GUI\uff0c\u6700\u8fd1\u5927\u5bb6\u6709\u7a7a\u7684\u53ef\u4ee5\u6765\u5e2e\u5fd9\u770b\u770b\u8fd9\u4e2a\u9700\u6c42\u3002\uff08\u4e4b\u524d\u53d1\u5e16\u8ba8\u8bba\u8fc7\u7684\uff09               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wzw <\/span>  <span><i><\/i> 65<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u60c5\u51b5\u5982\u4e0b:<\/p>\n<ul>\n<li>\n<p>\u4e4b\u524d\u7684\u529f\u80fd\u8ba8\u8bba\u548c\u4ecb\u7ecd \u8bf7\u53c2\u8003 \/t\/633910<\/p>\n<\/li>\n<li>\n<p>\u8be6\u7ec6\u9700\u6c42\u5982\u4e0b: (\u770b\u52a8\u56fe\u5c31\u6e05\u695a\u5566)<\/p>\n<ul>\n<li>\u6839\u636e\u6570\u636e\u751f\u6210\u6ce2\u5f62\u56fe(10w \u4e2a\u70b9), \u6f14\u793a\u6d4b\u8bd5\u7528\u968f\u673a\u6570\u5373\u53ef<\/li>\n<li>\u56fe\u53ef\u4ee5\u9009\u53d6\u8303\u56f4\u653e\u5927.<\/li>\n<li>\u9009\u53d6\u533a\u57df(\u53ef\u4ee5\u8c03\u6574), \u8fdb\u884c\u4e0a\u4e0b\u8c03\u6574\u6570\u636e (\u53ef\u4ee5\u4fdd\u5b58 \/\u64a4\u9500)<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6700\u597d\u662f PySide2, PyQt5 \u4e5f\u53ef\u4ee5(\u907f\u514d\u4ee5\u540e\u53ef\u80fd\u8981\u5356\u94b1\u5440)<\/p>\n<\/li>\n<li>\n<p>\u5750\u6807\u6700\u597d\u6df1\u5733, \u5176\u4ed6\u5730\u65b9\u4e5f OK<\/p>\n<\/li>\n<li>\n<p>\u5982\u679c\u613f\u610f\u63a5\u7684\u8bdd,\u8bf7\u53d1\u8054\u7cfb\u65b9\u5f0f, \u4f18\u9009 QQ, \u90ae\u7bb1 \/\u5fae\u4fe1\u90fd\u53ef\u4ee5<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/20200521_5ec69635c9e89.gif\" alt=\"[\u5916\u5305]\u4ed8\u8d39\u8bf7\u4eba\u5e2e\u5fd9\u4e00\u4e2a PySide2\/PyQt5 \u505a\u7684 GUI\uff0c\u6700\u8fd1\u5927\u5bb6\u6709\u7a7a\u7684\u53ef\u4ee5\u6765\u5e2e\u5fd9\u770b\u770b\u8fd9\u4e2a\u9700\u6c42\u3002\uff08\u4e4b\u524d\u53d1\u5e16\u8ba8\u8bba\u8fc7\u7684\uff09\" \/><\/p>\n<p>\u989d\u5916\u4e00\u4e2a\u95ee\u9898: PySide2\/PyQt5 \u505a\u7684\u7a0b\u5e8f, \u5982\u679c\u4ee5\u540e\u8981\u7ed1\u5b9a\u673a\u5668 \/Key \u7684\u8bdd,\u662f\u4e0d\u662f\u4e0d\u5b89\u5168. \u6838\u5fc3\u4ee3\u7801\u8fd8\u662f\u8981\u7528 Go \u6765\u5199\u6700\u5b89\u5168?PySide2\/PyQt5 \u7528\u6765\u5f53\u524d\u7aef, \u6570\u636e\u5904\u7406\u7ed9 Go.<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>19<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"722349\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : wzw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u989d\u5916\u4e00\u4e2a\u95ee\u9898: <br \/>&#8211; PySide2\/PyQt5 \u505a\u7684\u7a0b\u5e8f, \u5982\u679c\u4ee5\u540e\u8981\u7ed1\u5b9a\u673a\u5668 \/Key \u7684\u8bdd,\u662f\u4e0d\u662f\u4e0d\u5b89\u5168. \u6bd5\u7adf\u4ee3\u7801\u5bb9\u6613\u88ab\u53cd\u7f16\u8bd1 (\u76ee\u524d Nuitka \u53bb\u7f16\u8bd1 PyQt \u597d\u50cf\u6709\u70b9\u95ee\u9898)<\/p>\n<p>&#8211; \u662f\u5426\u9700\u8981: \u6838\u5fc3\u4ee3\u7801 \/\u6570\u636e\u5904\u7406 \/\u7ed1\u5b9a\u673a\u5668\u7b49\u662f\u8981\u7528 Go \u6765\u5199, PySide2\/PyQt5 \u7528\u6765\u5f53\u524d\u7aef                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722350\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : wzw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3b\u9898\u8d34\u4e2d\u6ca1\u6709\u94fe\u63a5: \u4e4b\u524d\u7684\u529f\u80fd\u8ba8\u8bba\u548c\u4ecb\u7ecd \u8bf7\u53c2\u8003 \/t\/633910                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722351\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Abercrombie <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             qt \u662f\u8bed\u8a00\u5f3a\u76f8\u5173\u7684 gui \u4e0d\u80fd\u90a3\u4e48\u65b9\u4fbf\u7684\u505a\u524d\u540e\u7aef\u5206\u79bb \u8981\u5199\u5c31\u662f\u6d89\u53ca\u5230 c++\u7ed9\u5176\u4ed6\u8bed\u8a00\u5199\u6a21\u5757\u6216\u8005\u53cd\u8fc7\u6765 \u90fd\u5f88\u9ebb\u70e6<br \/>\u8fd9\u4e1c\u897f\u505a\u5916\u5305\u6709\u70b9\u5c34\u5c2c \u4f60\u62a5\u4e2a\u5927\u6982\u4ef7\u683c?<br \/>\u6216\u8005\u4f60\u770b\u4e00\u4e0b qt \u7684 model-view-delegate \u67b6\u6784\u548c qtcharts \u81ea\u5b66\u4e5f\u4e0d\u96be                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722352\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Pho3nix <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             wx:MTU3NTQzMzAzMTk=<br \/>2 \u4eba group<br \/>\u4e09\u5e74 QT\/\u4e00\u5e74 pyside \u7ecf\u9a8c<br \/>\u4e24\u5e74\u6570\u636e\u5206\u6790\u7ecf\u9a8c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722353\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : u823tg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8981\u4e70\u7684\u8bdd\u5efa\u8bae\u6362\u8bed\u8a00\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722354\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : wzw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Abercrombie \u53ef\u4ee5\u7528 http \u63a5\u53e3\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u5904\u7406\u5427\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722355\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : wzw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @u823tg \u4ec0\u4e48\u610f\u601d\uff1f<br \/> @Pho3nix \u73b0\u5728\u8054\u7cfb\u4f60                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722356\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : wzw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Abercrombie \u8bf7\u4eba\u5199\u4e0d\u64c5\u957f\u7684\uff0c\u7136\u540e\u81ea\u5df1\u4e8c\u6b21\u5f00\u53d1\uff0c\u5feb\u5f88\u591a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722357\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lewis89 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6709\u6e90\u4ee3\u7801\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722358\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : wzw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lewis89 \u6f14\u793a\u662f\u522b\u4eba\u7684\u3002 \u6ca1\u6709\u6e90\u4ee3\u7801                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722359\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wynemo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528 electron \u505a\u6700\u597d \u5199\u5199\u754c\u9762 \u6838\u5fc3\u4ee3\u7801\u53ef\u7528 python go c++\u90fd\u53ef\u4ee5\u53cd\u6b63\u5c31\u8c03\u7528\u4e0b\u5373\u53ef                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722360\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : wzw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wynemo 10w \u4e2a\u70b9\uff0c\u7f51\u9875\u64cd\u4f5c\u590d\u6742\uff0c\u4f1a\u5361                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722361\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cnuser002 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0a\u4e2a\u5e16\u5b50\u4f60\u8bf4\u7528 echart \u505a\uff0c\u653e\u5f03\u4e86\u5417\uff1f<br \/>\u6211\u770b echart \u4e0a\u6709\u5dee\u4e0d\u591a\u7684\u6837\u4f8b\u554a\uff0c\u6bd4\u5982\u8fd9\u4e2a https:\/\/www.echartsjs.com\/examples\/zh\/editor.html?c=candlestick-large<br \/>20w \u70b9\uff0c\u53ef\u4ee5\u79fb\u8f74\uff0c\u53ef\u4ee5\u62c9\u4f38\uff0c\u4e5f\u4e0d\u5361\uff0c\u5c31\u662f\u89e6\u53d1\u9009\u53d6\u4fee\u6539\u4e8b\u4ef6\u5f97\u81ea\u5df1\u5199\u3002<br \/>\u53cd\u6b63\u4f60\u90fd\u51c6\u5907\u524d\u540e\u7aef\u5206\u79bb\u4e86\uff0c\u5ba2\u6237\u7aef\u529f\u80fd\u5c31\u662f\u4ece\u670d\u52a1\u5668\u90a3\u91cc\u4e00\u6b21\u6027\u62c9\u53d6 10W \u6570\u636e\u70b9\uff0c\u663e\u793a\u6210\u4e00\u4e2a\u8868\u683c\uff0c\u505a\u4e2a\u4ea4\u4e92\uff0c\u6700\u540e\u628a\u4fee\u6539\u540e\u7684\u6570\u636e\u53d1\u56de\u53bb\u5c31\u884c\u4e86\u3002\u7528\u4ec0\u4e48 GUI \u6846\u67b6\u65e0\u6240\u8c13\u7684\u5427\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722362\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nooper <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u53ef\u4ee5\u63a5\uff0c8 \u5e74 py \u5de5\u4f5c\uff0c\u505a\u8fc7\u80a1\u7968\u65b9\u9762\u548c\u6570\u636e\u65b9\u9762\u7684\u3002 \u5fae\u4fe1: bm9vcGVy | base64                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722363\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 345161974 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u7528 PyQt 4.8\uff0c\u53ef\u4ee5\u8003\u8651\u7528 PyQtGraph\uff1a http:\/\/pyqtgraph.org\/<br \/>![lq9LuR.png]( https:\/\/s2.ax1x.com\/2020\/01\/14\/lq9LuR.png)                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722364\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : JerryKwan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u8981\u8003\u8651\u4ee5\u540e\u9500\u552e\u7684\u8bdd\uff0cPython \u5e76\u4e0d\u662f\u4e00\u4e2a\u7279\u522b\u597d\u7684\u9009\u62e9\uff0c\u9664\u975e\u662f\u628a\u67d0\u4e9b\u5173\u952e\u90e8\u5206\u7528 C \u5199\uff0c \uff08\u505a\u8fc7\u5341\u51e0\u5e74 Python \u76f8\u5173\u7684\u5de5\u4f5c\uff09\u3002\u53cd\u7f16\u8bd1\u96be\u5ea6\u3001License \u63a7\u5236\u3001\u6587\u4ef6\u5927\u5c0f\u7b49\u7b49\u90fd\u5f97\u8003\u8651\u3002\u53ef\u4ee5\u8bd5\u8bd5 Go+Sciter \u6765\u505a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722365\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : JerryKwan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wzw \u6709\u9700\u8981\u7684\u8bdd\u53ef\u4ee5\u8ba8\u8bba\u4e00\u4e0b\u76f8\u5173\u7684\u6280\u672f\u5b9e\u73b0\u3002\u5fae\u4fe1\uff1aMTg3NDUxNTk4Mjk=                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722366\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : wzw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @JerryKwan \u6838\u5fc3\u90e8\u5206\u7528 nuitka \u5904\u7406\uff0c\u8fd8\u662f\u5b89\u5168\u7684\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"722367\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : JerryKwan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wzw nuitka \u7f16\u8bd1\u5012\u662f\u4e00\u4e2a\u9009\u62e9\uff0c\u4f46\u6297\u53cd\u7f16\u8bd1\u4ec5\u4ec5\u662f\u505a\u5546\u4e1a\u8f6f\u4ef6\u7684\u5f88\u5c0f\u7684\u4e00\u73af\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>[\u5916\u5305]\u4ed8\u8d39\u8bf7\u4eba\u5e2e\u5fd9\u4e00\u4e2a PySi&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/98593"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=98593"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/98593\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=98593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=98593"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=98593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}