Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8.3, 6.9.1
Description
Reproducer attached. A QTableWidget with some QWidget's is put into a QGraphicsScene.
The problem is that scrolling the QTableWidget does not reposition its QWidget's. If you scroll the QTableWidget all the way to the right, you can see that QWidget's and cells are completely dislocated:
And that is because cells are scrolled but QWidget's stay at where they were.
The use case is that QGraphicsScene is practically the only way to transform a QWidget (a QTableWidget in this case) with reasonable effort. Overriding paintEvent also works but that can be too complicated. So what's being done in reproducer is not very uncommon.