0
|
1 |
Here is a list of (major) changes in Qt from 0.92 to 0.93.
|
|
2 |
|
|
3 |
Bug-fixes, optimizations and much improved documentation, of course.
|
|
4 |
|
|
5 |
There are not many changes in the API interface.
|
|
6 |
Here's a list of the most important changes.
|
|
7 |
|
|
8 |
|
|
9 |
QApplication:
|
|
10 |
-------
|
|
11 |
setCursor(), restoreCursor() now uses a stack of cursors.
|
|
12 |
quit() is now a slot.
|
|
13 |
exit() replaces the old static quit() function.
|
|
14 |
|
|
15 |
|
|
16 |
QColor:
|
|
17 |
-------
|
|
18 |
New constructor that makes you set an RGB or HSV color directly,
|
|
19 |
like this: QColor(320, 255, 240, QColor::Hsv)
|
|
20 |
|
|
21 |
|
|
22 |
QObject:
|
|
23 |
--------
|
|
24 |
Has now a timerEvent(), which was moved from QWidget.
|
|
25 |
Compatible with old code.
|
|
26 |
|
|
27 |
|
|
28 |
QPainter:
|
|
29 |
---------
|
|
30 |
GC caching (internal optimization) makes drawing very fast.
|
|
31 |
|
|
32 |
drawShade* obsolete, moved to qdrawutl.h and renamed to qDrawShade*
|
|
33 |
- These are now global functions that take QPainter * and QColorGroup
|
|
34 |
- Added qDrawWinPanel and qDrawWinButton for Windows 95 look
|
|
35 |
- Added qDrawPlainRect
|
|
36 |
|
|
37 |
|
|
38 |
QPixmap:
|
|
39 |
-------
|
|
40 |
New fill() function that fills the pixmap with the background color
|
|
41 |
OR background pixmap of a widget.
|
|
42 |
|
|
43 |
|
|
44 |
QRect:
|
|
45 |
------
|
|
46 |
fixup() renamed to normalize(), returns a new QRect.
|
|
47 |
|
|
48 |
|
|
49 |
QWidget:
|
|
50 |
-------
|
|
51 |
New function setCaption(), setIcon() and setIconText(), moved from QWindow.
|
|
52 |
|
|
53 |
|
|
54 |
New classes:
|
|
55 |
------------
|
|
56 |
QSocketNotifier, makes it possible to write async socket code.
|
|
57 |
|
|
58 |
|
|
59 |
New global functions:
|
|
60 |
---------------------
|
|
61 |
qInstallMsgHandler() and qRound(), in qglobal.h.
|
|
62 |
|
|
63 |
|
|
64 |
moc:
|
|
65 |
----
|
|
66 |
Supports templates.
|
|
67 |
|
|
68 |
|
|
69 |
Documentation:
|
|
70 |
--------------
|
|
71 |
A tutorial.
|
|
72 |
Template classes (QArray, QList etc.) are documented.
|
|
73 |
Many more links in the examples.
|
|
74 |
Postscript documentation (around 400 pages).
|