Let’s create an application based on the Dialog without Buttons template with the following steps:
- We need two pair of QLabel and QProgressBar widgets in this application. Add a QLabel widget to the form by dragging and dropping a Label widget on the form.
- 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.
- Set the text property of the first Label widget to Downloading the file and that of the second Label widget to Scanning for Virus.
- Set the objectName property of the first Progress Bar widget to progressBarFileDownload.
- Set the objectName property of the second Progress Bar widget to progressBarVirusScan.
- Save the application ...