[Qt-interest] QGraphicsItem - Hide dashed selected box
Gregory Descamps
gregory.descamps at awtce.be
Mon Oct 19 18:14:16 CEST 2009
Hello Willy,
if I understand your question correctly, this box could correspond to the
property focusPolicy of every QWidget:
Possible values are...
Qt::TabFocus 0x1 the widget accepts focus by tabbing.
Qt::ClickFocus 0x2 the widget accepts focus by clicking.
Qt::StrongFocus TabFocus | ClickFocus | 0x8 the widget accepts focus
by
both tabbing and clicking. On Mac OS X this will also be indicate that the
widget accepts tab focus when in 'Text/List focus mode'.
Qt::WheelFocus StrongFocus | 0x4 like Qt::StrongFocus plus the
widget
accepts focus by using the mouse wheel.
Qt::NoFocus 0 the widget does not accept focus.
In this case, choosing Qt::NoFocus will do.
regards,
Greg
Willy P <willy.lists at gmail.com>
Sent by: qt-interest-bounces at trolltech.com
2009-10-18 09:06
To
Willy P <qt-interest at trolltech.com>
cc
Subject
[Qt-interest] QGraphicsItem - Hide dashed selected box
In the QGraphicsView Framework, how do I hide the dashed box that
surrounds a selected QGraphicsItem?
Thanks...
-Willy
_______________________________________________
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/20091019/ce31e951/attachment.html
More information about the Qt-interest-old
mailing list