File: README

package info (click to toggle)
qt-x11 3%3A2.3.1-22
  • links: PTS
  • area: main
  • in suites: woody
  • size: 48,524 kB
  • ctags: 46,337
  • sloc: cpp: 260,077; ansic: 32,457; makefile: 31,131; yacc: 2,444; sh: 1,513; lex: 480; perl: 422; xml: 68; lisp: 15
file content (246 lines) | stat: -rw-r--r-- 8,297 bytes parent folder | download | duplicates (3)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
- aclock
  This example displays an analog clock widget.

- addressbook
  This examples shows how to write a very simple, but complete application
  using a very simple address book as example.

- biff (Unix only)
  Biff is a simple graphical program to indicate whether there is new mail;
  it looks exactly like xbiff but is much shorter.

- dclock
  This example displays a digital LCD clock and can switch between time
  and date.

- fileiconview
  This example implements a simple and not full functional file manager using
  a widget derived from QIconView to display the current directory and the
  widget of the DirectoryView example to display the directory tree.

- life
  An implementation of the life game.  Very UNIX-ish GUI design ;-)

- helpviewer
  The HelpViewer example implements a simple HTML help browser using
  Qt's richtext capabilities.

- movies
  The Movies example displays animated GIF files using the QMovie and
  QLabel classes.

- qdir
  Shows how to use and customize Qt's file dialog.  See
  	qdir --help
  for details

- qfd
  This example program displays all characters of a font.

- qmag
  This is a simple magnifier-type program.  It shows how one can do
  some quite low-level operations portably using Qt.

  Run it, click in the magnifier window, then click where you want to
  magnify or drag out a rectangle.  Two combo boxes let you select
  amplification and refresh frequency, a text label tells you the color
  of the pixel the cursor is on, and a button lets you save the
  magnified area as a .bmp file.

- qwerty
  Small text editor to test different character encodings.

- scribble
  This example implements the famous scribble example.  You can draw
  around in the canvas with different pens and save the result as picture.

- showimg
  This example reads and displays an image in any supported image
  format (GIF, BMP, PPM, XMP etc.)

- tetrix
  This is the Qt implementation of the well known game Tetris.

- tictac
  This is an implementation of the Tic-tac-toe game.

  We didn't put much effort in making a clever algorithm so it's not a
  challenge to play against the computer. Instead, study the source code
  to see how you can make reusable components such as the TicTacGameBoard
  widget.

- application
  This example program looks like a complete modern application.  It has
  a menu bar, it has a tool bar, it has a status bar and works like a
  simple text editor.

- action
 Just like the application example but uses QAction to build
  the menu and the toolbar.


- buttongroups
  This examples shows different types of Groupboxes (Buttongroups, etc.)
  and lots of different kinds of Buttons (Checkboxes, Radiobuttons,
  Pushbuttons, etc.)

- checklists
  This example program shows how to use Listviews with different types
  of checkable Items.

- cursor
  This example shows how to set a mouse cursor for a widget.

- customlayout
  This examples demonstrates how to write a customized layout (geometry)
  manager, like a Card-Layout, Border-Layout and Flow-Layout.

- desktop
  The desktop demo contains three routines, each of which draws something
  on the desktop.  It does some nice stuff with QPainter, and also
  demonstrates how one can treat the desktop as a widget like any other.

- dirview
  This example program demonstrates how to use a ListView and ListView
  Items to build a multi-column hierarchical, memory- and CPU-efficient
  directory browser. It also demonstrates how to use Drag'n'Drop in a
  Listview.

- dragdrop
  This examples shows how to work with Qt's Drag'n'Drop.

- drawdemo
  This example demonstrates several drawing functions and printer output.
  You can easily add you own drawing functions.  See "ourDrawFunctions".

- drawlines
  This example shows very simple mouse-based user interaction and
  painting without any world transform matrix or other advanced
  features.  Run the program, click the button, move the mouse,
  release the button, and watch the lines get drawn.

- forever
  This example continuously draws rectangles in a window and
  has another widget that counts the number of rectangles that
  are drawn per second.

- hello
  This example brings up the words "Hello, World" moving up and down,
  and in different colors.

- i18n
  This example shows how to internationalize applications. Start it with
  	# i18n de
  to get a german version and with
  	# i18n en
  to get the english version.

- iconview
  This example implements a flexible icon view which can store
  lots of icon items. It supports Drag'n'Drop, different selection modes,
  view modes, rubberband selection, etc.

- layout
  This example shows simple and intermediate use of Qt's layout
  classes, QGridLaout, QBoxLayout etc.

- linedits
  The Lineedits example shows how to work with single Lineedit widgets, and
  how to use different Echo Modes and Validators.

- listboxcombo
  This example program demonstrates how to use Listboxes (with single
  selection and multi selection) and Comboboxes (editable and non-editable).

- listviews
  This examples shows how to work with Listviews (hierarchical and
  multi-columns).  It also shows how to subclass Listview Items for
  special reasons. It looks and works like the mainwindow of a mail client.

- mdi
  This example program is just like the application example, but designed as
  Multiple Document Interface (MDI).

- menu
  This example demonstrates simple use of menus (a menu bar and
  pull-down menus).  Qt also supports popup menus, but this example
  doesn't contain any.

- picture
  This example shows how to make, store to file, and read a picture as
  a set of drawing commands.

- popup
  This examples shows how to implement widgets which should
  popup.

- progress
  This example displays either a simple (text-only) or a
  custom-labelled (user-supplied widget) progress dialog.  It also
  demonstrates simple use of menus.

- progressbar
  This example shows how to use a progressbar.

- rangecontrols
  This examples shows the different types of Rangecontrols which
  are supported by Qt. These are Dials, Spinboxes and Sliders.

- richtext
  In this examples it's demonstrated how to display rich text, using
  Qt, in a widget.  In this example some sayings taken from the famous
  Unix "Fortune" are displayed nicely formatted.

- rot13
  In this example you can enter a text in one Mulitilinedit widget
  and it is displayed in the edit widget at the right transformed using
  the rot13 algorithm.

- scrollview
  This example shows how to use Qt's Scrollview.  This is a widget
  which can contain a very large contents and is very optimized for
  that.  Also child widgets can be inserted.

- splitter
  This example shows how to use Splitters.  Splitters can contain
  multiple child items and using the Splitter the user can decide
  herself/himself, how much space each child should get.

- tabdialog
  This example shows how to use a dialog with multiple tabs (pages).
  When starting it you have to specify a filename as first argument.
  The dialog shows then infos about that file seperated into some tabs.

- table
  The table program displays a spreadsheet-like table.  It is an example
  of how to inherit the QScrollView widget for presentations of 2D data
  arrays.

  Left-click the mouse to set a current cell.  Press the arrow buttons to
  move the current mark around.  Type something to edit a cell's contents.

- themes
  This examples demonstrates how to let widgets draw in different
  styles (themes).  As example, themes looking like wood and metal
  are implemented.  You can switch between the different styles
  during runtime using the pulldown menu.

- tooltip
  This example widget demonstrates how to use tool tips for static and
  dynamic regions within a widget.

  It displays two blue and one red rectangle.  The blue ones move every
  time you click on them, the red one is static.  There are dynamic
  tool tips on the blue rectangles and a static tool tip on the red one.

- validator
  In this example you see how to write and use an own validator.

- wizard
  This example shows the usage of Qt's wizard class. A wizard
  should be used to help a user with complicated actions.

- xform
  This example lets the user rotate, shear and scale text and graphics
  arbitrarily.