labelText = 'Dialog Boxes' iconName = 'launch' helpText = ("TDE provides a convenient set of dialog boxes for application use. " "Select the children of this item to see for yourself.") from PyTQt.tqt import TQFrame, TQVBoxLayout from tdeui import KTextEdit class MainFrame(TQFrame): def __init__(self, parent=None): TQFrame.__init__(self, parent) layout = TQVBoxLayout(self) self.text = KTextEdit(helpText, '', self) layout.addWidget(self.text, 1)