PyQt5 Note
安装 PyQt5 及其文档 unbuntu plantform sudo apt-get install python3-pyqt5 pyqt5-doc pyqt5-examples sudo apt-get install python3-pyqt5* qtbase5-doc qttools5-dev-tools 示例所在目录:/usr/share/doc/pyqt5-examples/examples/qtdemo/qtdemo.py 文档所在目录: /usr/share/qt5/doc 安装更多: OSX plantform brew install python3 brew install pyqt5 文档和示例都在源代码中, download PyQt5 assistant /usr/local/Cellar/qt/5.9.0/libexec/Assistant.app /usr/local/Cellar/qt5/5.6.1-1/libexec/Assistant-qt5.app/Contents/MacOS/Assistant PyCharm 配置相关工具 Linux Mint qt5desinger: Program: /usr/lib/x86_64-linux-gnu/qt5/bin/designer Parameters: $FileName$ Working directory: $FileDir$ pyuic: Program: python3 Parameters: -m PyQt5.uic.pyuic $FileName$ -o $FileNameWithoutAllExtensions$_ui.py Working directory: $FileDir$ qt5assistant: Program: /usr/lib/x86_64-linux-gnu/qt5/bin/assistant 关于 model index 获得 model index: index = model....