By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 673
Collapse All | Expand All

(-)qt3.orig/man/man1/createcw.1 (+57 lines)
Line 0 Link Here
1
.TH "createcw" "1" "3.0.3" "Troll Tech AS, Norway." ""
2
.SH "NAME"
3
.LP 
4
createcw \- custom widget description creater for Qt Designer
5
.SH "SYNTAX"
6
.LP 
7
createcw <\fIfilename.cw\fP>
8
.SH "DESCRIPTION"
9
.LP 
10
This small application makes it much easier to create
11
custom widget descriptions for the Qt Designer. Using
12
them you can use custom widgets in the Qt Designer
13
including their signals, slots and properties.
14
 
15
To do that normally you would have to enter all that
16
information in the custom widget dialog in the Qt
17
Designer for each widget. But this small tool can create
18
for you these description files for your custom widgets
19
which you then can simply import into the Qt Designer. So
20
you can use your custom widgets without any additional
21
work in your forms in the Qt Designer then.
22
23
To do that you have to modify the sourcecode (main.cpp) a
24
bit and recompile it afterwards. 
25
26
STEP1: Include header files of the widgets for which a
27
description should be created here. If you have a widget
28
which is defined in the file mycustomwidget.h in
29
/home/joedeveloper/src, write here 
30
31
#include "/home/joedeveloper/src/mycustomwidget.h"
32
33
STEP2: Instantiate all widgets for which a description
34
should be created here and add them to the list wl. If
35
your custom widget is e.g. called MyCustomWidget you
36
would write here
37
38
 Widget w;
39
 w.w = new MyCustomWidget( 0, 0 );
40
 w.include = "mycustomwidget.h";
41
 w.location = "global";
42
 wl.append( w );
43
44
After that compile the program, link it with your custom
45
widget (library or object file) and run it like this:
46
47
 (unix): ./createcw mywidgets.cw
48
 (win32): createcw mywidgets.cw
49
50
After that you can import this description file into the
51
Qt Designer using the Custom\-Widget Dialog (See
52
Tools\->Custom\->Edit Custom Widgets... in the Qt Designer)
53
and use these custom widget there in your forms.
54
55
.SH "AUTHORS"
56
.LP 
57
Troll Tech <http://www.trolltech.com/>
(-)qt3.orig/man/man1/designer.1 (+54 lines)
Line 0 Link Here
1
.TH "qt-designer" "1" "3.0.3" "Troll Tech AS, Norway." ""
2
.SH "NAME"
3
.LP 
4
qt\-designer \- Visual user interface designer for Qt.
5
.SH "DESCRIPTION"
6
.LP 
7
Qt Designer simplifies the process of designing and
8
creating graphical user interfaces (GUI) using the
9
award\-winning Qt toolkit. Qt Designer is easy to learn.
10
There are tutorials, walkthrough examples and the
11
reference documentation accelerating you through the
12
learning phase. After that, Qt Designer greatly reduces
13
the time and effort needed to develop even the most
14
complex dialogs with an easy\-to\-use GUI and an integrated
15
help system.
16
17
 Qt Designer provides a rich set of features aimed at
18
making the creation of dialogs as easy and smooth as
19
possible without reducing the power of Qt. It offers all
20
the strength of the Qt layout system with a well\-designed
21
user interface. This, combined with the Qt Designer's
22
undo/redo system makes it simple to try different
23
arrangements of the widgets until the result satisfies
24
you.
25
26
 Using Qt Designer's convenient property editor along
27
with the dynamic Qt property system it is easy to set the
28
initial state of your widgets. Special editors for some
29
widgets (like listboxes, comboboxes, etc.) allow you to
30
fill these widgets with content without writing any code.
31
Using the object hierarchy view, the parent\-child
32
relationship between the widgets of a dialog can be
33
understood at a glance.
34
35
 Integrating dialogs into a Qt project is straightforward
36
thanks to the User Interface Compiler (UIC), which
37
generates C++ code from the XML dialog description on the
38
fly. The programmer can easily extend the functionality
39
of the generated classes by subclassing without touching
40
generated code at all or running the risk of loosing
41
their changes.
42
.SH "FILES"
43
.LP 
44
\fI/usr/share/qt/tools/designer/*\fP 
45
.SH "ENVIRONMENT VARIABLES"
46
.LP 
47
.TP 
48
\fBQTDIR\fP
49
Specifies the Qt base directory.  On Debian systems this
50
should be set to /usr/share/qt.  The /usr/bin/designer
51
wrapper script takes care of this.
52
.SH "AUTHORS"
53
.LP 
54
TrollTech <http://www.trolltech.com/>
(-)qt3.orig/man/man1/findtr.1 (+25 lines)
Line 0 Link Here
1
.TH "findtr" "1" "3.0.3" "Troll Tech AS, Norway." ""
2
.SH "NAME"
3
.LP 
4
findtr \- Extracts information about text to be translated
5
.SH "SYNTAX"
6
.LP 
7
findtr *.cpp *.h >myapp.po
8
.SH "DESCRIPTION"
9
.LP 
10
11
Extracts information about text to be translated. It
12
recognizes the tr() constructs described above and
13
produces a file in ".po" format, a simple text format
14
that your translation team will copy and edit. For
15
example, the base .po file might be myapp.po and
16
translated versions of the file would then be
17
myapp_de.po, myapp_fr.po, and myapp_ja.po for
18
translations in German, French and Japanese respectively.
19
20
  findtr *.cpp *.h >myapp.po
21
  copy myapp.po myapp_de.po
22
  edit myapp_de.po
23
.SH "AUTHORS"
24
.LP 
25
TrollTech <http://www.trolltech.com/>
(-)qt3.orig/man/man1/linguist.1 (+37 lines)
Line 0 Link Here
1
.TH LINGUIST 1 "28 August 2004"
2
.SH "NAME"
3
linguist \- Translation tool for Qt.
4
5
.SH "SYNPOSIS"
6
.B linguist
7
[
8
.I TRANSLATION
9
]
10
11
.SH "DESCRIPTION"
12
.B Qt Linguist
13
is a tool for adding translations to Qt applications. It
14
introduces the concept of a translation "context" which
15
means a group of phrases that appear together on the
16
screen e.g. in the same menu or dialog.
17
18
The only parameter accepted on the command line is 
19
.I TRANSLATION
20
wich is the name of the translation file you wish to open.
21
22
.SH FILES
23
.I ~/.qt/qt_designerrc
24
.RS
25
Per user configuration file.
26
27
.SH SEE ALSO
28
.B Qt Linguist
29
is too complex to be described completely in the "man" page
30
format. If your system is properly configured, you can access
31
the full documentation within
32
.B Qt Linguist
33
under the Help menu.
34
35
.SH AUTHOR
36
This manual page was written by Jeremy Laine <jeremy.laine@m4x.org>,
37
for the Debian GNU/Linux system (but may be used by others).
(-)qt3.orig/man/man1/makeqpf.1 (+26 lines)
Line 0 Link Here
1
.TH "makeqpf" "1" "3.0.3" "Troll Tech AS, Norway." ""
2
.SH "NAME"
3
.LP 
4
makeqpf \- Create qpf files from TTF and BDF files.
5
.SH "DESCRIPTION"
6
.LP 
7
Qt Prerendered Font (QPF) is a light\-weight non\-scalable
8
font format specific to Qt/Embedded.  makeqpf is a tool
9
that assists producing QPF files from TTF and BDF files.
10
11
12
.SH "SYNTAX"
13
qembed [ \fIgeneral\-files\fP ] <[ \fI\-\-images image\-files \fP]>
14
.br 
15
16
general\-files 
17
  These files can be any type of file. 
18
\-\-images image\-files 
19
  These files must be in image formats supported by Qt. 
20
21
.SH "FILES"
22
.LP 
23
\fI$(QTDIR)/etc/fonts/fontdir\fP 
24
.SH "AUTHORS"
25
.LP 
26
TrollTech <http://www.trolltech.com/>
(-)qt3.orig/man/man1/mergetr.1 (+27 lines)
Line 0 Link Here
1
.TH "mergetr" "1" "3.0.3" "Troll Tech AS, Norway." ""
2
.SH "NAME"
3
.LP 
4
mergetr \- Merge changes in translations
5
.SH "SYNTAX"
6
.LP 
7
mergetr myapp_de.po myapp.po
8
9
.SH "DESCRIPTION"
10
.LP 
11
When the texts in your program change as it is developed,
12
a the base .po file can be regenerated using findtr,
13
then mergetr can be used to merge the changes into the
14
other .po files: 
15
16
                mergetr myapp_de.po myapp.po
17
                mergetr myapp_fr.po myapp.po
18
                mergetr myapp_ja.po myapp.po
19
20
21
The translation team then edits the new .po files to
22
translate the new or changed texts. When texts change,
23
the old text is included in the .po file as a comment to
24
guide the new translation (no "fuzzy" matching is done).
25
.SH "AUTHORS"
26
.LP 
27
TrollTech <http://www.trolltech.com/>
(-)qt3.orig/man/man1/msg2qm.1 (+26 lines)
Line 0 Link Here
1
.TH "msg2qm" "1" "3.0.3" "Troll Tech AS, Norway." ""
2
.SH "NAME"
3
.LP 
4
msg2qm \- Converts translated .po files to a Qt\-specific binary format.
5
.SH "SYNTAX"
6
.LP 
7
msg2qm myapp_de.po myapp_de.qm
8
.SH "DESCRIPTION"
9
.LP 
10
11
Converts translated .po files to a Qt\-specific binary
12
format (".qm" Qt message files). The Qt message files
13
are platform and locale independent, containing
14
translations in Unicode and various hash tables to
15
provide fast look\-up. 
16
17
                msg2qm myapp_de.po myapp_de.qm
18
                msg2qm myapp_fr.po myapp_fr.qm
19
                msg2qm myapp_ja.po myapp_ja.qm
20
21
22
In your application, use QTranslator::load() to load
23
translation files appropriate for the user's language.
24
.SH "AUTHORS"
25
.LP 
26
TrollTech <http://www.trolltech.com/>
(-)qt3.orig/man/man1/qembed.1 (+32 lines)
Line 0 Link Here
1
.TH "qembed" "1" "3.0.3" "Troll Tech AS, Norway." ""
2
.SH "NAME"
3
.LP 
4
qembed \- Converts arbitrary files into C++ code.
5
.SH "DESCRIPTION"
6
.LP 
7
The QEmbed tool, found in qt/tools/qembed, converts
8
arbitrary files into C++ code. This is useful for
9
including image files and other resources directly into
10
your application rather than loading the data from
11
external files. 
12
13
QEmbed can also generate uncompressed versions of images
14
that can be included directly into your application,
15
thus avoiding both the external file and the need to
16
parse the image file format. This is useful for small
17
images such as icons for which compression is not a
18
great gain. 
19
20
21
.SH "SYNTAX"
22
qembed [ \fIgeneral\-files\fP ] <[ \fI\-\-images image\-files \fP]>
23
.br 
24
25
general\-files 
26
  These files can be any type of file. 
27
\-\-images image\-files 
28
  These files must be in image formats supported by Qt. 
29
30
.SH "AUTHORS"
31
.LP 
32
TrollTech <http://www.trolltech.com/>
(-)qt3.orig/man/man1/qt20fix.1 (+32 lines)
Line 0 Link Here
1
.TH "qt20fix" "1" "3.0.3" "Troll Tech AS, Norway." ""
2
.SH "NAME"
3
.LP 
4
qt20fix \- Helps clean namespace when porting an app from Qt1 to Qt2
5
.SH "SYNTAX"
6
.LP 
7
qt20fix myapp.cpp
8
9
.SH "DESCRIPTION"
10
.LP 
11
Qt 2.x is namespace\-clean, unlike 1.x. Qt now uses very
12
few global identifiers. Identifiers like red, blue,
13
LeftButton, AlignRight, Key_Up, Key_Down, NoBrush etc.
14
are now part of a special class Qt (defined in
15
qnamespace.h), which is inherited by most Qt classes.
16
Member functions of classes that inherit from QWidget,
17
etc. are totally unaffected, but code that is not in
18
functions of classes inherited from Qt, you must qualify
19
these identifiers like this: Qt::red, Qt::LeftButton,
20
Qt::AlignRight, etc. 
21
22
The qt/bin/qt20fix script helps to fix the code that
23
needs adaption, though most code does not need changing.
24
25
Compiling with \-DQT1COMPATIBILITY will help you get going
26
with Qt 2.x \- it allows all the old "dirty namespace"
27
identifiers from Qt 1.x to continue working. Without it,
28
you'll get compile errors that can easily be fixed by
29
searching this page for the clean identifiers. 
30
.SH "AUTHORS"
31
.LP 
32
TrollTech <http://www.trolltech.com/>
(-)qt3.orig/man/man1/qtconfig.1 (+17 lines)
Line 0 Link Here
1
.TH "qtconfig" "1" "3.0.3" "Troll Tech AS, Norway." ""
2
.SH "NAME"
3
.LP 
4
qtconfig \- Configuration tool for Qt
5
.SH "DESCRIPTION"
6
.LP 
7
QConfig allows for GUI based configuration of Qt and
8
 other Qt based sources.
9
10
.SH "ENVIRONMENT VARIABLES"
11
.LP 
12
.TP 
13
\fBQTDIR\fP
14
Specifies the base Qt dir
15
.SH "AUTHORS"
16
.LP 
17
TrollTech <http://www.trolltech.com/>
(-)qt3.orig/man/man1/qvfb.1 (+66 lines)
Line 0 Link Here
1
.TH "qvfb" "1" "3.0.3" "Troll Tech AS, Norway." ""
2
.SH "NAME"
3
.LP 
4
qvfb \- Virtual framebuffer for Qt
5
.SH "DESCRIPTION"
6
.LP 
7
The virtual framebuffer allows Qt/Embedded programs to be
8
developed on your desktop machine, without switching
9
between consoles and X11. 
10
11
Start a Qt/Embedded master application (i.e., construct
12
QApplication with QApplication::GuiServer flag or use the
13
\-qws command line parameter). You will need to specify to
14
the server that you wish to use the virtual framebuffer
15
driver, e.g.: 
16
17
    widgets \-qws \-display QVFb:0
18
    
19
You may prefer to set the QWS_DISPLAY environment
20
variable to be QVFb:0. 
21
22
qvfb supports the following command line options: 
23
24
 \-width width: the width of the virtual framebuffer
25
  (default: 240). 
26
 \-height height: the height of the virtual framebuffer
27
  (default: 320). 
28
 \-depth depth: the depth of the virtual framebuffer (1, 8
29
  or 32; default: 8). 
30
 \-nocursor: do not display the X11 cursor in the
31
  framebuffer window. 
32
 \-qwsdisplay :id the Qt/Embedded display id to provide
33
  (default: 0). 
34
35
 Virtual Framebuffer Design 
36
37
The virtual framebuffer emulates a framebuffer using a
38
shared memory region (the virtual frame buffer) and a
39
utility to display the framebuffer in a window (qvfb).
40
The regions of the display that have changed are updated
41
periodically, so you will see discrete snapshots of the
42
framebuffer rather than each individual drawing
43
operation. For this reason drawing problems such as
44
flickering may not be apparent until the program is run
45
using a real framebuffer. 
46
47
The target refresh rate can be set via the "View|Refresh
48
Rate" menu item. This will cause qvfb to check for
49
updated regions more quickly. The rate is a target only.
50
If little drawing is being done, the framebuffer will not
51
show any updates between drawing events. If an
52
application is displaying an animation the updates will
53
be frequent, and the application and qvfb will compete
54
for processor time. 
55
56
Mouse and keyboard events are passed to the Qt/Embedded
57
master process via named pipes. 
58
59
The virtual framebuffer is a development tool only. No
60
security issues have been considered in the virtual
61
framebuffer design. It should be avoided in a production
62
environment; QT_NO_QWS_VFB should always be defined in
63
production libraries. 
64
.SH "AUTHORS"
65
.LP 
66
TrollTech <http://www.trolltech.com/>
(-)qt3.orig/man/README (+49 lines)
Line 0 Link Here
1
-------
2
INSTALL
3
-------
4
5
Those man pages are not yet installed by 'make install'.
6
They have to be installed in $MANPATH/man1 and in $MANPATH/man3.
7
(See INSTALL in the top directory).
8
9
Example:
10
If qt3 has been installed in /usr/local and if MANPATH is
11
/usr/local/share/man, they can be installed with the following commands:
12
    install -m 644 man1/* /usr/local/share/man/man1
13
    install -m 644 man3/* /usr/local/share/man/man3
14
Change the commands to suit your needs.
15
16
----
17
TODO
18
----
19
20
* installation with qmake.
21
* optional man pages compression with qmake
22
23
-------
24
ORIGINS
25
-------
26
27
Trolltech-Nokia original sources
28
    (http://get.qt.nokia.com/qt/source/qt-x11-free-3.3.8b.tar.gz)
29
  man1/lrelease.1
30
  man1/lupdate.1
31
  man1/moc.1
32
  man1/uic.1
33
  man3/*
34
35
Debian distribution
36
    (http://ftp.de.debian.org/debian/pool/main/q/qt-x11-free/)
37
        qt-x11-free_3.3.8b-11.*
38
        qt-x11-free_3.3.8b.orig.tar.gz
39
  man1/createcw.1
40
  man1/designer.1
41
  man1/findtr.1
42
  man1/linguist.1
43
  man1/makeqpf.1
44
  man1/mergetr.1
45
  man1/msg2qm.1
46
  man1/qembed.1
47
  man1/qt20fix.1
48
  man1/qtconfig.1
49
  man1/qvfb.1

Return to bug 673