[Qt-interest] Qt: issue with QtoolBar hovering with unified tool bar.

Manish Chaturvedi manish_chaturvedi at persistent.co.in
Tue Nov 3 15:32:57 CET 2009


Hi All,

I am facing one weird behavior with QtoolBar hovering with unified tool bar.
I have applied stylesheet on QToolButton (for QToolButton:hover) and its working fine when mouse hovers over the tool bar button.
I have also made the toolbar unified by calling setUnifiedTitleAndToolBarOnMac(true), as I want toolbar to be unified.
The problem is when I click on the area just below the toolbutton (on main window), the toolbutton get highlighted as if the mouse is hovering over the button.
This problem I have observed when tool bar is unified and when I set it to false i.e. setUnifiedTitleAndToolBarOnMac(false); no such issue was observed.

The Qt version I am using is Qt4.5.3 on MAC 10.4 and above.
Has anybody observed the same issue and have any workaround? If yes, please let me know how to resolve this issue.

Thanks,
Manish Chaturvedi | Senior Software Engineer - I&S BU| Persistent Systems Limited
manish_chaturvedi at persistent.co.in<mailto:manish_chaturvedi at persistent.co.in>| Tel: +91 (712) 398 6064
Persistent Systems - Innovation in software product design, development and delivery -  www.persistentsys.com<http://www.persistentsys.com/>


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091103/7d910b49/attachment.html 


More information about the Qt-interest-old mailing list