0
|
1 |
|
|
2 |
The Qt version 2.x series is not binary compatible with the 1.x
|
|
3 |
series. This means programs compiled with Qt version 1.x must be
|
|
4 |
recompiled to work with Qt 2.0.
|
|
5 |
|
|
6 |
Qt 2.0 is mostly, but not completely, source compatible with Qt 1.x.
|
|
7 |
See the document "Porting from Qt 1.x to Qt 2.0" in the Online
|
|
8 |
Reference Documentation for information on how to port an existing
|
|
9 |
Qt 1.x-based program to Qt 2.0.
|
|
10 |
|
|
11 |
|
|
12 |
****************************************************************************
|
|
13 |
* New classes *
|
|
14 |
****************************************************************************
|
|
15 |
|
|
16 |
|
|
17 |
* Support for generalized configrable styles:
|
|
18 |
|
|
19 |
QStyle and subclasses
|
|
20 |
|
|
21 |
* Support for international software development:
|
|
22 |
|
|
23 |
QTranslator and the QObject::tr() function
|
|
24 |
QTextCodec (and subclasses)
|
|
25 |
QString - a Unicode string
|
|
26 |
QChar - a Unicode character
|
|
27 |
|
|
28 |
* Convenient and powerful new collection classes:
|
|
29 |
QMap<Key,Type> - QDict with arbitrary keys
|
|
30 |
QValueList<Type> - QList of types other than pointers
|
|
31 |
QStringList - QValueList<QString> with helper functions
|
|
32 |
|
|
33 |
* Dialogs
|
|
34 |
QColorDialog - user picks a color
|
|
35 |
QFontDialog - user picks a font
|
|
36 |
QWizard - framework for leading users through steps
|
|
37 |
|
|
38 |
* Layout
|
|
39 |
QGrid/QHBox/QVBox - grid and boxes of widgets automatically assembled
|
|
40 |
QHGroupBox/QVGroupBox - easy framed groups of widgets
|
|
41 |
|
|
42 |
* PNG Support
|
|
43 |
PNG support is always compiled into Qt
|
|
44 |
|
|
45 |
* Rich Text
|
|
46 |
QTextView - formatted text and images
|
|
47 |
QTextBrowser - navigate formatted text and images
|
|
48 |
QStyleSheet - define your own XML formatting tags
|
|
49 |
QSimpleRichText - display rixh text anywhere
|
|
50 |
|
|
51 |
* Session management
|
|
52 |
QSessionManager - safe state when system shuts down
|
|
53 |
|
|
54 |
|
|
55 |
****************************************************************************
|
|
56 |
* Major changes in existing classes *
|
|
57 |
****************************************************************************
|
|
58 |
|
|
59 |
QString is now 16-bit Unicode.
|
|
60 |
|
|
61 |
QPoint, QPointArray, QSize and QRect now have 32-bit coordinates. |