0
|
1 |
Here is a list of user-visible changes in Qt from 1.0 to 1.1. As
|
|
2 |
usual, we fixed some bugs, made some more speedups, and improved the
|
|
3 |
documentation.
|
|
4 |
|
|
5 |
|
|
6 |
****************************************************************************
|
|
7 |
* Changes that might affect runtime behavior *
|
|
8 |
****************************************************************************
|
|
9 |
|
|
10 |
We've added keyboard interface to more widgets, and changed the
|
|
11 |
default focus policy radically. For example, by default you can TAB
|
|
12 |
to button, but it does not grab focus when you click it. The new
|
|
13 |
QWidget::setFocusPolicy() function can be used to change focus policy
|
|
14 |
for all widgets.
|
|
15 |
|
|
16 |
The font matching algorithm has been tweaked in order to provide more
|
|
17 |
predictable fonts in more cases. For some users (such as those with a
|
|
18 |
75dpi X server and only 100dpi fonts installed) it may change the
|
|
19 |
output of some programs.
|
|
20 |
|
|
21 |
sizeHint() and hence default size has been tweaked for some widgets;
|
|
22 |
QMenuBar and QPushButton in particular.
|
|
23 |
|
|
24 |
|
|
25 |
****************************************************************************
|
|
26 |
* Changes that might generate compile errors *
|
|
27 |
* when compiling old code *
|
|
28 |
****************************************************************************
|
|
29 |
|
|
30 |
We've renamed "declare" in qgeneric.h to Q_DECLARE due to naming
|
|
31 |
conflicts. Though we try to provide backward compatibility, there may
|
|
32 |
be problems for a few programs.
|
|
33 |
|
|
34 |
|
|
35 |
****************************************************************************
|
|
36 |
* Type changes that might generate warnings: *
|
|
37 |
****************************************************************************
|
|
38 |
|
|
39 |
none
|
|
40 |
|
|
41 |
|
|
42 |
****************************************************************************
|
|
43 |
* Obsoleted functions *
|
|
44 |
****************************************************************************
|
|
45 |
|
|
46 |
none
|
|
47 |
|
|
48 |
|
|
49 |
****************************************************************************
|
|
50 |
* New classes *
|
|
51 |
****************************************************************************
|
|
52 |
|
|
53 |
QTabDialog (and QTabBar) provide a tabbed dialog. examples/pref shows
|
|
54 |
simple usage of QTabDialog.
|
|
55 |
|
|
56 |
QMultiLineEditor is the long-awaited multi-line editor.
|
|
57 |
|
|
58 |
QGridLayout provides grid-like geometry management for any widget,
|
|
59 |
with flexible row/column elasticity, minimum and maximum sizes.
|
|
60 |
|
|
61 |
QBoxLayout provides more complex and powerful geometry management:
|
|
62 |
boxes and widgets stacked inside other boxes, and finally a top-level
|
|
63 |
box connected to a widget.
|
|
64 |
|
|
65 |
QToolTip provides tool tips for any widget.
|
|
66 |
|
|
67 |
|
|
68 |
****************************************************************************
|
|
69 |
* Other changes from 1.0 to 1.1 *
|
|
70 |
****************************************************************************
|
|
71 |
|
|
72 |
Added QApplication::setColorMode() and colorMode().
|
|
73 |
|
|
74 |
Added QColor::setAllocContext() and friends; these functions enable
|
|
75 |
applications to allocate discardable colors and then discard them.
|
|
76 |
|
|
77 |
Removed some GNU-make features from the makefiles.
|
|
78 |
|
|
79 |
Added a QPalette constructor to construct an entire palette from a single
|
|
80 |
background color, for convenience.
|
|
81 |
|
|
82 |
moc output now has a version number #define.
|
|
83 |
|
|
84 |
AIX support added. IRIX and NetBSD fixed.
|
|
85 |
|
|
86 |
Rewrote a couple of functions to work around compiler bugs, or
|
|
87 |
purify/boundschecker overzealousness.
|
|
88 |
|
|
89 |
Fixed that ugly man-page SYNOPSIS bug.
|
|
90 |
|
|
91 |
Added the static function QMessageBox::query().
|
|
92 |
|
|
93 |
QRect::unite() now produces the desired results if exactly one of the
|
|
94 |
rectangles is invalid.
|
|
95 |
|
|
96 |
QObject::parent() is now public.
|
|
97 |
|
|
98 |
QPainter::drawWinFocusRect() draws a Windows 95-style focus rectangle.
|
|
99 |
(A focus rectangle can not be drawn using ordinary Windows drawing
|
|
100 |
functions.)
|
|
101 |
|
|
102 |
QApplication::processEvents() added to cater for long-running
|
|
103 |
computations; it processes one round of window system events and
|
|
104 |
timers and then returns.
|
|
105 |
|
|
106 |
QComboBox has been extended to provide an editable combo box and Motif
|
|
107 |
2.x compatible look and feel.
|
|
108 |
|
|
109 |
We've also added a host of new workarounds for bugs in Borland C++,
|
|
110 |
Microsoft VC++, DEC CXX and HP CC.
|