summaryrefslogtreecommitdiffstats
path: root/puic/puic.1
blob: 2341fe31df755005d4240a0898a18d90058b72ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.\" Please adjust this date whenever revising the manpage.
.\" 
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.TH "PUIC" "1" "August 21, 2003" "Lutz Badenheuer <lutz.badenheuer@t-online.de>" ""
.SH "NAME"
puic \- perl user interface compiler
.SH "SYNOPSIS"
.B puic [options] [mode] <uifile>

.SH "DESCRIPTION"
This manual page documents briefly the
.B puic
command.
.PP 
\fBpuic\fP is a program you can use to compile .ui and .ui.h 
files (from TQt Designer) into perl (actually, PerlTQt) code. This 
enables you to draw your application using TQt Designer, compile 
and then run it. 

PerlTQt is an API for Perl to the TQt toolkit from Trolltech. With 
PerlTQt, you can use TQt widgets in perl code, thus giving a GUI to 
your perl programs. 
.SH "OPTIONS"
\fBGenerate implementation:\fR
   puic  [options] <uifile>

\fBGenerate image collection:\fR
   puic  [options] \-embed <project> <image1> <image2> <image3> ...
        <project>       project name
        <image[0..n]>   image files


\fBGenerate subclass implementation:\fR
   puic  [options] \-subimpl <classname> <uifile>
        <classname>     name of the subclass to generate


.TP 
.B Options:
.TP 
.B \-o file 
Write output to file rather than stdout
.TP 
.B \-p indent 
Set the indent in spaces (0 to use a tab)
.TP 
.B \-nofwd 
Omit imports of custom widgets
.TP 
.B \-tr func 
Use func(...) rather than trUtf8(...) for i18n
.TP 
.B \-x 
Generate extra code to test the class
.TP 
.B \-version 
Display version of puic
.TP 
.B \-help 
Show summary of options
.SH "SEE ALSO"
http://perlqt.sourceforge.net/
.SH "AUTHOR"
This manual page was written by Lutz Badenheuer <Lutz.Badenheuer@t\-online.de>,
for the Debian project (but may be used by others).