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.
pytde/examples/pykde-sampler/xwin/__init__.py

19 lines
429 B

labelText = 'X Windows Features'
iconName = 'kcmx'
helpText = """KDE and PyKDE allow interaction with the X Window system. Check
out the nifty samples below."""
from qt import QFrame, QLabel, QVBoxLayout
class MainFrame(QFrame):
def __init__(self, parent=None):
QFrame.__init__(self, parent)
layout = QVBoxLayout(self)
self.text = QLabel(helpText, self)
layout.addWidget(self.text, 1)