# HG changeset patch # User paulb # Date 1130287073 0 # Node ID 5e8a468d568fe07129e0cf774fd266abe3e8bb5e # Parent 38e9b24db220ab8534813a23cb0174c8f1efe908 [project @ 2005-10-26 00:37:53 by paulb] Renamed template_resources to design_resources. diff -r 38e9b24db220 -r 5e8a468d568f examples/Common/QtConfigurator/__init__.py --- a/examples/Common/QtConfigurator/__init__.py Wed Oct 26 00:37:36 2005 +0000 +++ b/examples/Common/QtConfigurator/__init__.py Wed Oct 26 00:37:53 2005 +0000 @@ -8,7 +8,7 @@ resource_dir = os.path.join(os.path.split(__file__)[0], "Resources") - template_resources = { + design_resources = { "configuration" : "config.ui" } @@ -174,7 +174,7 @@ class Configurator(ConfiguratorResource, QtConfigurator.Forms.Configurator, XSLForms.Resources.PyQtResources.XSLFormsResource): def __init__(self, *args, **kw): QtConfigurator.Forms.Configurator.__init__(self, *args, **kw) - self.factory = XSLForms.Resources.PyQtResources.Factory(self.prepare_template("configuration")) + self.factory = XSLForms.Resources.PyQtResources.Factory(self.prepare_design("configuration")) ConfiguratorResource.__init__(self, *args, **kw) else: import XSLForms.Resources.PyQtWebResources