This one is easy, let's skip that for now.
You will need QProcess for this.- In the background I need to implement a function which will be executing the process createds by the users (with time slice, changes of process, etc.)...
You can use timers for animation so that you have constant frame rates but apart from that you probably won't need neither timers nor threads.So[2] I my mind (tired mind hehe), I only think in threads to make this program work simultaneos (user view, lists` animation and the mainfunctions)... some guys talk me about timers but I still not see how It could help me...
No, you don't. Unless you will be using some solutions where you can't avoid blocking the main thread.So[3], the first step is, I really need use the QThreads?
How about using QProgressBar or QProgressDialog?Ah talking about the animation, what`s the way to make something like:
char c;
while(c<`z`)
{
ui->line_edit->setText(c);
c++;
}
It`s works, but not like an animation hehe i mean how to show the `counter couting` to the user?
Bookmarks