blob: ffe7bed6cfc70f0a8c6e3e3f1cb37144baf6cf31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
labelText = 'Qt Widgets'
iconName = 'designer'
helpText = """Qt provides a rich set of widgets for application use.
Select the children of this item to see for yourself."""
from qt import QFrame, QVBoxLayout, SIGNAL
from kdeui import KTextEdit
class MainFrame(QFrame):
def __init__(self, parent=None):
QFrame.__init__(self, parent)
self.help = KTextEdit(helpText, '', self)
layout = QVBoxLayout(self, 4)
layout.addWidget(self.help)
layout.addStretch(1)
|