Thanks guys for replies, generally my app isn't well designed because it's for education purpose. Anyway thank you very much.
Strange I'm to not able to mark it as solved. Clicking doesn't have any effect.
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.