コード例 #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()
コード例 #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()
コード例 #3
0
ファイル: gps.py プロジェクト: byUNiXx/kivy_flask_gps
 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()
コード例 #4
0
ファイル: main.py プロジェクト: TheCoffeCoder/gps
    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()
コード例 #5
0
ファイル: gpshelper.py プロジェクト: DelaFrostey/FIRSTMAP
 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()
コード例 #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()
コード例 #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()
コード例 #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()
コード例 #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()