当前位置: 首页>>代码示例>>Python>>正文


Python geography.GeoGraphyView类代码示例

本文整理汇总了Python中gramps.plugins.lib.maps.geography.GeoGraphyView的典型用法代码示例。如果您正苦于以下问题:Python GeoGraphyView类的具体用法?Python GeoGraphyView怎么用?Python GeoGraphyView使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了GeoGraphyView类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

 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
开发者ID:cicl06,项目名称:gramps,代码行数:27,代码来源:geofamclose.py

示例2: __init__

 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
开发者ID:ondrokrc,项目名称:gramps,代码行数:26,代码来源:geomoves.py

示例3: __init__

 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)
开发者ID:SNoiraud,项目名称:gramps,代码行数:25,代码来源:geoplaces.py

示例4: __init__

 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
开发者ID:radoeka,项目名称:gramps,代码行数:14,代码来源:geofamily.py

示例5: __init__

 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
开发者ID:doczkal,项目名称:gramps,代码行数:20,代码来源:geoplaces.py

示例6: define_actions

 def define_actions(self):
     """
     Define action for the reference family button.
     """
     GeoGraphyView.define_actions(self)
     self._add_action('RefFamily', self.select_family)
开发者ID:SNoiraud,项目名称:gramps,代码行数:6,代码来源:geofamclose.py

示例7: define_actions

 def define_actions(self):
     """
     Define action for the reference person button.
     """
     GeoGraphyView.define_actions(self)
     self._add_action('RefPerson', self.select_person)
开发者ID:SNoiraud,项目名称:gramps,代码行数:6,代码来源:geoclose.py


注:本文中的gramps.plugins.lib.maps.geography.GeoGraphyView类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。