diff options
Diffstat (limited to 'examples2/tut2.py')
-rwxr-xr-x | examples2/tut2.py | 19 |
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() |