Splash screen in pyqt
问题 I want to modify my code to add the splash screen before login dialog is shown(about 2 seconds) .i tried something(changed into comment )but not working .please show me how to modify my code. import sys from time import * from PyQt4 import QtGui,QtCore from loginD import * from mainwindow import Ui_MainWindow class Login(QtGui.QDialog): #A dialog with username and password lineedit def __init__(self,parent=None): QtGui.QDialog.__init__(self,parent) self.ui=Ui_LoginD() self.ui.setupUi(self)