标签: pyqt qgraphicsview
我通过重新实现QGraphicsView和QGraphicsScene中的drawItems尝试了这一点,但没有任何反应(它表示设置IndirectPainting标志,但这给了我一个错误)。在一个画家中使用合成模式工作正常,但我不知道如何将它应用于所有图形项。
QGraphicsView
QGraphicsScene
IndirectPainting
答案 0 :(得分:0)
QGraphicsScene::drawItems。标志IndirectPainting仅用于兼容性
QGraphicsScene::drawItems