问题标签 [pyside6]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python-3.x - how to replace decorator pyqtSignature for pyside6
I'm porting an application from pyqt to pyside6.
On my code I use the pyqtSignature to get the event for a QDialogButtonBox. any idea in how to do it in pyside6 ?
python - pyside6错误导入不起作用
这是我使用的导入代码
python - 导入 pyside6 时出错,DLL 加载失败:找不到指定的程序
pyside6已安装并添加了路径但无法导入
qml - 在从 PySide6 注册的 QML 中导入自定义模块
我目前正在使用 VSCode 编写 PySide6 应用程序。我正在使用 Qt Design Studio 设计我的 .qml 文件。
我刚刚使用qmlRegisterType向 QML 添加了一些自定义类对象:
主文件
main.qml
未找到 QML 模块(后端)。
未找到 QML 模块 (HistoryListModel)。
这导致 Qt Design Studio 不再允许我使用图形设计工具,这有点烦人。
如何包含通过qmlRegisterType添加的 QML 模块,以便 Qt Design Studio 找到它们?
python - 运行异步进程时更新 GUI
我已经改编了如何从 Python 异步运行外部命令?通过添加 QTextEdit 小部件的更新,但在将文本附加到小部件时进程被阻塞。
事实上,我无法在运行异步进程时更新 GUI。任何想法?
python - PySide6 setPageMargins()
我尝试在 PySide6 中设置 qprinter 边距它会引发错误
PySide6.QtGui.QPagedPaintDevice.setPageMargins():参数太多
这适用于 PyQt5
python - 如何在没有 qrc 系统的 pyqt6 中设置背景图像
我对 PyQt6 和 PySide6 中的资源系统有疑问。首先为什么 PySide6 仍然支持 qrc 系统而 PyQt6 不支持。其次,如何在 PyQt6 中使用图像作为小部件的背景,我看到了 addSearchPath() 和 setSearchPath() 的概念,但我不明白如何使用它并且它不起作用。