IndikaU
13th October 2011, 07:25
Hi,
I want to disable some controllers on a button click and start a process after that. I put the controller settings in beginning of the slot.
Here's the code.
//OnClick event
btnStart->setEnabled(false); //Need this to disabled before process starts below
btnBrowse->setEnabled(false); //Need this to disabled before process starts below
proc = new QProcess(this);
.
.
.
//..... this will wait till the process is finished
How can I achieve this?
Thanks,
Indika...
I want to disable some controllers on a button click and start a process after that. I put the controller settings in beginning of the slot.
Here's the code.
//OnClick event
btnStart->setEnabled(false); //Need this to disabled before process starts below
btnBrowse->setEnabled(false); //Need this to disabled before process starts below
proc = new QProcess(this);
.
.
.
//..... this will wait till the process is finished
How can I achieve this?
Thanks,
Indika...