[Qt-interest] QToolBar flickers while adding/removing actions
Jainish Jain
Jainish_Jain at persistent.co.in
Thu Oct 22 16:35:12 CEST 2009
Hi,
I am creating a Qtoolbar for Carbon(Mac) application. I need to add/remove actions from this toolbar dynamically on basis of module selected by end user.
Whenever a module is selected, I use
QToolBar::clear()
and then add new actions to it. However, toolbar flickers whenever such update takes place. If I switch between the modules repeatedly, this flicker becomes quite annoying.
I have looked for some suggestions like using setUpdatesEnabled() to minimize it but still the effect is quite visible to ignore. I am using Qt 4.5.3.
Any help is highly appreciated.
Thanks,
Jainish
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/20091022/1382cd98/attachment.html
More information about the Qt-interest-old
mailing list