]> git.pld-linux.org Git - packages/qt4.git/blame - qt-FHS.patch
- fix function name
[packages/qt4.git] / qt-FHS.patch
CommitLineData
cca4491b 1diff -ur qt-x11-free-3.0.5.orig/tools/designer/designer/newformimpl.cpp qt-x11-free-3.0.5/tools/designer/designer/newformimpl.cpp
2--- qt-x11-free-3.0.5.orig/tools/designer/designer/newformimpl.cpp Wed Jun 19 17:25:56 2002
3+++ qt-x11-free-3.0.5/tools/designer/designer/newformimpl.cpp Wed Jul 31 10:53:51 2002
4@@ -287,7 +287,7 @@
5 if(qtdir) //try the tools/designer directory last!
6 templRoots << QString(qtdir) + "/tools/designer";
7 for ( QStringList::Iterator it = templRoots.begin(); it != templRoots.end(); ++it ) {
8- QString path = (*it) + "/templates";
9+ QString path = (*it) + "/share/qt/designer/templates";
10 if ( QFile::exists( path )) {
11 templPath = path;
12 break;
13--- qt-copy/doc/html/designer-manual-9.html.orig Fri Sep 6 14:29:34 2002
14+++ qt-copy/doc/html/designer-manual-9.html Sat Sep 28 16:53:26 2002
c5ff58e3 15@@ -87,7 +87,7 @@
16 <ol type=1><li><p>Click <b>File|New</b> to invoke the <em>New File</em> dialog. Click the Dialog template then click <b>OK</b>.</p>
17 <li><p>Click the <b>Text Label</b> toolbar button, then click near the top left of the form. Change the font Point Size property to 16 and change the <em>text</em> property to your or your company's name. Click the <b>Line</b> toolbar button, then click the form below the label; click Horizontal on the pop-up menu.</p>
18 <li><p>Select the label and the line. (<b>Ctrl+Click</b> the form, then drag the rubber band so that it touches or includes the line and the label.) Press <b>Ctrl+L</b> to lay them out vertically.</p>
19-<li><p>Click the <b>Save</b> toolbar button. In the <em>Save As</em> dialog, navigate to <em>Qt Designer</em>'s templates directory, e.g. (<tt>qt/tools/designer/templates</tt>. Type in the name 'Simple_Dialog.ui' and click <b>Save</b>.</p>
cca4491b 20+<li><p>Click the <b>Save</b> toolbar button. In the <em>Save As</em> dialog, navigate to <em>Qt Designer</em>'s templates directory, e.g. (/usr/X11R6/share/qt/designer/templates)</tt>. Type in the name 'Simple_Dialog.ui' and click <b>Save</b>.</p>
c5ff58e3 21 <li><p>Right click the form in the Forms list, then click Remove form from project.</p>
22 </ol><p>Now that we have the simple template we are ready to use it. Click <b>File|New</b> to invoke the <em>New File</em> dialog. One of the templates that will appear is 'Simple Dialog'. Click the simple dialog, then click <b>OK</b>. 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.</p>
23 <h4><a name="2-2"></a>Base-class Templates</h4>
826f136f 24--- qt-copy/tools/designer/designer/designer.pro~ 2003-06-23 18:59:53.000000000 +0200
25+++ qt-copy/tools/designer/designer/designer.pro 2003-06-23 20:23:44.000000000 +0200
26@@ -427,7 +427,7 @@
cca4491b 27 target.path=$$libs.path
28 INSTALLS += target
826f136f 29
aff70a2e 30-templates.path=$$data.path/templates
31+templates.path=$$data.path/designer/templates
32 templates.files = ../templates/*
33 INSTALLS += templates
826f136f 34
This page took 0.047216 seconds and 4 git commands to generate.