subclassed QProgressDialog to encapsulate the control of the cursor