Exemple #1
0
    def __init__(self, **kwa):
        super(MarkerInitialScreen, self).__init__(**kwa)

        self.pathText = []
        self.progressBarTime = 0
        self.progressLen = 0
        self.box = BoxLayout()
        self.box.add_widget(
            kIm.Image(source='kvFiles/appImages/gifs/heimdall_OMG.gif'))
        self.popup = Popup(title='Por Odin!',
                           content=self.box,
                           size_hint=(0.4, 0.40))
        self.textinputtext = StringProperty()

        try:
            self.lastCredential = MarkerInitialScreen.store.get('credentials')
            print(self.lastCredential)

        except KeyError:
            print('Failed Login')
            MarkerInitialScreen.store.put('credentials',
                                          hostname='',
                                          username='',
                                          password='')
            self.lastCredential = MarkerInitialScreen.store.get('credentials')
            username = ""
Exemple #2
0
    def __init__(self, **kwa):
        super(MarkerLabelScreen, self).__init__(**kwa)

        self.pathText = []
        self.progressBarTime = 0
        self.progressLen = 0
        self.box = BoxLayout()
        self.box.add_widget(
            kIm.Image(source='kvFiles/appImages/gifs/heimdall_OMG.gif'))
        self.popup = Popup(title='Por Odin!',
                           content=self.box,
                           size_hint=(0.4, 0.40))