This example demonstrates the use of TQProgressBar when performing operations which may take a long time to complete. The progress dialog only appears if the estimated completion time is 3-4 seconds.