incramental update for http://www.gramps-project.org/bugs/view.php?id=4767
re 18636: Ok, I've gone with 'Whether to include a separate marital box in the report' re 18637: 1) missing information is a future feature. a check box to "include placeholders for missing generations"... I'll think about it. But I think I may go your way. 2) it deals with space available for missing boxes. Or instead of displaying an empty box with "include placeholders for missing generations" above, no box is displayed and the space for it is still there. 3) This has nothing to do with marriages boxes. Fathers have a display format, and Mothers have a display format. The center person is neither a Father or Mother. So which display box should we use? 4) good. But most common? I have no idea what those are... I'll think about it, but if you have any ideas... 5) Done 6) Done and Done (above) 7) I was thinking that scale was sizing and resizing is sizing too. Hense the 's'. I may still be wrong. 8) I'm under the impression that people don't see the tool tip. 9) wow. checked a 3.2 version and there is no 'include title' option... wow. 10) I don't see a 'include border' either in 3.2. Set to default to False 11) done but I can't seem to get the text box or enumerated list to be greyed out. I'll work on it more. svn: r17046
This commit is contained in:
parent
45ed1100cd
commit
e30181a474
@ -902,7 +902,7 @@ class AncestorTreeOptions(MenuReportOptions):
|
||||
##################
|
||||
category_name = _("Display")
|
||||
|
||||
disp = TextOption(_("Fathers\nDisplay Format"),
|
||||
disp = TextOption(_("Father\nDisplay Format"),
|
||||
["$n","%s $b" % _BORN,"%s $d" %_DIED] )
|
||||
disp.set_help(_("Display format for the output box."))
|
||||
menu.add_option(category_name, "father_disp", disp)
|
||||
@ -917,7 +917,7 @@ class AncestorTreeOptions(MenuReportOptions):
|
||||
|
||||
#category_name = _("Secondary")
|
||||
|
||||
dispMom = TextOption(_("Mothers\nDisplay Format"),
|
||||
dispMom = TextOption(_("Mother\nDisplay Format"),
|
||||
["$n","%s $b" % _BORN,
|
||||
"%s $m" %_MARR,
|
||||
"%s $d" %_DIED]
|
||||
@ -925,9 +925,9 @@ class AncestorTreeOptions(MenuReportOptions):
|
||||
dispMom.set_help(_("Display format for the output box."))
|
||||
menu.add_option(category_name, "mother_disp", dispMom)
|
||||
|
||||
incmarr = BooleanOption(_('Include Marriage information'), False)
|
||||
incmarr.set_help(_("Whether to include marriage information in the "
|
||||
"report."))
|
||||
incmarr = BooleanOption(_('Include Marriage box'), False)
|
||||
incmarr.set_help(
|
||||
_("Whether to include a separate marital box in the report"))
|
||||
menu.add_option(category_name, "inc_marr", incmarr)
|
||||
|
||||
marrdisp = StringOption(_("Marriage\nDisplay Format"), "%s $m" % _MARR)
|
||||
@ -982,7 +982,7 @@ class AncestorTreeOptions(MenuReportOptions):
|
||||
self.title.add_item( 1, _("Include Report Title"))
|
||||
menu.add_option(category_name, "report_title", self.title)
|
||||
|
||||
border = BooleanOption(_('Include a border'), True)
|
||||
border = BooleanOption(_('Include a border'), False)
|
||||
border.set_help(_("Whether to make a border around the report."))
|
||||
menu.add_option(category_name, "inc_border", border)
|
||||
|
||||
@ -998,22 +998,22 @@ class AncestorTreeOptions(MenuReportOptions):
|
||||
|
||||
#category_name = _("Notes")
|
||||
|
||||
self.usenote = BooleanOption(_('Include a personal note'), False)
|
||||
self.usenote.set_help(_("Whether to include a personalized note on "
|
||||
self.usenote = BooleanOption(_('Include a note'), False)
|
||||
self.usenote.set_help(_("Whether to include a note on "
|
||||
"the report."))
|
||||
menu.add_option(category_name, "inc_note", self.usenote)
|
||||
|
||||
self.notedisp = TextOption(_("Note to add\nto the tree\n\n$T "
|
||||
"inserts today's date"), [])
|
||||
self.notedisp.set_help(_("Add a personal note"))
|
||||
self.notedisp = TextOption(_("Note"), [])
|
||||
self.notedisp.set_help(_("Add a personal note\n\n"
|
||||
"$T inserts today's date"))
|
||||
menu.add_option(category_name, "note_disp", self.notedisp)
|
||||
|
||||
locales = NoteType(0, 1)
|
||||
notelocal = EnumeratedListOption(_("Note Location"), 0)
|
||||
self.notelocal = EnumeratedListOption(_("Note Location"), 0)
|
||||
for num, text in locales.note_locals():
|
||||
notelocal.add_item( num, text )
|
||||
notelocal.set_help(_("Where to place a personal note."))
|
||||
menu.add_option(category_name, "note_place", notelocal)
|
||||
self.notelocal.add_item( num, text )
|
||||
self.notelocal.set_help(_("Where to place a personal note."))
|
||||
menu.add_option(category_name, "note_place", self.notelocal)
|
||||
|
||||
def __check_blank(self):
|
||||
if self.__onepage:
|
||||
|
@ -1515,10 +1515,9 @@ class DescendTreeOptions(MenuReportOptions):
|
||||
sdisp.set_help(_("Display format for a spouse."))
|
||||
menu.add_option(category_name, "spouse_disp", sdisp)
|
||||
|
||||
incmarr = BooleanOption(_('Include Marriage information'), True)
|
||||
incmarr = BooleanOption(_('Include Marriage box'), True)
|
||||
incmarr.set_help(
|
||||
_("Whether to include marriage information in the report.")
|
||||
)
|
||||
_("Whether to include a separate marital box in the report"))
|
||||
menu.add_option(category_name, "inc_marr", incmarr)
|
||||
|
||||
marrdisp = StringOption(_("Marriage\nDisplay Format"), "%s $m" % _MARR)
|
||||
@ -1584,7 +1583,7 @@ class DescendTreeOptions(MenuReportOptions):
|
||||
menu.add_option(category_name, "report_title", self.title)
|
||||
self.showparents.connect('value-changed', self.__Title_enum)
|
||||
|
||||
border = BooleanOption(_('Include a border'), True)
|
||||
border = BooleanOption(_('Include a border'), False)
|
||||
border.set_help(_("Whether to make a border around the report."))
|
||||
menu.add_option(category_name, "inc_border", border)
|
||||
|
||||
@ -1598,16 +1597,15 @@ class DescendTreeOptions(MenuReportOptions):
|
||||
|
||||
#category_name = _("Notes")
|
||||
|
||||
self.usenote = BooleanOption(_('Include a personal note'), False)
|
||||
self.usenote = BooleanOption(_('Include a note'), False)
|
||||
self.usenote.set_help(
|
||||
_("Whether to include a personalized note on the report.")
|
||||
_("Whether to include a note on the report.")
|
||||
)
|
||||
menu.add_option(category_name, "inc_note", self.usenote)
|
||||
|
||||
self.notedisp = TextOption(
|
||||
_("Note to add\nto the tree\n\n$T inserts today's date"),
|
||||
[])
|
||||
self.notedisp.set_help(_("Add a personal note"))
|
||||
self.notedisp = TextOption(_("Note"),[])
|
||||
self.notedisp.set_help(_("Add a personal note"
|
||||
"\n\n$T inserts today's date"))
|
||||
menu.add_option(category_name, "note_disp", self.notedisp)
|
||||
|
||||
locals = NoteType(0)
|
||||
|
Loading…
Reference in New Issue
Block a user