Beispiel #1
0
    def __init__(self, gui, nav_group=0):
        Gramplet.__init__(self, gui, nav_group)
        FanChart2WayGrampsGUI.__init__(self, self.on_childmenu_changed)
        self.generations_asc = 5
        self.generations_desc = 4
        self.background = BACKGROUND_SCHEME1
        self.fonttype = 'Sans'
        self.grad_start = '#FF0000'
        self.grad_end = '#0000FF'
        self.dupcolor = '#888A85'  #light grey
        self.generic_filter = None
        self.alpha_filter = 0.2
        self.form = FORM_HALFCIRCLE
        self.angle_algo = ANGLE_WEIGHT
        self.flipupsidedownname = True
        self.twolinename = True
        self.showid = False
        self.childring = False
        self.background_gradient = True
        #self.filter = filter

        self.set_fan(
            FanChart2WayWidget(self.dbstate, self.uistate, self.on_popup))
        # Replace the standard textview with the fan chart widget:
        self.gui.get_container_widget().remove(self.gui.textview)
        self.gui.get_container_widget().add(self.fan)
        # Make sure it is visible:
        self.fan.show()
Beispiel #2
0
    def __init__(self, gui, nav_group=0):
        Gramplet.__init__(self, gui, nav_group)
        FanChart2WayGrampsGUI.__init__(self, self.on_childmenu_changed)
        self.generations_asc = 5
        self.generations_desc = 4
        self.background = BACKGROUND_SCHEME1
        self.fonttype = 'Sans'
        self.grad_start = '#FF0000'
        self.grad_end = '#0000FF'
        self.dupcolor = '#888A85'  #light grey
        self.generic_filter = None
        self.alpha_filter = 0.2
        self.form = FORM_HALFCIRCLE
        self.angle_algo = ANGLE_WEIGHT
        self.flipupsidedownname = True
        self.twolinename = True
        self.childring = False
        self.background_gradient = True
        #self.filter = filter

        self.set_fan(FanChart2WayWidget(self.dbstate, self.uistate, self.on_popup))
        # Replace the standard textview with the fan chart widget:
        self.gui.get_container_widget().remove(self.gui.textview)
        self.gui.get_container_widget().add_with_viewport(self.fan)
        # Make sure it is visible:
        self.fan.show()
Beispiel #3
0
 def __init__(self, gui, nav_group=0):
     Gramplet.__init__(self, gui, nav_group)
     FanChartDescGrampsGUI.__init__(self, self.on_childmenu_changed)
     self.maxgen = 6
     self.background = BACKGROUND_SCHEME1
     self.fonttype = 'Sans'
     self.grad_start = '#0000FF'
     self.grad_end = '#FF0000'
     self.dupcolor = '#888A85'  #light grey
     self.generic_filter = None
     self.alpha_filter = 0.2
     self.form = FORM_HALFCIRCLE
     self.angle_algo = ANGLE_WEIGHT
     self.set_fan(FanChartDescWidget(self.dbstate, self.uistate, self.on_popup))
     # Replace the standard textview with the fan chart widget:
     self.gui.get_container_widget().remove(self.gui.textview)
     self.gui.get_container_widget().add(self.fan)
     # Make sure it is visible:
     self.fan.show()
Beispiel #4
0
 def __init__(self, gui, nav_group=0):
     Gramplet.__init__(self, gui, nav_group)
     FanChartGrampsGUI.__init__(self, self.on_childmenu_changed)
     self.maxgen = 6
     self.background = BACKGROUND_SCHEME1
     self.childring = True
     self.radialtext = True
     self.fonttype = 'Sans'
     self.grad_start = '#0000FF'
     self.grad_end = '#FF0000'
     self.generic_filter = None
     self.alpha_filter = 0.2
     self.form = FORM_HALFCIRCLE
     self.set_fan(FanChartWidget(self.dbstate, self.uistate, self.on_popup))
     # Replace the standard textview with the fan chart widget:
     self.gui.get_container_widget().remove(self.gui.textview)
     self.gui.get_container_widget().add(self.fan)
     # Make sure it is visible:
     self.fan.show()
Beispiel #5
0
 def __init__(self, gui, nav_group=0):
     Gramplet.__init__(self, gui, nav_group)
     FanChartGrampsGUI.__init__(self, self.on_childmenu_changed)
     self.maxgen = 6
     self.background = BACKGROUND_SCHEME1
     self.childring = True
     self.radialtext = True
     self.fonttype = "Sans"
     self.grad_start = "#0000FF"
     self.grad_end = "#FF0000"
     self.generic_filter = None
     self.alpha_filter = 0.2
     self.form = FORM_HALFCIRCLE
     self.set_fan(FanChartWidget(self.dbstate, self.uistate, self.on_popup))
     # Replace the standard textview with the fan chart widget:
     self.gui.get_container_widget().remove(self.gui.textview)
     self.gui.get_container_widget().add(self.fan)
     # Make sure it is visible:
     self.fan.show()
Beispiel #6
0
 def __init__(self, gui, nav_group=0):
     Gramplet.__init__(self, gui, nav_group)
     FanChartDescGrampsGUI.__init__(self, self.on_childmenu_changed)
     self.maxgen = 6
     self.background = BACKGROUND_SCHEME1
     self.fonttype = 'Sans'
     self.grad_start = '#0000FF'
     self.grad_end = '#FF0000'
     self.dupcolor = '#888A85'  #light grey
     self.generic_filter = None
     self.alpha_filter = 0.2
     self.form = FORM_HALFCIRCLE
     self.angle_algo = ANGLE_WEIGHT
     self.set_fan(
         FanChartDescWidget(self.dbstate, self.uistate, self.on_popup))
     # Replace the standard textview with the fan chart widget:
     self.gui.get_container_widget().remove(self.gui.textview)
     self.gui.get_container_widget().add_with_viewport(self.fan)
     # Make sure it is visible:
     self.fan.show()
Beispiel #7
0
 def __init__(self, gui, nav_group=0):
     Gramplet.__init__(self, gui, nav_group)
     DbGUIElement.__init__(self, self.dbstate.db)
 def __init__(self, *args):
     Gramplet.__init__(self, *args)
     self.root = None
Beispiel #9
0
 def __init__(self, gui, nav_group=0):
     Gramplet.__init__(self, gui, nav_group)
     DbGUIElement.__init__(self, self.dbstate.db)
 def __init__(self, *args):
     print("base_url:",base_url)
     Gramplet.__init__(self, *args)