當前位置: 首頁>>代碼示例>>Python>>正文


Python GeoGraphyView.__init__方法代碼示例

本文整理匯總了Python中gramps.plugins.lib.maps.geography.GeoGraphyView.__init__方法的典型用法代碼示例。如果您正苦於以下問題:Python GeoGraphyView.__init__方法的具體用法?Python GeoGraphyView.__init__怎麽用?Python GeoGraphyView.__init__使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在gramps.plugins.lib.maps.geography.GeoGraphyView的用法示例。


在下文中一共展示了GeoGraphyView.__init__方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: __init__

# 需要導入模塊: from gramps.plugins.lib.maps.geography import GeoGraphyView [as 別名]
# 或者: from gramps.plugins.lib.maps.geography.GeoGraphyView import __init__ [as 別名]
 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,代碼行數:29,代碼來源:geofamclose.py

示例2: __init__

# 需要導入模塊: from gramps.plugins.lib.maps.geography import GeoGraphyView [as 別名]
# 或者: from gramps.plugins.lib.maps.geography.GeoGraphyView import __init__ [as 別名]
 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,代碼行數:27,代碼來源:geoplaces.py

示例3: __init__

# 需要導入模塊: from gramps.plugins.lib.maps.geography import GeoGraphyView [as 別名]
# 或者: from gramps.plugins.lib.maps.geography.GeoGraphyView import __init__ [as 別名]
 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,代碼行數:28,代碼來源:geomoves.py

示例4: __init__

# 需要導入模塊: from gramps.plugins.lib.maps.geography import GeoGraphyView [as 別名]
# 或者: from gramps.plugins.lib.maps.geography.GeoGraphyView import __init__ [as 別名]
 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,代碼行數:16,代碼來源:geofamily.py

示例5: __init__

# 需要導入模塊: from gramps.plugins.lib.maps.geography import GeoGraphyView [as 別名]
# 或者: from gramps.plugins.lib.maps.geography.GeoGraphyView import __init__ [as 別名]
 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,代碼行數:22,代碼來源:geoplaces.py


注:本文中的gramps.plugins.lib.maps.geography.GeoGraphyView.__init__方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。