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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
|
Qt 3.1 introduces many significant new features and many improvements
over the 3.0.x series. This file provides an overview of the main
changes since version 3.0.x. For further details see the online
documentation which is included in this distribution, and also
available at http://qt.nokia.com/doc/.
The Qt version 3.1 series is binary compatible with the 3.0.x series:
applications compiled for 3.0 will continue to run with 3.1.
****************************************************************************
* General *
****************************************************************************
Qt Script for Applications
--------------------------
Qt 3.1 is the first Qt release that can be used with Qt Script for
Applications (QSA). QSA provides a scripting engine, an IDE for
creating and editing scripts and script forms, and bindings to the Qt
API. Script-enabling a Qt application is not difficult and the IDE
makes it easy for resellers and end-users to write their own scripts.
QSA is due for release after Qt 3.1.
Qt Designer
-----------
Qt Designer, the visual GUI builder, has undergone several usability
improvements. A new dialog for creating and editing signals and slots
connections has been created: it is much easier to use and much faster
for setting up multiple connections. The widgets are now presented in
an easy-to-use toolbox rather than in toolbars (although you can still
have the toolbars if you want). The property editor now handles common
properties in multiple widgets simultaneously. By popular demand,
WYSIWYG support for QWidgetStack has been added. Rich text is now
supported with a rich text editor. And the code editor can be used for
ordinary member functions as well as for slots.
Qt Assistant
------------
Qt Assistant, the Qt documentation browser, can now be used with
custom documentation sets. This new functionality combined with the
new QAssistantClient class means that you can use Qt Assistant as a
help browser for your own applications. Qt Assistant has also been
enhanced by the addition of a fast full text search engine.
Motif
-----
The general industry-wide move away from Motif is leaving more and
more companies in need of a migration solution. But converting large
legacy applications in one step is often impractical. To minimize
risks and to manage the workload companies often want to port code on
a module by module basis. Qt 3.1 includeds a completely new Motif
module that supports hybrid applications in which Qt code and Motif
code coexist. (This obsoletes the earlier rudimentary Qt Xt/Motif
extension.)
ActiveX
-------
With the release of Qt 3.1, customers who use Qt for Microsoft Windows
development can now use Qt with ActiveX. The new ActiveQt module
provides a simple API for COM and ActiveX. The module can be used to
create applications which host ActiveX controls, and also to create
applications that serve ActiveX controls (e.g. Internet Explorer
plugins).
Qt/Mac
------
The introduction of Qt/Mac, a Mac OS X port of Qt, with Qt 3.0 has
proved a great success. This port has undergone many improvements in
Qt 3.1, especially with respect to Appearance Manager, anti-aliased
text and user settings. The Qt OpenGL support is greatly improved, and
uses the hardware-accelerated drivers.
Qt/Embedded
-----------
Graphics, mouse and keyboard drivers can now be compiled as plugins.
Qt library
----------
In addition to the new additions and enhancements referred to above,
as with all major Qt releases, Qt 3.1 includes hundreds of
improvements in the existing class library. Here is a brief summary of
the most significant changes:
- QTextEdit has a new text format: LogText. This is a performance and
memory optimized format especially designed for the fast display of
large amounts of text. The format supports basic highlighting,
including bold and colored text.
- The new QSyntaxHighlighter class makes it both easy and efficient to
add syntax highlighting capabilities to a QTextEdit.
- QHttp and QFtp in earlier Qt's were implementations of the
QNetworkProtocol. Both have been extended to stand in their own
right. If you missed some flexibility in the network protocol
abstractions of earlier Qt's, the new QHttp and QFtp classes should
provide the solution.
- QAccel, used to handle keyboard shortcuts, now gracefully copes with
shortcut clashes. If a clash occurs, a new signal,
activatedAmbiguously(), is emitted. Classes that use QAccel, like
QButton's subclasses and QPopupMenu, make use of this new
functionality. Futhermore QAccel can now handle multi-key sequences,
for example, Ctrl+X,Ctrl+F.
- QClipboard has been extended to simplify data exchange between
programs.
- Thread support: almost all methods in the tools classes have been
made reentrant. QApplication::postEvent() and a few other methods
are now thread-safe if Qt is compiled as a multi-threaded library.
(The documentation now states if a class or function is thread-safe
or reentrant.)
- A QMutexLocker class has been added to simplify the locking and
unlocking of mutexes.
- Input methods: A selectionLength() function has been added to
QIMEvent. Japanese compositions are now handled correctly. Support
for AIMM based input methods (those working on non-Asian versions of
Win95/98/Me) has been added.
- Large File support: Qt's internals have been modified to support
Large Files (> 2GB). QFileDialog will now correctly display and
select large files.
- SQL module: Support for prepared query execution and value binding
has been added. Among other benefits, this makes it possible to
write large BLOBs (> 2 KB) to Oracle databases, and to write Unicode
strings to SQL Server databases.
- Support for XIM on Solaris.
Build process
-------------
The build process has been improved:
- The configure script does not need QTDIR to be set anymore.
- Improved support for building Qt on MSVC.NET.
****************************************************************************
* Library *
****************************************************************************
- QAccel:
Corrected illegal accelerator state when using multiple
keysequences. (Resulted in no accelerator being triggered when
there's a partial match). Only triggers on enabled
accelerators and their enabled items. Eats all keys in a
keysequence, not just the first and last.
- QCString:
Speed-optimized replace().
- QDataStream:
Applies to printable data streams only: If the version number
of the device is less than 4, use the same streaming format
that was used in Qt 2.3 and earlier.
- QDataTable:
Respect read-only columns. Make it possible to swap columns.
- QDockWindow:
Added a standard widget constructor (taking a QWidget *parent,
const char *name and WFlags). Improved docking behavior.
- QFileDialog:
Windows only: make Qt's filedialog work properly with network
paths.
- QFontMetrics:
Windows only: Fixed QFontMetrics::boundingRect( QChar c ) to
work for non-TrueType fonts.
- QHeader:
Optimized the sectionSizeHint() calculation, which in turn
speeds up all QHeader size/label calculations.
- QIconFactory:
Avoid infinite loops when recursively calling
QPixmap::pixmap().
- QIconView:
Fixed navigation and selection with arrow keys. Some speedups
when repainting.
- QKeySequence:
Treat Unicode characters in string defined sequences
correctly. So, now letters like Æ, Ø and Å should work as
accelerators, even through translation files.
- QLayout:
alignmentRect() respects the layout's maximum size.
- QLineEdit:
Added a lostFocus() signal. Double-clicking only uses spaces
as word bounderies for the selection now, not dots, commas,
etc. Support double-click+mousemove selection.
- QListBox:
Fixed the item which is passed into the contextMenuRequested()
signal (this was sometimes wrong). Don't select items that are
not selectable.
- QListView:
Shift selection in Extended mode now follows Windows
Shift-selection standard. Erase empty area when drawing
listviews without columns. Only drops on drop-enabled items
that accept drops.
- QListViewItem:
Optimized size claculation for multi-line items.
- QMainWindow:
Base the minimumSizeHint() on the sizeHint()s of the left hand
dock area (instead of the minimumSize()).
- QMenuBar:
Fixed broken Alt release detection. Fixed flickering. Fixed
empty menubars resizing properly.
- QObject:
Fixed return value of disconnect(). Fixed disconnect()ing
SIGNALs from SIGNALs and disconnect()ing multiple SLOTs with
the same name from a SIGNAL.
- QProcess:
Unix only: Don't eat the file descriptors if a lot of
processes (with short runtimes) are started immediately after
each other.
- QPSQLDriver:
Make the driver compile with the standard PostgreSQL source
distribution under Windows. Better handling of network,
datetime and geometrical datatypes.
- QRegion:
Fixed setRects() to calculate the bounding rectangle
correctly.
- QScrollView:
Doesn't reposition the view when the user is scrolling the
view.
- QSpinBox:
Fixed setValue() so that any not-yet-interpreted input is
ignored when setting a new value.
- QString:
Support QTextCodec::codecForCStrings(). Support
std::string<==>QString conversion when STL support is on.
- QSyntaxHighlighter:
Added function rehighlight(). Improved internals to be more
efficient (less calls to highlightParagraph() necessary).
- QTable:
Fixed Tab/BackTab handling to always work. Fixed
setColumnLabels() and setRowLabels().
- QTableItem (and subclasses):
Now supports global struts. (See QApplication::globalStrut().)
- QTDSDriver:
Added support for binary datatypes.
- QTextCodec:
Added QTextCodec::codecForCStrings and QTextCodec::codecForTr.
- QTextEdit:
Fixed a painting error which resulted in areas of the textedit
not being erased correctly. Make sure repainting is done after
changing the underline-links setting. Renamed 'allowTabs'
property to 'tabChangesFocus' (inverted value). Added a new
property 'autoFormatting'. When exporting HTML also quote
quotes. Fixed a background erasing bug which messed up the
view.
- QUrl:
Recognize Windows drive letters not only in the form of "c:/"
but also in the form "c:" (without the '/').
- QWidget:
Fixed some visibility issues.
****************************************************************************
* Qt Designer *
****************************************************************************
- Now displays the classname of "gray box" custom widgets in the gray
box on the form.
- Accept tildes (~) in the project settings.
- A new command line tool conv2ui (in qt/tools/designer/tools) has
been added, to convert dialog description files from different file
formats to .ui files without the need to invoke Qt Designer. This
tool uses the same plugins as Qt Designer for loading other dialog
description files.
- An import filter for .kdevdlg files has been added.
- Actions in the action editor are now sortable.
- Improved usability of more dialogs (in-place renaming, drag'n'drop,
etc.)
- Preserve creation order of forward declarations, variables, etc.
- Save comments for actions.
- uic: Fixed generating code for QStringList properties.
****************************************************************************
* Qt Assistant *
****************************************************************************
- Fixed some accelerator conflicts.
****************************************************************************
* Qt Linguist *
****************************************************************************
- Handle trailing backslash in strings correctly in lupdate.
******************************** END ***************************************
|