使用QtDesigner進行介面設計,儲存為 xxx.ui 檔案; 在.py檔案中直接呼叫.ui檔案執行. 程式碼. from PyQt5.uic import loadUi loadUi('.
確定! 回上一頁