簡體   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