繁体   English   中英

我在 Pycharm 中使用 PySide2 来构建我的 GUI 程序,但是在哪里可以找到参考文档?

[英]I use PySide2 in Pycharm to build my GUI program, but where can I find reference documentation?

当我使用“Ctrl + 单击”查看 function 的解释时,我找不到任何相关文档。 我在哪里可以找到相关文件?

在此处输入图像描述

Qt only provides the.pyi so that the editor can know the necessary classes, methods and types since PySide2 being a Qt wrapper is written in C++ so the python code is limited (almost non-existent) so documenting it with code is unnecessarily heavy,因此,要了解文档,您必须使用官方页面:

As PySide2 is a Qt wrapper you should expect that the C++ docs are also valid for Python, so in general in my experience the Qt documentation is generic so it is valid for any type of wrapper

PySide2 包含在 Python 的 Qt 绑定中(链接到 PyPi https://pypi.org/project/PySide2/ )。 As PySide2 is part of the Qt framework, you can use the Qt documentation: https://doc.qt.io/qtforpython/

编辑:错字

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM