diff options
Diffstat (limited to 'python/pyqt/examples2/tut2.py')
-rwxr-xr-x | python/pyqt/examples2/tut2.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/python/pyqt/examples2/tut2.py b/python/pyqt/examples2/tut2.py deleted file mode 100755 index a31b7842..00000000 --- a/python/pyqt/examples2/tut2.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python - -# Qt tutorial 2. - -import sys -from qt import * - - -a = QApplication(sys.argv) - -quit = QPushButton("Quit",None) -quit.resize(75,30) -quit.setFont(QFont("Times",18,QFont.Bold)) - -QObject.connect(quit,SIGNAL("clicked()"),a,SLOT("quit()")) - -a.setMainWidget(quit) -quit.show() -a.exec_loop() |