Perform the following steps to understand how asynchronous operations are performed:
- Let's create an application based on the Dialog without Buttons template. We will require two pair of QLabel and QProgressBar widgets in this application.
- Add a QLabel and a QProgressBar widget to the form by dragging and dropping a Label widget on the form and, below the Label widget, drag and drop a Progress Bar widget on the form.
- Repeat the procedure for another pair of Label and Progress Bar widgets.
- Above the Label and Progress Bar pair, drag and drop a push button on the form.
- Set the text property of the push button to Start.
- Set the text property of the first Label widget to Downloading the file and the second Label widget to ...