Apr-15-2020, 04:30 PM
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.