summaryrefslogtreecommitdiffstats
path: root/doc/html/designer-manual-16.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/designer-manual-16.html')
-rw-r--r--doc/html/designer-manual-16.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/designer-manual-16.html b/doc/html/designer-manual-16.html
index 2be199950..db2286702 100644
--- a/doc/html/designer-manual-16.html
+++ b/doc/html/designer-manual-16.html
@@ -32,7 +32,7 @@ body { background: #ffffff; color: black; }
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><p align="right">[<a href="designer-manual-15.html">Prev: Reference: Windows</a>] [<a href="designer-manual.html">Home</a>]</p>
<h2 align="center">Reference: The .ui File Format</h2>
<p><em>TQt Designer</em> stores forms in <tt>.ui</tt> files. These files use an XML format to represent form elements and their characteristics. This document provides an overview of the XML format used, and should provide enough information for developers to write their own <tt>.ui</tt> parsers so that they can read and modify <tt>.ui</tt> files programatically.</p>
-<p>One way to parse a <tt>.ui</tt> file is to use TQt and the <a href="tqdomdocument.html">TQDomDocument</a> class; this is how <em>TQt Designer</em> does it: see the <tt>uilib/ntqwidgetfactory.h</tt> and <tt>uilib/qwidgetfactory.cpp</tt> source files. For information on dynamically loading and running <tt>.ui</tt> files see <a href="designer-manual-6.html#2-3-2">Loading and Executing a Dynamic Dialog</a>.</p>
+<p>One way to parse a <tt>.ui</tt> file is to use TQt and the <a href="tqdomdocument.html">TQDomDocument</a> class; this is how <em>TQt Designer</em> does it: see the <tt>uilib/tqwidgetfactory.h</tt> and <tt>uilib/tqwidgetfactory.cpp</tt> source files. For information on dynamically loading and running <tt>.ui</tt> files see <a href="designer-manual-6.html#2-3-2">Loading and Executing a Dynamic Dialog</a>.</p>
<p>The doctype of a <tt>.ui</tt> file is simply "UI", so the doctype tag is:</p>
<pre>
&lt;!DOCTYPE UI&gt;
@@ -371,7 +371,7 @@ body { background: #ffffff; color: black; }
</pre>
<a name="widget"></a><h4><a name="1-22"></a>widget</h4>
<p>Widgets are used at multiple levels within a <tt>.ui</tt> file. The whole form itself is a widget, and it contains other widgets, usually within the context of layouts such as hboxes, vboxes and grids.</p>
-<p>Below is an example of a complete <tt>.ui</tt> file. The form itself is a <a href="ntqwidget.html">TQWidget</a> with various non-default properties set. This widget contains a single hbox, which also has some non-default properties, and which contains a single <a href="ntqtextbrowser.html">TQTextBrowser</a> widget.</p>
+<p>Below is an example of a complete <tt>.ui</tt> file. The form itself is a <a href="tqwidget.html">TQWidget</a> with various non-default properties set. This widget contains a single hbox, which also has some non-default properties, and which contains a single <a href="ntqtextbrowser.html">TQTextBrowser</a> widget.</p>
<pre>
&lt;!DOCTYPE UI&gt;&lt;UI version="3.1" stdsetdef="1"&gt;
&lt;class&gt;WinIntroPage&lt;/class&gt;
@@ -453,7 +453,7 @@ body { background: #ffffff; color: black; }
</pre>
<li><p><tt>iconset</tt> - an iconset (see <tt>pixmap</tt>), e.g. <tt>&lt;iconset&gt;filenew&lt;/iconset&gt;</tt></p>
<li><p><tt>number</tt> - an integer with an optional sign, e.g. <tt>&lt;number&gt;947&lt;/number&gt;</tt></p>
-<li><p><tt>palette</tt> - a <a href="ntqwidget.html#palette-prop">palette</a></p>
+<li><p><tt>palette</tt> - a <a href="tqwidget.html#palette-prop">palette</a></p>
<li><p><tt>pixmap</tt> - a pixmap, normally the name or "key" of the pixmap; the name is used if pixmaps are stored in the project, the key is used if a user defined function is used to access the pixmap. It is also possible for pixmaps to be included inline. Example: <tt>&lt;pixmap&gt;chair&lt;/pixmap&gt;</tt></p>
<li><p><tt>point</tt> - a point, e.g. <tt>&lt;point&gt;&lt;x&gt;15&lt;/x&gt;&lt;y&gt;95&lt;/y&gt;&lt;/point&gt;</tt></p>
<li><p><tt>rect</tt> - a rectangle, e.g.</p>