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