summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/xwin/__init__.py
blob: 41563ee5b797c177184a71a75af3d193154cbf8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
labelText = 'X Windows Features'
iconName = 'kcmx'

helpText = """TDE and PyTDE allow interaction with the X Window system.  Check
out the nifty samples below."""

from PyTQt.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)