Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 3a3caf2030fe9f56b649a0e16a9911a2 > files > 869

PyKDE-devel-3.16.6-3.fc13.i686.rpm

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.")


from qt import QFrame, QVBoxLayout
from kdeui import KTextEdit


class MainFrame(QFrame):
    def __init__(self, parent=None):
        QFrame.__init__(self, parent)
        layout = QVBoxLayout(self)
        self.text = KTextEdit(helpText, '', self)
        layout.addWidget(self.text, 1)