Exemplo n.º 1
0
 def ouvrir_gps(self):
     dialog = MDDialog(title="Erreur GPS",
                       text="Vous devez autoriser l'acces GPS"
                       )  #fenêtre de dialogue qui demande l'activation GPS
     dialog.size_hint = [.8, .8]
     dialog.pos_hint = {'center_x': .5, 'center_y': .5}
     dialog.open()
Exemplo n.º 2
0
 def open_gps_access_popup(self):
     dialog = MDDialog(
         title="GPS Error",
         text=
         "You need to enable GPS access for the app to function properly")
     dialog.size_hint = [.8, .8]
     dialog.pos_hint = {'center_x': .5, 'center_y': .5}
     dialog.open()
Exemplo n.º 3
0
 def permission_status(self, general_status, status_message):
     if general_status == "provider-enabled":
         pass
     else:
         popup = MDDialog(title="GPS Permissions Error",
                          text="This applications needs GPS permissions")
         popup.size_hint = [.8, .8]
         popup.pos_hint = {"center_x:": .5, "center_y": .5}
         popup.open()
Exemplo n.º 4
0
    def open_gps_access_popup(self):
        dailouge = MDDialog(title="GPS OFF", text="Enable The F*****g GPS!")
        dailouge.size_hint = [0.8, 0.8]
        dailouge.pos_hint = {"center_x": 0.5, "center_y": 0.5}

        dailouge.open()
Exemplo n.º 5
0
 def open_gps_access_popup(self):
     dialog = MDDialog(title="Ошибка GPS", text="Нужно включить gps module")
     dialog.size_hint = [.8, .8]
     dialog.pos_hint = {'center_x': .5, 'center_y': .5}
     dialog.open()
Exemplo n.º 6
0
 def open_gps_access_popup(self):
     dialog = MDDialog(title="GPS Error", text="Allume ton GPS!")
     dialog.size_hint = [.8, .8]
     dialog.pos_hint = {'center_x': .5, 'center_y': .5}
     dialog.open()
Exemplo n.º 7
0
 def open_gps_access_popup(self):
     dialog = MDDialog(title= 'Erreur GPS', text="Tu dois activer ta localisation GPS :(")
     dialog.size_hint = [.8, .8]
     dialog.pos_hint = {'center_x': .5, 'center_y': .5}
     dialog.open()
Exemplo n.º 8
0
 def open_gps_access_popup(self):
     dialog = MDDialog(title='GPS Error', text='Enable GPS Access')
     dialog.size_hint = [.8, .8]
     dialog.pos_hint = {'center_x': .5, 'center_y': .5}
     dialog.open()
Exemplo n.º 9
0
 def open_gps_access_popup(self):
     dialog = MDDialog(title="GPS Error", text="You need to enable Gps access for app to work")
     dialog.size_hint = [.8, .8]
     dialog.pos_hint = {'center_x': .5, 'center_y': .5}
     dialog.open()