Example #1
0
    def __init__(self):

        UiControllerReview.__init__(self, name="Command line UI Controller")
        self.title = _("Mnemosyne") + " - " + \
            os.path.basename(config()["path"])[:-4]
        self.grade = 0
        self.card = None
Example #2
0
    def __init__(self):
        """ Initialization items of review window """

        HildonBaseUi.__init__(self, signals=["get_answer", "grade"])
        UiControllerReview.__init__(self, name="Hildon UI Review Controller")

        self.title = _("Mnemosyne") + " - " + \
            splitext(basename(config()["path"]))[0]

        self.grade = 0
        self.card = None
Example #3
0
 def __init__(self):
     UiControllerReview.__init__(self, name="SM2 Controller")