I'm trying to use mw.progress.start() while another window is loading/is opening which takes a couple of seconds, but it doesn't work. It only opens after the new window opened (and minimizes it). Here's the relevant code:
In __init__.py:
from .Main import start_main
def invoke_main():
mw.progress.start()
mw.Main = start_main()
#mw.progress.finish()
In Main.py:
from .forms import Main #pyuic generated file
class start_main(QDialog):
def __init__(self, parent=None):
self.parent = parent
QDialog.__init__(self, parent, Qt.Window)
self.dialog = Main.Ui_dialog()
`self.dialog.setupUi



