2846: PedigreeView: build tree basic on arithmetics

svn: r13745
This commit is contained in:
Benny Malengier 2009-12-09 13:36:40 +00:00
parent 9a23a34ff1
commit 24cd5d6f92
5 changed files with 2701 additions and 0 deletions

View File

@ -543,6 +543,8 @@ src/plugins/view/htmlrenderer.py
src/plugins/view/mediaview.py
src/plugins/view/noteview.py
src/plugins/view/pedigreeview.py
src/plugins/view/pedigreeviewext.py
src/plugins/view/pedigreeviewext.gpr.py
src/plugins/view/personview.py
src/plugins/view/placeview.py
src/plugins/view/relview.py

View File

@ -565,6 +565,13 @@ register('interface.pedview-layout', 0)
register('interface.pedview-show-images', True)
register('interface.pedview-show-marriage', False)
register('interface.pedview-tree-size', 0)
register('interface.pedviewext-layout', 0)
register('interface.pedviewext-show-images', True)
register('interface.pedviewext-show-marriage', False)
register('interface.pedviewext-tree-size', 5)
register('interface.pedviewext-tree-direction', 2)
register('interface.pedviewext-scroll-direction', False)
register('interface.pedviewext-show-unknown-peoples', False)
register('interface.person-height', 550)
register('interface.person-ref-height', 350)
register('interface.person-ref-width', 600)

View File

@ -15,6 +15,8 @@ pkgdata_PYTHON = \
mediaview.py \
noteview.py \
pedigreeview.py \
pedigreeviewext.py \
pedigreeviewext.gpr.py \
personview.py \
placetreeview.gpr.py \
placetreeview.py \

View File

@ -0,0 +1,42 @@
# encoding:utf-8
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2009 Benny Malengier
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id: view.gpr.py 13633 2009-11-19 17:32:11Z ldnp $
#------------------------------------------------------------------------
#
# default views of Gramps
#
#------------------------------------------------------------------------
register(VIEW,
id = 'pedigreeviewext',
name = _("Pedigree View"),
description = _("The view showing an ancestor pedigree of the selected person"),
version = '1.0',
status = STABLE,
fname = 'pedigreeviewext.py',
authors = [u"The Gramps project"],
authors_email = ["http://gramps-project.org"],
category = ("Charts", _("Charts")),
viewclass = 'PedigreeViewExt',
order = START,
)

File diff suppressed because it is too large Load Diff