本文整理匯總了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
示例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)
示例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
示例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
示例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