[Qt-interest] Push Button response very very bad...

Agus Syawal alfonsus_agus at yahoo.com
Thu Jul 30 12:44:02 CEST 2009


Hello,

I made an SVG viewer, sized 1280x800. The SVG is loaded into QSvgWidget. Above the QSvgWidget, hovered a row of buttons. Those buttons is collected into QButtonGroup. I connect the signal 'buttonClicked' from the QButtonGroup to my made slots.
I assign style script for the button for normal/default mode, and state when the button is pressed.

The case is, when I load a complex SVG (which have big size), the respon of the button is lame. I press the button, there is 1-2sec idle before the button show response that it is pressed.
I try connect the 'buttonPressed' signal to a separate slot and put debug inside it. The debug statement is printed after that 1-2sec idle time.

The idle time differ for different SVG. If the SVG is less complex, the button response time is also rapid.

But this 'idling' make not very good user interface. I need to find out and make the button response rapid.

Any suggestion to resolve, or at least some explanation why is this happening?


Regards,
Agus



      



More information about the Qt-interest-old mailing list