Initial prototype.
* Changed database to introduce Citations * Introduced new Citation Primary object and CitationBase (equivalent to CitationRef) child object * Implemented CitationTreeModel and CitationListModel * Implemented CitationTreeView and CitationListView for new citation views in the navigator * Implemented EditCitation which is used both for the citation views in the navigator and for the citations of an object * Implemented the CitationEmbedList to display the citations of an object * Modified the bottom bar gramplets to support citations * Implemented the citation selector. * Modified Media object to include references to Citations * Initial work on deleting citations svn: r17960
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2011 Nick Hall
|
||||
# Copyright (C) 2011 Tim G L Lyons
|
||||
#
|
||||
# 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
|
||||
@ -217,6 +218,20 @@ register(GRAMPLET,
|
||||
navtypes=["Source"],
|
||||
)
|
||||
|
||||
register(GRAMPLET,
|
||||
id="Citation Gallery",
|
||||
name=_("Citation Gallery"),
|
||||
description = _("Gramplet showing media objects for a citation"),
|
||||
version="1.0.0",
|
||||
gramps_target_version="3.4",
|
||||
status = STABLE,
|
||||
fname="Gallery.py",
|
||||
height=200,
|
||||
gramplet = 'CitationGallery',
|
||||
gramplet_title=_("Gallery"),
|
||||
navtypes=["Citation"],
|
||||
)
|
||||
|
||||
register(GRAMPLET,
|
||||
id="Person Attributes",
|
||||
name=_("Person Attributes"),
|
||||
@ -343,6 +358,20 @@ register(GRAMPLET,
|
||||
navtypes=["Source"],
|
||||
)
|
||||
|
||||
register(GRAMPLET,
|
||||
id="Citation Notes",
|
||||
name=_("Citation Notes"),
|
||||
description = _("Gramplet showing the notes for a citation"),
|
||||
version="1.0.0",
|
||||
gramps_target_version="3.4",
|
||||
status = STABLE,
|
||||
fname="Notes.py",
|
||||
height=200,
|
||||
gramplet = 'CitationNotes',
|
||||
gramplet_title=_("Notes"),
|
||||
navtypes=["Citation"],
|
||||
)
|
||||
|
||||
register(GRAMPLET,
|
||||
id="Repository Notes",
|
||||
name=_("Repository Notes"),
|
||||
@ -539,6 +568,20 @@ register(GRAMPLET,
|
||||
navtypes=["Source"],
|
||||
)
|
||||
|
||||
register(GRAMPLET,
|
||||
id="Citation Backlinks",
|
||||
name=_("Citation Backlinks"),
|
||||
description = _("Gramplet showing the backlinks for a citation"),
|
||||
version="1.0.0",
|
||||
gramps_target_version="3.4",
|
||||
status = STABLE,
|
||||
fname="Backlinks.py",
|
||||
height=200,
|
||||
gramplet = 'CitationBacklinks',
|
||||
gramplet_title=_("References"),
|
||||
navtypes=["Citation"],
|
||||
)
|
||||
|
||||
register(GRAMPLET,
|
||||
id="Repository Backlinks",
|
||||
name=_("Repository Backlinks"),
|
||||
@ -637,6 +680,20 @@ register(GRAMPLET,
|
||||
navtypes=["Source"],
|
||||
)
|
||||
|
||||
register(GRAMPLET,
|
||||
id="Citation Filter",
|
||||
name=_("Citation Filter"),
|
||||
description = _("Gramplet providing a citation filter"),
|
||||
version="1.0.0",
|
||||
gramps_target_version="3.4",
|
||||
status = STABLE,
|
||||
fname="Filter.py",
|
||||
height=200,
|
||||
gramplet = 'CitationFilter',
|
||||
gramplet_title=_("Filter"),
|
||||
navtypes=["Citation"],
|
||||
)
|
||||
|
||||
register(GRAMPLET,
|
||||
id="Place Filter",
|
||||
name=_("Place Filter"),
|
||||
|
Reference in New Issue
Block a user