[Qt-interest] highlight graphicsview widget
caius ligarius
caius9090 at gmail.com
Tue Jun 1 20:35:56 CEST 2010
I just need the green (or any color) highlight box when a mouse is pressed
or moved over a widget (see attachment).
I was hoping hoping there would be an easier way to do this?
Thanks,
Caius
On Tue, Jun 1, 2010 at 11:17 AM, Manuel Klemenz <m.klemenz at gmx.at> wrote:
> 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100601/3a503238/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: composition_example.JPG
Type: image/jpeg
Size: 34491 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100601/3a503238/attachment.jpe
More information about the Qt-interest-old
mailing list