Hi all, I’m writing a pyqt project and I have a single class for main windows:
class Ui(QMainWindow): def __init__(self): super().__init__() uic.loadUi('./ui/smipack40.ui', self) self.logoImageMainWindows.setScaledContents(True) self.setWindowIcon(QtGui.QIcon('./ui/logo.png')) def function1(): ''' app = QApplication() window = Ui() window.show() app.exec()
I would like create a dialog screen with a gif which runs while function1 is loading (writing files etc)
and maybe animate a gif file in the main windows (maybe in a angle of the screen or in the right side of the button which run the function1 when clicked) during function1 is running.
this is possible?