You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.8 KiB
65 lines
1.8 KiB
12 years ago
|
.TH RBUIC 1 "Apr 2004" "K Desktop Environment" "Qt Ruby UI Compiler Manual"
|
||
|
.SH NAME
|
||
|
rbuic \- The Qt Ruby UI Compiler
|
||
|
.SH SYNOPSIS
|
||
|
Generate implementation:
|
||
|
.B rbuic
|
||
|
[options] uifile
|
||
|
.LP
|
||
|
Generate subclass implementation:
|
||
|
.B rbuic
|
||
|
[options] -subimpl <classname> <uifile>
|
||
|
.LP
|
||
|
Generate image collection:
|
||
|
.B rbuic
|
||
|
[options] -embed <project> <image1> <image2> <image3> ...
|
||
|
.SH DESCRIPTION
|
||
|
Rbuic is the Qt Ruby UI Compiler. It generates Ruby code from a XML
|
||
|
UI Description file. This XML UI Description file can be generated by
|
||
|
Qt Designer, Qt's graphical UI designer. Rbuic is the Ruby equivalent
|
||
|
for the C++ uic program.
|
||
|
|
||
|
When invoked to generate an implementation, rbuic generates Ruby code
|
||
|
for the Qt UI Description File passed to it, and outputs it on
|
||
|
standard output.
|
||
|
|
||
|
When invoked to generate a subclass implementation, rbuic generates
|
||
|
template Ruby code for a subclass of the widget in the Qt UI
|
||
|
Description File passed to it, and outputs it on standard output.
|
||
|
|
||
|
When invoked to generate an image collection, rbuic generates Ruby
|
||
|
code containing the image data in strings. This is useful to avoid
|
||
|
having to distribute image files along with your application. It is
|
||
|
arguably more useful for C++ ( where the image strings can be compiled
|
||
|
into an executable ), but still, it is available for Ruby as well.
|
||
|
.SH 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 \-kde
|
||
|
Use kde widgets, require 'Korundum' extension
|
||
|
.TP
|
||
|
.B \-tr <func>
|
||
|
Use func(...) rather than trUtf8(...) for i18n
|
||
|
.TP
|
||
|
.B \-x
|
||
|
Generate extra code to test the class
|
||
|
.TP
|
||
|
.B \-version
|
||
|
Print the Rbuic and Qt versions
|
||
|
.TP
|
||
|
.B \-help
|
||
|
Display some help information.
|
||
|
.SH AUTHOR
|
||
|
Germain Garand
|
||
|
Phil Thompson
|
||
|
.SH SEE ALSO
|
||
|
uic(1)
|