summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/xwin/__init__.py
blob: 958435e370f56dcf7d100a8ef00c22631d847576 (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.tqt 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)