diff options
Diffstat (limited to 'python/pykde/examples/pykde-sampler/dialogs/__init__.py')
-rw-r--r-- | python/pykde/examples/pykde-sampler/dialogs/__init__.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/python/pykde/examples/pykde-sampler/dialogs/__init__.py b/python/pykde/examples/pykde-sampler/dialogs/__init__.py deleted file mode 100644 index c6f70f9c..00000000 --- a/python/pykde/examples/pykde-sampler/dialogs/__init__.py +++ /dev/null @@ -1,18 +0,0 @@ -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) |