Exemplo n.º 1
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     GeoGraphyView.__init__(self, _("Descendance of the active person."),
                                   pdata, dbstate, uistate, 
                                   PersonBookmarks,
                                   nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.started = False
     self.minyear = 9999
     self.maxyear = 0
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.tracks = []
     self.additional_uis.append(self.additional_ui())
     self.skip_list = []
     self.track = []
     self.place_list_active = []
     self.place_list_ref = []
     self.cal = config.get('preferences.calendar-format-report')
     self.markers_by_level = dict()
     self.count = dict()
     self.no_show_places_in_status_bar = False
Exemplo n.º 2
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     GeoGraphyView.__init__(self, _("Have they been able to meet?"),
                                   pdata, dbstate, uistate, 
                                   PersonBookmarks,
                                   nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.all_place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.minyear = 9999
     self.maxyear = 0
     self.refperson = None
     self.refperson_bookmark = None
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.tracks = []
     self.additional_uis.append(self.additional_ui())
     self.ref_person = None
     self.skip_list = []
     self.track = []
     self.place_list_active = []
     self.place_list_ref = []
     self.cal = config.get('preferences.calendar-format-report')
     self.no_show_places_in_status_bar = False
Exemplo n.º 3
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     GeoGraphyView.__init__(self,
                            _("Have these two families been able to meet?"),
                            pdata, dbstate, uistate, FamilyBookmarks,
                            nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.all_place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.minyear = 9999
     self.maxyear = 0
     self.reffamily = None
     self.reffamily_bookmark = None
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.tracks = []
     self.additional_uis.append(self.additional_ui())
     self.ref_family = None
     self.skip_list = []
     self.track = []
     self.place_list_active = []
     self.place_list_ref = []
     self.cal = config.get('preferences.calendar-format-report')
     self.no_show_places_in_status_bar = False
     self.config_meeting_slider = None
     self.dbstate.connect('database-changed', self.reset_change_db)
Exemplo n.º 4
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     GeoGraphyView.__init__(self, _("Have these two families been able to meet?"),
                                   pdata, dbstate, uistate,
                                   FamilyBookmarks,
                                   nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.all_place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.minyear = 9999
     self.maxyear = 0
     self.reffamily = None
     self.reffamily_bookmark = None
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.tracks = []
     self.additional_uis.append(self.additional_ui())
     self.ref_family = None
     self.skip_list = []
     self.track = []
     self.place_list_active = []
     self.place_list_ref = []
     self.cal = config.get('preferences.calendar-format-report')
     self.no_show_places_in_status_bar = False
Exemplo n.º 5
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     GeoGraphyView.__init__(self, _("Descendance of the active person."),
                                   pdata, dbstate, uistate, 
                                   PersonBookmarks,
                                   nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.started = False
     self.minyear = 9999
     self.maxyear = 0
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.tracks = []
     self.additional_uis.append(self.additional_ui())
     self.skip_list = []
     self.track = []
     self.place_list_active = []
     self.place_list_ref = []
     self.cal = config.get('preferences.calendar-format-report')
     self.markers_by_level = dict()
     self.count = dict()
     self.no_show_places_in_status_bar = False
Exemplo n.º 6
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     self.window_name = _('Places map')
     GeoGraphyView.__init__(self, self.window_name,
                                   pdata, dbstate, uistate,
                                   PlaceBookmarks,
                                   nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.minyear = 9999
     self.maxyear = 0
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.generic_filter = None
     self.additional_uis.append(self.additional_ui())
     self.no_show_places_in_status_bar = False
     self.show_all = False
     self.itemoption = None
     self.menu = None
     self.cal = config.get('preferences.calendar-format-report')
     self.plc_color = []
     self.plc_custom_color = defaultdict(set)
Exemplo n.º 7
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     GeoGraphyView.__init__(self, _("Family places map"), pdata, dbstate, uistate, FamilyBookmarks, nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.minyear = 9999
     self.maxyear = 0
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.additional_uis.append(self.additional_ui())
     self.no_show_places_in_status_bar = False
Exemplo n.º 8
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     GeoGraphyView.__init__(self, _("Person places map"), pdata, dbstate,
                            uistate, PersonBookmarks, nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.minyear = 9999
     self.maxyear = 0
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.additional_uis.append(self.additional_ui())
     self.no_show_places_in_status_bar = False
Exemplo n.º 9
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     self.window_name = _('Places map')
     GeoGraphyView.__init__(self, self.window_name, pdata, dbstate, uistate,
                            PlaceBookmarks, nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.minyear = 9999
     self.maxyear = 0
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.generic_filter = None
     self.additional_uis.append(self.additional_ui())
     self.no_show_places_in_status_bar = False
     self.show_all = False
Exemplo n.º 10
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     self.window_name = _('Places map')
     GeoGraphyView.__init__(self, self.window_name,
                                   pdata, dbstate, uistate,
                                   PlaceBookmarks,
                                   nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.minyear = 9999
     self.maxyear = 0
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.generic_filter = None
     self.additional_uis.append(self.additional_ui())
     self.no_show_places_in_status_bar = False
     self.show_all = False
Exemplo n.º 11
0
 def __init__(self, pdata, dbstate, uistate, nav_group=0):
     GeoGraphyView.__init__(self, _("Ancestors places on the map"), pdata,
                            dbstate, uistate, PersonBookmarks, nav_group)
     self.dbstate = dbstate
     self.uistate = uistate
     self.place_list = []
     self.place_without_coordinates = []
     self.minlat = self.maxlat = self.minlon = self.maxlon = 0.0
     self.minyear = 9999
     self.maxyear = 0
     self.nbplaces = 0
     self.nbmarkers = 0
     self.sort = []
     self.additional_uis.append(self.additional_ui())
     self.no_show_places_in_status_bar = False
     self.already_started = False
     self.large_move = False
     self.cal = None
     self.menu = None
     self.itemoption = None
     self.event_list = []
     self.already_done = []
     self.nb_evts = 0
Exemplo n.º 12
0
 def define_actions(self):
     """
     Define action for the reference family button.
     """
     GeoGraphyView.define_actions(self)
     self._add_action('RefFamily', self.select_family)
Exemplo n.º 13
0
 def define_actions(self):
     """
     Define action for the reference person button.
     """
     GeoGraphyView.define_actions(self)
     self._add_action('RefPerson', self.select_person)
Exemplo n.º 14
0
 def define_actions(self):
     """
     Define action for the reference family button.
     """
     GeoGraphyView.define_actions(self)
     self._add_action('RefFamily', self.select_family)
Exemplo n.º 15
0
 def define_actions(self):
     """
     Define action for the reference person button.
     """
     GeoGraphyView.define_actions(self)
     self._add_action('RefPerson', self.select_person)