[Qt-interest] How to know which instance of QGraphicsView is the active view of a scene?

Girish Ramakrishnan girish at forwardbias.in
Wed Jun 29 18:01:35 CEST 2011


Hi,

On Wed, Jun 29, 2011 at 7:16 PM, fog public <fogpub at gmail.com> wrote:
> Hi all,
>       In Qt's document, I can get a QList of QGraphicsView* that display the
> scene thought views(). but Which one is actived ? ( which view is currently
> responsed for  drawing the content of the scene.), thanks a lot.

Not sure what you are asking for - all the views draw the contents of
the scene. Each view can display a different portion of the scene.

Girish



More information about the Qt-interest-old mailing list