summaryrefslogtreecommitdiffstats
path: root/examples2/tut2.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples2/tut2.py')
-rwxr-xr-xexamples2/tut2.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/examples2/tut2.py b/examples2/tut2.py
deleted file mode 100755
index 730b047..0000000
--- a/examples2/tut2.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python
-
-# TQt tutorial 2.
-
-import sys
-from python_tqt.qt import *
-
-
-a = TQApplication(sys.argv)
-
-quit = TQPushButton("Quit",None)
-quit.resize(75,30)
-quit.setFont(TQFont("Times",18,TQFont.Bold))
-
-TQObject.connect(quit,SIGNAL("clicked()"),a,SLOT("quit()"))
-
-a.setMainWidget(quit)
-quit.show()
-a.exec_loop()