[Qt-interest] QToolButton "hover" signal and then?
Francesco Lamonica
alienpenguin at gmail.com
Wed Feb 3 12:09:35 CET 2010
You can inherit from QToolButton and let your own widget emit the signal you
need.
On Wed, Feb 3, 2010 at 10:21 AM, Eckhard Jokisch
<e.jokisch at orange-moon.de>wrote:
> Hi,
> I have a toolbar with some toolbuttons on it.
> As the cursor hovers over one of the buttons I can use the signal to
> call a slot.
> When the cursor leaves the button without having clicked it a different
> slot shall be called.
> But there seems to be no signal emitted when the cursor leaves the button.
> How can I get a signal out of the toolbuttin that indicates the the
> cursor does not hover anymore over the buttton?
>
> Eckhard
> _______________________________________________
> 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/20100203/63d3eacb/attachment.html
More information about the Qt-interest-old
mailing list