python3 界面開發 PyQt5, PyQt5Designer.txt

python3 界面開發 PyQt5, PyQt5Designer.txt

1.參考:
    1.1.基於Python3.7語言的PyQt5界面開發-基礎
    https://blog.csdn.net/bai_yechuang2012/article/details/84348312

    1.2.Python GUI: PyCahrm結合Pyqt5開發圖形化界面 詳細步驟 踩坑!
    https://blog.csdn.net/mawei7510/article/details/81450032?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase

    1.3.Python製作小軟件——1. 安裝並使用PyQt5進行界面設計
    https://blog.csdn.net/weixin_41929524/article/details/81456308?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase

    1.4.Python製作小軟件——3. 利用PyQt5實現界面中的功能
    https://blog.csdn.net/weixin_41929524/article/details/81475935?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase

    1.5.Python製作小軟件——4. 利用PyInstaller打包成exe文件
    https://blog.csdn.net/weixin_41929524/article/details/81484806

2.關鍵知識點
    1.安裝 PyQt5, PyQt5Designer。
    2.使用 Qt Designer 繪製圖形用戶界面(GUI),並保存,如:streetView.ui。
    3.在命令行,將 streetViewUi2.ui 轉換爲 streetViewGUI2.py。
        命令:pyuic5 -o streetViewUi2.py streetViewUi2.ui
        其中,pyuic5 是全局命令(可在命令行直接使用), -o 輸出爲 xx.py 文件,xx.ui 是待轉換爲 .py 文件的 .ui 文件。
        調用實例:
            PS H:\Gaoshengjie\python3_UI> pyuic5 -o streetViewUi2.py streetViewUi2.ui
    4.(未使用)把 .py 文件打包成 .exe
        命令行:pyinstaller -F -w streetView2.py
            pyinstaller -F streetView2.py
            pyinstaller streetView2.py





發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章