Hi all,
I have a QSpinBox which is connected to some slot to make some calculations:
connect(mySpinBox, SIGNAL(valueChanged(int) ), this, SLOT(calculate(int)));
connect(mySpinBox, SIGNAL(valueChanged(int) ), this, SLOT(calculate(int)));
To copy to clipboard, switch view to plain text mode
The calculation takes some decent amount of time (~5s) and therefore the GUI freezes. Even worse, if I click once on the SpinBox, the value is actually increased 3 or 4 times.
Any hints on how to solve this ugly behaviour?
Greets,
Weilor
Bookmarks