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