diff -ur qt-x11-free-3.0.5.orig/tools/designer/designer/newformimpl.cpp qt-x11-free-3.0.5/tools/designer/designer/newformimpl.cpp --- qt-x11-free-3.0.5.orig/tools/designer/designer/newformimpl.cpp Wed Jun 19 17:25:56 2002 +++ qt-x11-free-3.0.5/tools/designer/designer/newformimpl.cpp Wed Jul 31 10:53:51 2002 @@ -287,7 +287,7 @@ if(qtdir) //try the tools/designer directory last! templRoots << QString(qtdir) + "/tools/designer"; for ( QStringList::Iterator it = templRoots.begin(); it != templRoots.end(); ++it ) { - QString path = (*it) + "/templates"; + QString path = (*it) + "/share/qt/designer/templates"; if ( QFile::exists( path )) { templPath = path; break; --- qt-copy/doc/html/designer-manual-9.html.orig Fri Sep 6 14:29:34 2002 +++ qt-copy/doc/html/designer-manual-9.html Sat Sep 28 16:53:26 2002 @@ -87,7 +87,7 @@
  1. Click File|New to invoke the New File dialog. Click the Dialog template then click OK.

  2. Click the Text Label toolbar button, then click near the top left of the form. Change the font Point Size property to 16 and change the text property to your or your company's name. Click the Line toolbar button, then click the form below the label; click Horizontal on the pop-up menu.

  3. Select the label and the line. (Ctrl+Click the form, then drag the rubber band so that it touches or includes the line and the label.) Press Ctrl+L to lay them out vertically.

    -
  4. Click the Save toolbar button. In the Save As dialog, navigate to Qt Designer's templates directory, e.g. (qt/tools/designer/templates. Type in the name 'Simple_Dialog.ui' and click Save.

    +
  5. Click the Save toolbar button. In the Save As dialog, navigate to Qt Designer's templates directory, e.g. (/usr/X11R6/share/qt/designer/templates). Type in the name 'Simple_Dialog.ui' and click Save.

  6. Right click the form in the Forms list, then click Remove form from project.

Now that we have the simple template we are ready to use it. Click File|New to invoke the New File dialog. One of the templates that will appear is 'Simple Dialog'. Click the simple dialog, then click OK. A new form will appear with the same widgets and layout as the template. Add any other widgets and functionality. When you attempt to save the form you will be prompted for a new form name.

Base-class Templates

--- qt-copy/tools/designer/designer/designer.pro~ 2003-06-23 18:59:53.000000000 +0200 +++ qt-copy/tools/designer/designer/designer.pro 2003-06-23 20:23:44.000000000 +0200 @@ -427,7 +427,7 @@ target.path=$$libs.path INSTALLS += target -templates.path=$$data.path/templates +templates.path=$$data.path/designer/templates templates.files = ../templates/* INSTALLS += templates