PDA

View Full Version : avoiding mainwindow from freezing



doniking
5th June 2012, 08:32
Hi,

How to create 2 connection simultaneously without freezing the mainwindow?

Thanks!

StrikeByte
5th June 2012, 09:12
What kind of connection are you refering to?

doniking
6th June 2012, 18:38
thanks.

smtp and imap at the same time and will display all the commands sent and returned msg in listviews.
pls give some advice.

wysota
6th June 2012, 18:46
Why would it freeze the window?

doniking
7th June 2012, 06:09
Why would it freeze the window?

i dont know since i haven't tried it with qt.
i remember back there when using delphi i faced this problem.
can you please give me advice on the best way to do those things?

wysota
7th June 2012, 07:02
The best way is to read some documentation and take a look at some of the numerous examples available and learn from them.

doniking
7th June 2012, 17:04
thanks master
very helpful

i thought this was a "Newbie" and not a "Self learning" forum

wysota
7th June 2012, 20:03
Being a newbie doesn't free you from learning. We can give you hints but we will not do your work for you. If you go through learning basics and ask specific questions, you'll get specific answers. Right now we could only quote the docs or point you to them so there is little sense in doing that if you can read the docs yourself.

doniking
8th June 2012, 08:52
that's what i want.
a hint.
on what should i look for, what should i avoid.
*sigh*

nevermind, i'll go search myself.

just close this thread.

Thanks.

wysota
8th June 2012, 09:30
that's what i want.
a hint.
on what should i look for, what should i avoid.


You should avoid calls that block the UI and you should look for learning how to do networking wih Qt asynchronously. I don't know how helpful it is but since you wanted a hint at this stage, here you go...