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