hi friends,expert,
im adding QGraphicsLayoutItem in a QGraphicsWidget in run time using QGraphicsLinearLayout.
i have to add more items to the layout that exceeds the height of the viewport height and items shown outside the viewport area.so is it possible to pan or scroll in QGraphicsWidget like QGraphicsView. QGraphicsView i can pan using centerOn and showing only a visible rect.
the normal view
Screen1.jpg
and and when more item added
Screen2.jpg
i have done panning in qgraphicsview using centerOn and visibleViewport but how i can do for the QGraphicsWidget and show only a certain part of the QGraphicsWidget having layout items added in vertical layout .
how to show only a visible region or rect of QGraphicsItem
please help me
thanks in advance .
Bookmarks