Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
Scroll QGraphicsObject content with QScroller
MajidKamali last edited by
I have a
QGraphicsObjectderived class with a certain bounding box.
It has many items outside that bounding box.
It has a QScroller pointer member variable.
setCacheMode(QGraphicsItem::ItemCoordinateCache); scroller = QScroller::scroller(this); scroller->grabGesture(this, QScroller::LeftMouseButtonGesture);
but scrolling does not work at all.
How can I scroll content Items with QScroller?