Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
pyqt_timer Namespace Reference

Functions

def msg
def main

Function Documentation

def pyqt_timer.main ( )

Definition at line 39 of file pyqt_timer.py.

00039 
00040 def main():
00041     global timer
00042     timer = qt.QTimer()
00043     timer.connect(timer, qt.SIGNAL("timeout()"), msg)
00044     scribus.messageBox("Scribus - Python Timer",
00045                        "About to start a 5 second timer",
00046                        scribus.BUTTON_OK)
00047     timer.start(5*1000, True)

def pyqt_timer.msg ( )

Definition at line 34 of file pyqt_timer.py.

00034 
00035 def msg():
00036     scribus.messageBox("Scribus - Python Timer",
00037                        "The timer has run out",
00038                        scribus.BUTTON_OK)

Here is the caller graph for this function: