People are talking about that Qt4 is slower than Qt3. This may be one of the problems. In theory, your code seems fine. One suggestion would be to destroy the instance and create a new one. Before you do it, you need to save all settings in a model class you create for this class. It is not a neat way. But you can try it if you feel annoyed with the problem.