0
|
1 |
Qt 3.0 beta 5 is not binary compatible with beta 4; any programs
|
|
2 |
linked against beta 4 must be recompiled.
|
|
3 |
|
|
4 |
Below you will find a description of general changes in the Qt
|
|
5 |
Library and Qt Designer followed by a detailed list of changes in the
|
|
6 |
API.
|
|
7 |
|
|
8 |
|
|
9 |
The Qt Library
|
|
10 |
========================================
|
|
11 |
|
|
12 |
Documentation
|
|
13 |
-------------
|
|
14 |
|
|
15 |
The extensive revision of Qt classes' documentation is complete. The
|
|
16 |
front page of the Qt documentation (index.html) has been redesigned
|
|
17 |
to provide better access to other documentation than class
|
|
18 |
documentation.
|
|
19 |
|
|
20 |
OpenGL Module
|
|
21 |
-------------
|
|
22 |
|
|
23 |
Qt beta 5 provides some fixes which will make rendering GL widgets to
|
|
24 |
pixmaps work on a wider range of X servers.
|
|
25 |
|
|
26 |
QDateTimeEdit
|
|
27 |
-------------
|
|
28 |
|
|
29 |
The QDateTimeEdit, QDateEdit and QTimeEdit widgets have been moved
|
|
30 |
from the SQL module to the Qt core widget set. All users of Qt can
|
|
31 |
now use these widgets.
|
|
32 |
|
|
33 |
|
|
34 |
Qt Designer
|
|
35 |
========================================
|
|
36 |
|
|
37 |
- Some bugs related to the .ui.h feature were fixed.
|
|
38 |
|
|
39 |
- The generation of code related to QSqlCursor has been fixed.
|
|
40 |
|
|
41 |
- When removing a slot implementation from the Qt Designer
|
|
42 |
interface, do not accidentally remove a preceding comment.
|
|
43 |
|
|
44 |
- Improved the C++ code indenter in the editor for some C++
|
|
45 |
constructs, including try-catch blocks.
|
|
46 |
|
|
47 |
|
|
48 |
Qt Linguist
|
|
49 |
========================================
|
|
50 |
|
|
51 |
- Fixed problem with loading phrase books containing non-ASCII
|
|
52 |
characters.
|
|
53 |
|
|
54 |
|
|
55 |
Qt Classes
|
|
56 |
========================================
|
|
57 |
|
|
58 |
QApplication
|
|
59 |
------------
|
|
60 |
|
|
61 |
- Fixed a clipboard bug related to drag-and-drop on X11.
|
|
62 |
|
|
63 |
QColorDialog
|
|
64 |
------------
|
|
65 |
|
|
66 |
- Fixed repaint problem.
|
|
67 |
|
|
68 |
QComboBox
|
|
69 |
---------
|
|
70 |
|
|
71 |
- Never inserts empty strings in the list.
|
|
72 |
- Use the drop-down listbox's size hint in the combobox if the
|
|
73 |
listbox has been set manually.
|
|
74 |
|
|
75 |
QComponentInterface
|
|
76 |
-------------------
|
|
77 |
|
|
78 |
- This class has been renamed QComponentInformationInterface.
|
|
79 |
|
|
80 |
QComponentServerInterface
|
|
81 |
-------------------------
|
|
82 |
|
|
83 |
- This class has been renamed QComponentRegistrationInterface.
|
|
84 |
|
|
85 |
QDataBrowser
|
|
86 |
------------
|
|
87 |
|
|
88 |
- The setCursor() function is obsolete and has been removed due to
|
|
89 |
problems with some compilers. Use setSqlCursor() instead.
|
|
90 |
|
|
91 |
QDataTable
|
|
92 |
----------
|
|
93 |
|
|
94 |
- Fixed a rare crash when the database is deleted while its popup is
|
|
95 |
still open.
|
|
96 |
- Made setColumnWidth() a public slot like in the base class.
|
|
97 |
- The setCursor() function is obsolete and has been removed due to
|
|
98 |
problems with some compilers. Use setSqlCursor() instead.
|
|
99 |
|
|
100 |
QDateTimeEdit
|
|
101 |
-------------
|
|
102 |
|
|
103 |
- Fixed the minimumSizeHint() for better behavior in a layout.
|
|
104 |
|
|
105 |
QDom
|
|
106 |
----
|
|
107 |
|
|
108 |
- Added a sanity check.
|
|
109 |
|
|
110 |
QFileDialog
|
|
111 |
-----------
|
|
112 |
|
|
113 |
- Fixed a crash in MotifPlus style.
|
|
114 |
- Use the existing file-icon provider rather than the default
|
|
115 |
Windows one if one is set.
|
|
116 |
|
|
117 |
QFont
|
|
118 |
-----
|
|
119 |
|
|
120 |
- Fixed background color for more than 8 bits per channel.
|
|
121 |
- Added the font's pixel size to the value returned by key().
|
|
122 |
|
|
123 |
QFtp
|
|
124 |
----
|
|
125 |
|
|
126 |
- Correcty sets the default password to "anonymous".
|
|
127 |
|
|
128 |
QGL
|
|
129 |
---
|
|
130 |
|
|
131 |
- Added robustness on X11 for invalid pixmap parameters.
|
|
132 |
|
|
133 |
QImage
|
|
134 |
------
|
|
135 |
|
|
136 |
- Fixed loading of BGR BMP files.
|
|
137 |
- Changed the signature of the constructor to accept "const char *
|
|
138 |
const *" objects without a cast.
|
|
139 |
|
|
140 |
QLatin1Codec
|
|
141 |
------------
|
|
142 |
|
|
143 |
- Provide the missing mimeName().
|
|
144 |
|
|
145 |
QLibrary
|
|
146 |
--------
|
|
147 |
|
|
148 |
- Construct Unix-specific filenames correctly.
|
|
149 |
|
|
150 |
QLineEdit
|
|
151 |
---------
|
|
152 |
|
|
153 |
- Fixed offset for right-aligned text.
|
|
154 |
|
|
155 |
QListView
|
|
156 |
---------
|
|
157 |
|
|
158 |
- Fixed a bug with in-place renaming.
|
|
159 |
|
|
160 |
QMime
|
|
161 |
-----
|
|
162 |
|
|
163 |
- Fixed infinite loop when searching for a mime-source.
|
|
164 |
|
|
165 |
QMutex
|
|
166 |
------
|
|
167 |
|
|
168 |
- Unlock the Qt library mutex when enter_loop() is called the first
|
|
169 |
time, rather than when exec() is called. A programmer might call
|
|
170 |
QDialog::exec() and never QApplication::exec(), and then she will
|
|
171 |
wait for the mutex.
|
|
172 |
|
|
173 |
QPixmap
|
|
174 |
-------
|
|
175 |
|
|
176 |
- Do transformations correctly on big-endian systems.
|
|
177 |
|
|
178 |
QPrinter
|
|
179 |
--------
|
|
180 |
|
|
181 |
- Respect the PRINTER environment variable on X11, as stated in the
|
|
182 |
documentation.
|
|
183 |
- Work around a display-context bug on Windows 95 and 98.
|
|
184 |
|
|
185 |
QProcess
|
|
186 |
--------
|
|
187 |
|
|
188 |
New functions:
|
|
189 |
void clearArguments();
|
|
190 |
int communication() const;
|
|
191 |
void setCommunication( int c );
|
|
192 |
|
|
193 |
QProgressBar
|
|
194 |
------------
|
|
195 |
|
|
196 |
- Fixed bug in repainting when a background pixmap is set.
|
|
197 |
|
|
198 |
QPtrList
|
|
199 |
--------
|
|
200 |
|
|
201 |
- Reverted a semantics change introduced in beta 4 when deleting the
|
|
202 |
current item.
|
|
203 |
|
|
204 |
QRegExp
|
|
205 |
-------
|
|
206 |
|
|
207 |
- Fixed matchedLength() when used with exactMatch(). This bug
|
|
208 |
affected QRegExpValidator.
|
|
209 |
|
|
210 |
QRichText
|
|
211 |
---------
|
|
212 |
|
|
213 |
- Added support for "color" attribute in <hr> tag.
|
|
214 |
- Fixed selectedText().
|
|
215 |
|
|
216 |
QSqlCursor
|
|
217 |
----------
|
|
218 |
|
|
219 |
- Don't generate calculated fields.
|
|
220 |
|
|
221 |
QStatusBar
|
|
222 |
----------
|
|
223 |
|
|
224 |
- Made addWidget() and removeWidget() virtual.
|
|
225 |
|
|
226 |
QSpinBox
|
|
227 |
--------
|
|
228 |
|
|
229 |
- Fixed the minimumSizeHint() for better behavior in a layout.
|
|
230 |
|
|
231 |
QStyle
|
|
232 |
------
|
|
233 |
|
|
234 |
- Allow separator custom menu items to use a different size than
|
|
235 |
specified by the style.
|
|
236 |
|
|
237 |
Qt
|
|
238 |
--
|
|
239 |
|
|
240 |
- Renamed Qt::Top, Qt::Bottom, Qt::Left, Qt::Right to Qt::DockTop,
|
|
241 |
Qt::DockBottom, Qt::DockLeft, Qt::DockRight.
|
|
242 |
|
|
243 |
QTable
|
|
244 |
------
|
|
245 |
|
|
246 |
- Fixed currentChanged() and valueChanged() emits.
|
|
247 |
|
|
248 |
QTextEdit
|
|
249 |
---------
|
|
250 |
|
|
251 |
- Moved eventFilter() from the public slots section to the public
|
|
252 |
section of the class definition.
|
|
253 |
- Reformat after changing tab-stop size.
|
|
254 |
- Implemented undo for clear().
|
|
255 |
|
|
256 |
New function:
|
|
257 |
void zoomTo( int size );
|
|
258 |
|
|
259 |
QTextIStream
|
|
260 |
------------
|
|
261 |
|
|
262 |
- Fixed QTextIStream with a QString.
|
|
263 |
|
|
264 |
QToolBar
|
|
265 |
--------
|
|
266 |
|
|
267 |
- Fall back to text property in extension popup if no pixmap label
|
|
268 |
has been set.
|
|
269 |
- Made mainWindow() const.
|
|
270 |
|
|
271 |
QToolButton
|
|
272 |
-----------
|
|
273 |
|
|
274 |
- Fixed the minimumSizeHint() for better behavior in a layout.
|
|
275 |
|
|
276 |
QToolTip
|
|
277 |
--------
|
|
278 |
|
|
279 |
- Fixed the transparent tooltip effect a la Windows 2000.
|
|
280 |
|
|
281 |
QUrl
|
|
282 |
----
|
|
283 |
|
|
284 |
- Fixed the return value of QUrl::dirPath() on Windows.
|
|
285 |
- Set ref to nothing when merging URLs.
|
|
286 |
|
|
287 |
QUrlOperator
|
|
288 |
------------
|
|
289 |
|
|
290 |
- Added a default parameter for single copy to specify the "to" file
|
|
291 |
name and not just the file path.
|
|
292 |
|
|
293 |
New function:
|
|
294 |
QPtrList<QNetworkOperation> copy( const QString& from,
|
|
295 |
const QString& to, bool move, bool toPath );
|
|
296 |
|
|
297 |
QValueList
|
|
298 |
----------
|
|
299 |
|
|
300 |
- Added a return value to remove(), as stated in the documentation.
|
|
301 |
|
|
302 |
QWidget
|
|
303 |
-------
|
|
304 |
|
|
305 |
- Fixed a bug in QPainter on X11 that caused a crash when paint
|
|
306 |
events were dispatched from other paint events.
|
|
307 |
- Fixed showMaximized() and deferred map handling.
|
|
308 |
- When specifying WDestructiveClose as a widget flag,
|
|
309 |
QWidget::close() does not immediately delete the widget anymore, but
|
|
310 |
calles QObject::deferredDelete()
|
|
311 |
|
|
312 |
|
|
313 |
QWorkspace
|
|
314 |
----------
|
|
315 |
|
|
316 |
- Fixed cascade().
|