diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
commit | 8a055d66f43592c257cece2eb8cc021808062917 (patch) | |
tree | d0922f201bd5d24b62a33160d1d9baf9e89f9a70 /examples3/tut1.py | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'examples3/tut1.py')
-rwxr-xr-x | examples3/tut1.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples3/tut1.py b/examples3/tut1.py index 982e984..34dada8 100755 --- a/examples3/tut1.py +++ b/examples3/tut1.py @@ -1,14 +1,14 @@ #!/usr/bin/env python -# Qt tutorial 1. +# TQt tutorial 1. import sys import qt -a = qt.QApplication(sys.argv) +a = qt.TQApplication(sys.argv) -hello = qt.QPushButton("Hello world!", None) +hello = qt.TQPushButton("Hello world!", None) hello.resize(100, 30) a.setMainWidget(hello) |