2007-11-29 Douglas S.Blank <dblank@cs.brynmawr.edu>

* src/ReportBase/__init__.py: import MenuReportOptions
	* src/ReportBase/_ReportOptions.py: import MenuOptions and
	  define MenuReportOptions
	* src/plugins/Calendar.py: get MenuReportOptions from ReportOptions
	* src/plugins/DescendChart.py: ditto
	* src/plugins/AncestorChart.py: ditto
	* src/plugins/GVHourGlass.py: ditto
	* src/plugins/FanChart.py: ditto
	* src/PluginUtils/__init__.py: define MenuToolOptions
	* src/PluginUtils/_MenuOptions.py: Remove circular dependancies



svn: r9433
This commit is contained in:
Doug Blank
2007-11-29 15:02:40 +00:00
parent 8d64c728fc
commit 56905cedd8
12 changed files with 74 additions and 57 deletions

View File

@@ -38,10 +38,9 @@ from gettext import gettext as _
#------------------------------------------------------------------------
import BaseDoc
from SubstKeywords import SubstKeywords
from PluginUtils import register_report
from PluginUtils import MenuReportOptions, \
from PluginUtils import register_report, \
NumberOption, BooleanOption, TextOption
from ReportBase import Report, ReportUtils, CATEGORY_DRAW, \
from ReportBase import Report, ReportUtils, CATEGORY_DRAW, MenuReportOptions,\
MODE_GUI, MODE_BKI, MODE_CLI
from BasicUtils import name_displayer
pt2cm = ReportUtils.pt2cm

View File

@@ -41,11 +41,10 @@ import BaseDoc
from BasicUtils import name_displayer
from DateHandler import displayer
from PluginUtils import register_report
from ReportBase import Report, ReportUtils, \
from ReportBase import Report, ReportUtils, MenuReportOptions, \
CATEGORY_DRAW, CATEGORY_TEXT, \
MODE_GUI, MODE_BKI, MODE_CLI
from PluginUtils import MenuReportOptions, \
NumberOption, BooleanOption, StringOption, \
from PluginUtils import NumberOption, BooleanOption, StringOption, \
FilterListOption, EnumeratedListOption
import GrampsLocale
import gen.lib

View File

@@ -29,11 +29,9 @@
#
#------------------------------------------------------------------------
from BasicUtils import name_displayer
from PluginUtils import register_report
from PluginUtils import MenuReportOptions, \
NumberOption, BooleanOption, TextOption
from ReportBase import Report, ReportOptions, ReportUtils, CATEGORY_DRAW, \
MODE_GUI, MODE_BKI, MODE_CLI
from PluginUtils import register_report, NumberOption, BooleanOption, TextOption
from ReportBase import Report, ReportOptions, MenuReportOptions, \
ReportUtils, CATEGORY_DRAW, MODE_GUI, MODE_BKI, MODE_CLI
from SubstKeywords import SubstKeywords
from gettext import gettext as _
import BaseDoc

View File

@@ -35,9 +35,8 @@ from gettext import gettext as _
#------------------------------------------------------------------------
import BaseDoc
from PluginUtils import register_report
from PluginUtils import MenuReportOptions, \
NumberOption, EnumeratedListOption
from ReportBase import Report, ReportUtils, CATEGORY_DRAW, \
from PluginUtils import NumberOption, EnumeratedListOption
from ReportBase import Report, ReportUtils,MenuReportOptions,CATEGORY_DRAW, \
MODE_GUI, MODE_BKI, MODE_CLI
from SubstKeywords import SubstKeywords

View File

@@ -28,10 +28,9 @@ Generate an hourglass graph using the GraphViz generator.
# GRAMPS modules
#
#------------------------------------------------------------------------
from PluginUtils import register_report
from PluginUtils import MenuReportOptions, NumberOption
from ReportBase import Report, ReportUtils, CATEGORY_GRAPHVIZ, \
MODE_GUI, MODE_CLI
from PluginUtils import register_report, NumberOption
from ReportBase import Report, ReportUtils, MenuReportOptions, \
MODE_GUI, MODE_CLI, CATEGORY_GRAPHVIZ
from BasicUtils import name_displayer
import DateHandler