PySide/PyQt: Execute functions after GUI loads
问题 I am building a tiny tool that does file operations at session startup. In order to make sure the user has a visual feedback, I want to associate it with a progress bar. Here I am so far: import sys import time from PySide.QtGui import * class ProgressWindowWidget(QWidget): def __init__(self, parent=None): super(ProgressWindowWidget, self).__init__() self.init_ui() def init_ui(self): self.setGeometry(500, 500, 600, 100) self.setWindowTitle('Progress') self.layout_ = QGridLayout() self