{"id":101048,"date":"2020-05-22T16:50:02","date_gmt":"2020-05-22T08:50:02","guid":{"rendered":"http:\/\/4563.org\/?p=101048"},"modified":"2020-05-22T16:50:02","modified_gmt":"2020-05-22T08:50:02","slug":"qt-%e8%90%8c%e6%96%b0%ef%bc%8c%e9%97%ae%e4%b8%80%e4%b8%8b-connect-%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=101048","title":{"rendered":"Qt \u840c\u65b0\uff0c\u95ee\u4e00\u4e0b Connect \u7684\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Qt \u840c\u65b0\uff0c\u95ee\u4e00\u4e0b Connect \u7684\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ligiggy <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p><strong>\u5e73\u53f0<\/strong>\uff1aQt+VS<\/p>\n<p><strong>\u76ee\u7684<\/strong>\uff1a\u7b80\u5355\u6d4b\u8bd5\u4fe1\u53f7\u4e0e\u69fd\u3002<\/p>\n<p><strong>\u95ee\u9898<\/strong>\uff1a\u6709\u4e24\u4e2a pushbutton\uff0c\u4e00\u4e2a\u5b9e\u73b0\u7b80\u5355\u52a0\u6cd5\uff0c\u4e00\u4e2a\u5b9e\u73b0\u5173\u95ed\u7a97\u53e3\u3002<\/p>\n<ul>\n<li>\u5c06\u5173\u95ed\u7a97\u53e3\u7684 connnect \u51fd\u6570\u653e\u5728 Setupui \u524d\u9762\uff0c\u5728\u8fd0\u884c\u7684\u65f6\u5019\u5c31\u4f1a\u5f15\u8d77\u5185\u5b58\u51b2\u7a81\uff0c\u653e\u5230\u540e\u9762\u5c31\u4e0d\u4f1a\u3002<\/li>\n<li>\u5c06\u8ba1\u7b97\u52a0\u6cd5\u7684 connect \u51fd\u6570\u653e\u5728 Setupui \u524d\u9762\uff0c\u5728\u8fd0\u884c\u7684\u65f6\u5019\u53cd\u800c\u4e0d\u4f1a\u5f15\u8d77\u5185\u5b58\u51b2\u7a81\u3002<\/li>\n<\/ul>\n<p><strong>\u5c1d\u8bd5<\/strong>\uff1a\u5c1d\u8bd5\u8fc7\u8c03\u6362\u4e8c\u8005\u7684\u4f4d\u7f6e\uff0c\u597d\u50cf\u4e00\u6837\u4f1a\u6709\u95ee\u9898\u3002<\/p>\n<p><strong>\u8bf7\u6559\u4e00\u4e0b\uff0c\u539f\u56e0\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1671200\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : weyou <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             show me the code                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1671201\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ligiggy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @weyou \u53ef\u4ee5\u770b\u4e00\u4e0b Append \u7684\u90e8\u5206\u3002<br \/>Close window()\u91cc\u9762\u53ea\u662f this-&gt;Close();                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1671202\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lwh0328 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u6709\u5b8c\u6574\u7684\u4ee3\u7801\u554a\u3002\u3002\u3002\u3002<br \/>\u7c97\u7565\u7684\u611f\u89c9\uff0csetupUi \u8fd9\u91cc\u4f1a\u5206\u914d\u5185\u5b58\u521b\u5efa\u5185\u5bb9\u4ec0\u4e48\u7684\uff0cconnect \u653e\u524d\u9762\u7684\u8bdd\uff0c\u53ef\u80fd\u6709\u4e9b ui \u6ca1\u6709\u88ab\u5206\u914d\u8d44\u6e90\uff1f CloseWindow() \u53ef\u80fd\u6d89\u53ca\u5230 destroy \u4e00\u4e9b\u8d44\u6e90\uff0c\u8fd9\u6837\u53ef\u80fd\u4f1a\u56de\u6536\u4e00\u4e9b\u6ca1\u6709\u88ab\u5206\u914d\u8d44\u6e90\u7684\u53d8\u91cf\u3002Calculate() \u6211\u7684\u7406\u89e3\u662f\u8fdb\u5230\u4f60\u7684\u8fd9\u4e2a\u51fd\u6570\u91cc\u505a\u8fd0\u7b97\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1671203\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : weyou <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4ee3\u7801\u4e0d\u5168\uff0c\u731c\u60f3 setupUi \u662f IDE \u81ea\u52a8\u751f\u6210\u7684\u4ee3\u7801\u5427\uff0c\u8fd9\u4e2a\u51fd\u6570\u91cc\u4e00\u822c\u90fd\u662f\u521b\u5efa\u63a7\u4ef6\uff0c\u4e5f\u5c31\u662f\u8bf4\u5728 setupUi \u8c03\u7528\u4e4b\u524d\uff0c\u90a3\u4e9b button \u8fd8\u4e0d\u5b58\u5728\u5462\uff0c\u4f60\u90fd\u5df2\u7ecf\u5f00\u59cb\u53bb\u8fde\u63a5\u4fe1\u53f7\u69fd\u4e86\uff0c\u663e\u7136\u662f\u6709\u95ee\u9898\u7684\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1671204\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : newmlp <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             connect \u8fde\u7684\u5bf9\u8c61\u5fc5\u987b\u5148 new \u51fa\u6765\u624d\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1671205\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ligiggy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @newmlp \u6211\u628a pushbutton \u7684 connect \u653e\u524d\u9762\u6ca1\u95ee\u9898\u554a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Qt \u840c\u65b0\uff0c\u95ee\u4e00\u4e0b Connect&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\/101048"}],"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=101048"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/101048\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=101048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=101048"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=101048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}