From d796c9dd933ab96ec83b9a634feedd5d32e1ba3f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 8 Nov 2011 12:31:36 -0600 Subject: Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 --- doc/html/uic.html | 133 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 doc/html/uic.html (limited to 'doc/html/uic.html') diff --git a/doc/html/uic.html b/doc/html/uic.html new file mode 100644 index 000000000..58f20744b --- /dev/null +++ b/doc/html/uic.html @@ -0,0 +1,133 @@ + + + + + +User Interface Compiler (uic) + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

User Interface Compiler (uic)

+ + + + +

This page documents the User Interface Compiler for the TQt GUI +toolkit. The uic reads a user interface definition +(.ui) file in XML as generated by TQt +Designer and creates corresponding C++ header or source files. +It can also generate an image file to embed raw image data in C++ +source code. +

Options +

+

File Generation Options +

+

Generate declaration: +

+uic  [options]  <file>
+
+ +

Generate implementation: +

+uic  [options] -impl <headerfile> <file>
+
+ + +

Generate image collection: +

+uic  [options] -embed <project> <image1> <image2> <image3> ...
+
+ + +

For convenience, uic can also generate declaration or +implementation stubs for subclasses. +

Generate subclass declaration: +

+uic  [options] -subdecl <classname> <headerfile> <file>
+
+ + +

Generate subclass implementation: +

+uic  [options] -subimpl <classname> <headerfile> <file>
+
+ + +

General Options +

+

+

Usage +

+

uic is almost always invoked by make (1), rather than by hand. +

Here are useful makefile rules if you only use GNU make: +

+    %.h: %.ui
+        uic $< -o $@
+
+    %.cpp: %.ui
+        uic -impl $*.h $< -o $@
+
+ +If you want to write portably, you can use individual rules of the +following form: +
+    NAME.h: NAME.ui
+        uic $< -o $@
+
+    NAME.cpp: NAME.ui
+        uic -impl $*.h $< -o $@
+
+ +You must also remember to add NAME.cpp to your SOURCES (substitute +your favorite name) variable and NAME.o to your OBJECTS variable. +

(While we prefer to name our C++ source files .cpp, the uic doesn't +care, so you can use .C, .cc, .CC, .cxx or even .c++ if you prefer.) +

+ +


+ +
Copyright © 2007 +TrolltechTrademarks +
TQt 3.3.8
+
+ -- cgit v1.2.1