[Qt-interest] QGraphics Scene - QAbstractButtons require double click

Willy P willy.lists at gmail.com
Thu Aug 27 04:44:10 CEST 2009


Hey,
I'm new to embedding widgets in QGraphicsScenes.  In my first simple
attempt I just make a button and call: scene_.addWidget( mybutton );

My button appears but I have to double click it to get it to emit a
clicked() signal.

How do I make it so buttons in the scene react to single clicks?  The
same button in a normal widget behaves as it should.

Thanks in advance...

-Willy



More information about the Qt-interest-old mailing list