Beispiel #1
0
class Widget(QtGui.QWidget, Screen):

    title = i18n("Welcome")
    desc = i18n("Welcome to %s")

    def __init__(self, *args):
        QtGui.QWidget.__init__(self, None)
        self.ui = Ui_welcomeWidget()
        self.ui.setupUi(self)
        Widget.desc = QVariant(unicode(str(Widget.desc)) % tools.getRelease())

    def shown(self):
        pass

    def execute(self):
        return True
Beispiel #2
0
class Widget(QtGui.QWidget, Screen):

    title = ki18n("Welcome")
    desc = ki18n("Welcome to %s")

    def __init__(self, *args):
        QtGui.QWidget.__init__(self,None)
        self.ui = Ui_welcomeWidget()
        self.ui.setupUi(self)
        Widget.desc = QVariant(unicode(Widget.desc.toString()) % tools.getRelease())

    def shown(self):
        pass

    def execute(self):
        return True
Beispiel #3
0
 def __init__(self, *args):
     QtGui.QWidget.__init__(self, None)
     self.ui = Ui_welcomeWidget()
     self.ui.setupUi(self)
     Widget.desc = QVariant(unicode(str(Widget.desc)) % tools.getRelease())
Beispiel #4
0
 def __init__(self, *args):
     QtGui.QWidget.__init__(self,None)
     self.ui = Ui_welcomeWidget()
     self.ui.setupUi(self)
     Widget.desc = QVariant(unicode(Widget.desc.toString()) % tools.getRelease())