diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /examples/pykde-sampler/qt_widgets/__init__.py | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'examples/pykde-sampler/qt_widgets/__init__.py')
-rw-r--r-- | examples/pykde-sampler/qt_widgets/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/pykde-sampler/qt_widgets/__init__.py b/examples/pykde-sampler/qt_widgets/__init__.py index 3bbf9dc..fdd6539 100644 --- a/examples/pykde-sampler/qt_widgets/__init__.py +++ b/examples/pykde-sampler/qt_widgets/__init__.py @@ -1,17 +1,17 @@ -labelText = 'Qt Widgets' +labelText = 'TQt Widgets' iconName = 'designer' -helpText = """Qt provides a rich set of widgets for application use. +helpText = """TQt provides a rich set of widgets for application use. Select the children of this item to see for yourself.""" -from qt import QFrame, QVBoxLayout, SIGNAL +from qt import TQFrame, TQVBoxLayout, SIGNAL from tdeui import KTextEdit -class MainFrame(QFrame): +class MainFrame(TQFrame): def __init__(self, parent=None): - QFrame.__init__(self, parent) + TQFrame.__init__(self, parent) self.help = KTextEdit(helpText, '', self) - layout = QVBoxLayout(self, 4) + layout = TQVBoxLayout(self, 4) layout.addWidget(self.help) layout.addStretch(1) |