Thanks alot it works , Here is working example taken from other website .
import sys
from PyQt4 import QtCore, QtGui
class MainWindow(QtGui.QMainWindow):
def __init__(self):
QtGui.QMainWindow.__init__(self)
#QtCore.QTimer.singleShot(4000, self.start)
def start(self):
print 'start'
QtCore.QTimer.singleShot(4000, self.start)
if __name__ == "__main__":
app = QtGui.QApplication(sys.argv)
mw = MainWindow()
mw.show()
mw.start()
sys.exit(app.exec_())
On Wed, Aug 17, 2011 at 12:23 PM, Phil Thompson <[email protected]
> wrote:
> On Wed, 17 Aug 2011 03:07:03 +0500, uahmed <[email protected]> wrote:
> > Hi
> >
> > In tkinter i use after method to recall the function after particular
> > interval time and that function do the the changes in GUI . What i
> should
> > use to do changes in Pyqt GUI ?
>
> QTimer.singleShot()
>
> Phil
>
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt