blob: f9ff0b10baf607fb4858547636dd97c0a8dcac31 (
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 QFrame, QLabel, QVBoxLayout
class MainFrame(QFrame):
def __init__(self, parent=None):
QFrame.__init__(self, parent)
layout = QVBoxLayout(self)
self.text = QLabel(helpText, self)
layout.addWidget(self.text, 1)
|