简体   繁体   English

如何在PyQt5类上寻求帮助?

[英]How to find help on PyQt5 classes?

Where can I find details on a specific class of PyQt5. 在哪里可以找到有关特定类别的PyQt5的详细信息。 Surely I can use the help(module) command within Python IDLE but it doesn't provide all necessary information. 当然,我可以在Python IDLE中使用help(module)命令,但它不能提供所有必要的信息。

For example: How do I find about all possible functions and their respective arguments available to QWidget class from PyQt5.QtWidgets module? 例如:我如何从PyQt5.QtWidgets模块中找到可用于QWidget类的所有可能的函数及其各自的参数?

There is the API reference , but the actual class description pages only link to the respective C++ class page. API参考 ,但是实际的类描述页面仅链接到相应的C ++类页面。 I'm afraid that is your best option for now, until the PyQt maintainers update their documentation (which is based on the C++ docs anyway). 除非PyQt维护者更新其文档(无论如何还是基于C ++文档),否则恐怕这是您目前的最佳选择。

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

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