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