Python Forum
PyQt5 - Threading
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PyQt5 - Threading
#3
For additional context: The current UI consists of a QMainWindow with QLineEdit boxes for inputs and a QPushButton to initiate the search. I'm looking to add a progress bar (and a cancel button) alongside the worker thread - As it is now, _set_validators grabs the user input and _save_pushed searches the db (Lines 39-130) and displays the results (Lines 166-211) in a QTabWidget object (within the QMainWindow). So I supposes these two sets of codes are the ones I need to run a separate thread(s) to prevent the GUI from hanging.
Reply


Messages In This Thread
PyQt5 - Threading - by reginald - Apr-15-2020, 02:53 PM
RE: PyQt5 - Threading - by deanhystad - Apr-15-2020, 03:57 PM
RE: PyQt5 - Threading - by reginald - Apr-15-2020, 04:30 PM
RE: PyQt5 - Threading - by deanhystad - Apr-15-2020, 05:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 2,923 Apr-06-2019, 11:15 PM
Last Post: ZenWoR

Forum Jump:

User Panel Messages

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