diff options
Diffstat (limited to 'examples/pytde-sampler/xwin')
-rw-r--r-- | examples/pytde-sampler/xwin/__init__.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/pytde-sampler/xwin/__init__.py b/examples/pytde-sampler/xwin/__init__.py new file mode 100644 index 0000000..34787fd --- /dev/null +++ b/examples/pytde-sampler/xwin/__init__.py @@ -0,0 +1,18 @@ +labelText = 'X Windows Features' +iconName = 'kcmx' + +helpText = """KDE and PyKDE allow interaction with the X Window system. Check +out the nifty samples below.""" + +from qt import TQFrame, TQLabel, TQVBoxLayout + +class MainFrame(TQFrame): + def __init__(self, parent=None): + TQFrame.__init__(self, parent) + layout = TQVBoxLayout(self) + self.text = TQLabel(helpText, self) + layout.addWidget(self.text, 1) + + + + |