[Qt-interest] highlight graphicsview widget
Manuel Klemenz
m.klemenz at gmx.at
Tue Jun 1 20:17:48 CEST 2010
On Tuesday 01 June 2010 19:35:23 caius ligarius wrote:
> Hi,
>
> I have multiple QGraphicsView widget and want to highlight one of them
> when the user clicks on the widget to show that it's the current active
> widget. I am able to capture the mouse click on the widget but how do I
> show that it is "selected" ? Is there a way I can highlight this widget to
> show that it is selected?
>
> Thanks,
> Caius
I'd give the composition modes a try.
E.g. darken all the others slightly - have a look at the demos:
http://doc.qt.nokia.com/4.6/demos-composition.html
--
best regards,
Manuel Klemenz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100601/327975f1/attachment.bin
More information about the Qt-interest-old
mailing list