[Qt-interest] Push Button response very very bad...
Andrew Hodgkinson
ahodgkinson at endurancetech.co.uk
Thu Jul 30 17:07:03 CEST 2009
Andreas Pakulat wrote:
> On 30.07.09 03:44:02, Agus Syawal wrote:
>
>> I made an SVG viewer [...] 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. The case is, when I load a complex
>> SVG (which have big size), the respon of the button is lame. [...]
>
> Don't load big SVG's. Loading an SVG takes some time to parse and
> render [...]
The implication is that the SVG file is being re-rendered when the
buttons are pressed - yet the buttons are different widgets entirely,
positioned above the SVG file.
Surely it's unnecessary for the SVG file to be re-rendered just because
an unrelated button is used? The complexity of the rest of the GUI
shouldn't matter in the situation described by the original poster.
--
TTFN, Andrew Hodgkinson
Find some electronic music at: Photos, wallpaper, software and more:
http://pond.org.uk/music.html http://pond.org.uk/
More information about the Qt-interest-old
mailing list