blob: 34787fd0cff561bd425277189a54e04683e2a581 (
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 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)
|