You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
496 B
19 lines
496 B
13 years ago
|
labelText = 'Dialog Boxes'
|
||
|
iconName = 'launch'
|
||
|
|
||
|
|
||
|
helpText = ("KDE provides a convenient set of dialog boxes for application use. "
|
||
|
"Select the children of this item to see for yourself.")
|
||
|
|
||
|
|
||
13 years ago
|
from qt import TQFrame, TQVBoxLayout
|
||
13 years ago
|
from tdeui import KTextEdit
|
||
13 years ago
|
|
||
|
|
||
13 years ago
|
class MainFrame(TQFrame):
|
||
13 years ago
|
def __init__(self, parent=None):
|
||
13 years ago
|
TQFrame.__init__(self, parent)
|
||
|
layout = TQVBoxLayout(self)
|
||
13 years ago
|
self.text = KTextEdit(helpText, '', self)
|
||
|
layout.addWidget(self.text, 1)
|