|
1 Qt 2.0 introduces a wide range of major new features as well as |
|
2 substantial improvements over the 1.x series. The documentation has |
|
3 been significally extended and improved. |
|
4 |
|
5 This file will only give an overview of the main changes since version |
|
6 1.44. A complete list would simply be too large to be useful. For |
|
7 more detail see the online documentation which is included in this |
|
8 distribution, and also available on http://qt.nokia.com/doc/ |
|
9 |
|
10 The Qt version 2.x series is not binary compatible with the 1.x |
|
11 series. This means programs compiled with Qt version 1.x must be |
|
12 recompiled to work with Qt 2.0. |
|
13 |
|
14 Qt 2.0 is mostly, but not completely, source compatible with Qt 1.x. |
|
15 See the document "Porting from Qt 1.x to Qt 2.0" in the Online |
|
16 Reference Documentation for information on how to port an existing Qt |
|
17 1.x-based program to Qt 2.0. Note in particular the automatic porting |
|
18 script included - it does a lot of the work for you. |
|
19 |
|
20 As for 1.x, the API and functionality of Qt is completely portable |
|
21 between Microsoft Windows and X11. And between Windows 95, 98 and NT: |
|
22 Unlike most toolkits, Qt lets a single executable work on all three. |
|
23 |
|
24 **************************************************************************** |
|
25 * New major features * |
|
26 **************************************************************************** |
|
27 |
|
28 |
|
29 * Support for international software development: |
|
30 QTranslator and the QObject::tr() function |
|
31 QTextCodec (and subclasses) |
|
32 QString is now a 16-bit Unicode string with good support for |
|
33 legacy 8-bit interoperation. (The old 8-bit string class |
|
34 from Qt 1.x has been renamed to QCString.) |
|
35 QChar - a Unicode character |
|
36 |
|
37 * Rich Text |
|
38 QTextView - formatted text and images |
|
39 QTextBrowser - navigate formatted text and images |
|
40 QStyleSheet - define your own XML formatting tags |
|
41 QSimpleRichText - display rich text anywhere |
|
42 |
|
43 * Convenient and powerful new collection classes: |
|
44 QMap<Key,Type> - QDict with arbitrary keys |
|
45 QValueList<Type> - QList of types other than pointers |
|
46 QStringList - QValueList<QString> with helper functions |
|
47 |
|
48 * Dialogs |
|
49 QColorDialog - user picks a color |
|
50 QFontDialog - user picks a font |
|
51 QWizard - framework for leading users through steps |
|
52 |
|
53 * Layout |
|
54 QGrid/QHBox/QVBox - grid and boxes of widgets automatically assembled |
|
55 QHGroupBox/QVGroupBox - easy framed groups of widgets |
|
56 QSizePolicy - a widget's abilities to change size in different ways |
|
57 |
|
58 * Custom layouts |
|
59 New, much simpler and more powerful API for creating custom layouts |
|
60 |
|
61 * PNG Support |
|
62 PNG support is now included in the core library |
|
63 |
|
64 * Support for generalized configurable GUI styles: |
|
65 QStyle and subclasses |
|
66 |
|
67 * Session management |
|
68 QSessionManager - saving state when the system shuts down |
|
69 |
|
70 * Extended coordinate system |
|
71 QPoint, QPointArray, QSize and QRect now have 32-bit coordinates |
|
72 |
|
73 * Cleaner namespace |
|
74 Global functions, enums and macros now either start with a 'q' or |
|
75 have been moved into the new namespace class "Qt" |
|
76 |
|
77 **************************************************************************** |
|
78 * List of removed classes * |
|
79 **************************************************************************** |
|
80 |
|
81 * QGManager |
|
82 Use the new custom layout API. |
|
83 |
|
84 * QPointVal, QPointData |
|
85 Use QPoint. |
|
86 |
|
87 * QUrlDrag |
|
88 Changed to QUriDrag |
|
89 |
|
90 * QWindow |
|
91 Use QWidget |
|
92 |
|
93 **************************************************************************** |
|
94 * List of new classes * |
|
95 **************************************************************************** |
|
96 |
|
97 * QCDEStyle |
|
98 * QChar |
|
99 * QColorDialog |
|
100 * QCommonStyle |
|
101 * QConstString |
|
102 * QCString |
|
103 * QDragEnterEvent |
|
104 * QDragLeaveEvent |
|
105 * QDropSite |
|
106 * QFontDialog |
|
107 * QGLayoutIterator |
|
108 * QGrid |
|
109 * QHBox |
|
110 * QHButtonGroup |
|
111 * QHGroupBox |
|
112 * QHideEvent |
|
113 * QLayoutItem |
|
114 * QLayoutIterator |
|
115 * QMimeSource |
|
116 * QMimeSourceFactory |
|
117 * QMotifStyle |
|
118 * QPlatinumStyle |
|
119 * QSessionManager |
|
120 * QShowEvent |
|
121 * QSimpleRichText |
|
122 * QSizeGrip |
|
123 * QSizePolicy |
|
124 * QSortedList |
|
125 * QSpacerItem |
|
126 * QStringList |
|
127 * QStyle |
|
128 * QStyleSheet |
|
129 * QStyleSheetItem |
|
130 * Qt |
|
131 * QTab |
|
132 * QTabWidget |
|
133 * QTextBrowser |
|
134 * QTextCodec |
|
135 * QTextDecoder |
|
136 * QTextEncoder |
|
137 * QTextIStream |
|
138 * QTextOStream |
|
139 * QTextView |
|
140 * QTranslator |
|
141 * QUriDrag |
|
142 * QVBox |
|
143 * QVButtonGroup |
|
144 * QVGroupBox |
|
145 * QWheelEvent |
|
146 * QWidgetItem |
|
147 * QWindowsStyle |
|
148 * QWizard |
|
149 |
|
150 For details, see e.g http://qt.nokia.com/doc/qcdestyle.html (or any |
|
151 other class name, lowercased). |