Hello

I am having a problem using QProgressDialog.

The problem I am having is that when I try to get QProgressDialog to run with a cancel option, I cannot click the button and therefore it will not exit the calculation operation.

I have done some digging around and I have seen that if a complex calculation is going on, then this could be the reason. However, this calculation is running in its own seperate thread and I would have thought would have therefore been 'de-coupled' from the main GUI.

At the moment QProgressDialog is being called from the thread doing the calculation and in an effort to try and de-couple it further, I have made a custom QProgressDialog class which is its own seperate thread. Although this still doesnt seem to work.

Would I need to make the QProgressDialog a child of the main GUI and keep the calculations processing in its own thread?

I am at a bit of a loss at what to really do....

Many Thanks
Geoff