简体   繁体   中英

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

When I use "Ctrl + Click" to view the explanation of a function, I cannot find any related documentation. Where can I find related documents?

在此处输入图像描述

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, therefore to know the documentation you must use the official pages:

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 is included in the Qt binding for Python (link to 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/

Edit: Typo

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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