A varied selection of examples can be found in the ‘examples’ directory of the pyside-setup repository. This can be accessed after installing PySide2 via pip, checking the ‘site-packages/PySide2/examples’ directory.
This page aims to document the most important use cases of the module and it will be extended with each release.
演示在导应用程序中 QDialog 的用法
演示 Qt 的项视图体系结构