Python Forum
How can I measure progress and display it in the progress bar in the interface?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I measure progress and display it in the progress bar in the interface?
#1
Hello. I created a graphic interface using QtDesigner, which, when you press the OK button, runs a script that sequentially runs many programs.
The script is run by the subprocess.call command and contains many of these commands that execute all scripts from the project in sequence. The time it takes to execute all commands is long (about 20min), therefore you need a command bar in the interface. How can I measure the progress of scripting and how can I pass that progress to the progress bar in the interface?
Reply


Messages In This Thread
How can I measure progress and display it in the progress bar in the interface? - by Matgaret - Dec-10-2019, 03:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How To Make A PyQt5 Progress Bar Run While Executing A Function rcwildabeast 1 174 Apr-26-2024, 02:18 AM
Last Post: menator01
  [PyQt] Generate Progress Bar while executing a task maiya 7 8,155 Aug-10-2022, 10:05 AM
Last Post: mfitzp
Photo [PyQt] Connecting progress bars to sensors anastejzja 1 1,162 May-28-2022, 09:09 AM
Last Post: Axel_Erfurt
  Which GUI toolkit creating tool to measure distance/area on image kboortz 1 3,440 Aug-29-2020, 11:34 AM
Last Post: Larz60+
  [Tkinter] tkinter progress bar for decending number justaloser 1 2,627 Nov-10-2019, 12:31 AM
Last Post: Larz60+
  [Tkinter] Progress Bar While Sending an Email maxtimbo 3 4,132 Oct-09-2019, 09:13 PM
Last Post: woooee
  Progress Bar While Sending an Email maxtimbo 0 2,136 Oct-08-2019, 02:13 PM
Last Post: maxtimbo
  Need help setting up a PySimpleGUI progress bar that I can maually update in script Soundtechscott 1 10,122 Jun-10-2019, 06:14 AM
Last Post: Soundtechscott
  Display and update the label text which display the serial value jenkins43 5 9,118 Feb-04-2019, 04:36 AM
Last Post: Larz60+
  Display more than one button in GUI to display MPU6000 Sensor readings barry76 4 3,919 Jan-05-2019, 01:48 PM
Last Post: wuf

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020