mygramps/MyTimeline.gpr.py
Daniel Viegas ce75cd55bb Convert plugin to Event-based view and improve filter dialog
- Convert plugin from Family-based to Event-based view
  * Change category from Families to Events
  * Update navigation_type to 'Event'
  * Replace FamilyBookmarks with EventBookmarks
  * Rewrite collect_events() to show all events in database
  * Update goto_handle() to work with event handles

- Update filter dialog to show families with members
  * Restructure person filter page with expandable families
  * Each family shows father, mother, and children
  * Add helper method to generate family display names

- Restore person connection lines
  * Re-enable visual connections between events of selected person
  * Clicking an event selects the person and shows connections

- Add uninstall script
  * Remove plugin files and backup directories
  * Clean up any plugin files in subdirectories
2025-11-29 21:42:10 +01:00

48 lines
1.4 KiB
Python

# encoding:utf-8
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2024
#
# 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, see <https://www.gnu.org/licenses/>.
#
from gramps.gen.plug._pluginreg import register, VIEW, STABLE
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
MODULE_VERSION = "6.0"
# ------------------------------------------------------------------------
#
# MyTimeline View
#
# ------------------------------------------------------------------------
register(
VIEW,
id="mytimelineview",
name=_("MyTimeline"),
description=_("A vertical timeline view showing all events in the database"),
version="1.0",
gramps_target_version=MODULE_VERSION,
status=STABLE,
fname="MyTimeline.py",
authors=["Daniel Viegas"],
authors_email=["dlviegas@gmail.com"],
category=("Events", _("Events")),
viewclass="MyTimelineView",
)