[Qt-interest] QToolBox item toggeled

chandrasekar wagmare sekarwagmare at gmail.com
Wed Jan 28 06:03:45 CET 2009


why don't u try

void QWidget::mouseMoveEvent and QMouseEvent::pos()


On Sun, Jan 25, 2009 at 12:55 AM, OSProg <osprog at gmail.com> wrote:

> Hi,
>
> I'm trying to toggle the item, i.e. when the item is clicked once - the
> item is activated, when the item is clicked for the second time - the
> item is deactivated.
> I have an idea to catch mousePressEvent, but it is not available when
> the mouse is over the item. Is there a way to catch this event?
> Is there any more elegant way to toggle the item activation on mouse click?
> Is there a way at startup to show the QToolBox with all items inactive?
>
> Best regards,
> Nikolay
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090128/a09935b7/attachment.html 


More information about the Qt-interest-old mailing list