1.1 --- a/examples/Common/QtConfigurator/__init__.py Wed Oct 26 00:37:36 2005 +0000
1.2 +++ b/examples/Common/QtConfigurator/__init__.py Wed Oct 26 00:37:53 2005 +0000
1.3 @@ -8,7 +8,7 @@
1.4
1.5 resource_dir = os.path.join(os.path.split(__file__)[0], "Resources")
1.6
1.7 - template_resources = {
1.8 + design_resources = {
1.9 "configuration" : "config.ui"
1.10 }
1.11
1.12 @@ -174,7 +174,7 @@
1.13 class Configurator(ConfiguratorResource, QtConfigurator.Forms.Configurator, XSLForms.Resources.PyQtResources.XSLFormsResource):
1.14 def __init__(self, *args, **kw):
1.15 QtConfigurator.Forms.Configurator.__init__(self, *args, **kw)
1.16 - self.factory = XSLForms.Resources.PyQtResources.Factory(self.prepare_template("configuration"))
1.17 + self.factory = XSLForms.Resources.PyQtResources.Factory(self.prepare_design("configuration"))
1.18 ConfiguratorResource.__init__(self, *args, **kw)
1.19 else:
1.20 import XSLForms.Resources.PyQtWebResources