blob: 40b452acb3e047df3ae78f0ca4f7e258645ab8c3 (
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 = """KDE and PyKDE 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)
|