c++ - Set visual focus on item in QGraphicsview -



c++ - Set visual focus on item in QGraphicsview -

just short question, 1 of know how set visual focus on item, has been placed in qgraphicsview, view centered around item?

in particular example, i'm constructing stacklayout, add together qgraphicsrectitems scene, , want, view focuses on latest added item, right remains @ same position , have scroll downwards manually, setfocusitem doesn't seem trick.

c++ qt qgraphicsview

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -