0
|
1 |
Qt 3.1 introduces many significant new features and many improvements
|
|
2 |
over the 3.0.x series. For an overview of the main changes between
|
|
3 |
3.0.x and 3.1, look at the changes-3.1.0-b1 file. This file describes
|
|
4 |
the changes between Qt 3.1 beta1 and Qt 3.1 beta2.
|
|
5 |
|
|
6 |
|
|
7 |
****************************************************************************
|
|
8 |
* General *
|
|
9 |
****************************************************************************
|
|
10 |
|
|
11 |
The binary incompatibilities that were introduced in Qt 3.1 beta1
|
|
12 |
have been fixed.
|
|
13 |
|
|
14 |
****************************************************************************
|
|
15 |
* Library *
|
|
16 |
****************************************************************************
|
|
17 |
|
|
18 |
- QAction
|
|
19 |
Don't update when nothing has changed.
|
|
20 |
|
|
21 |
- QActionGroup
|
|
22 |
Syncronize comboboxes correctly for groups with
|
|
23 |
separators. Set the initial currentItem of comboboxes to the
|
|
24 |
action that is on when adding the group. Emit activated signal
|
|
25 |
for non-toggle actions selected from a combobox. Apply the
|
|
26 |
state of the action group for new widgets.
|
|
27 |
|
|
28 |
- QApplication
|
|
29 |
Correctly set the accept() flag on accel events. Obsoleted
|
|
30 |
processOneEvent(), we have a better way for integrating
|
|
31 |
eventloops now. (See QEventLoop's documentation.)
|
|
32 |
Windows only: reserve more space for very long application
|
|
33 |
filenames.
|
|
34 |
|
|
35 |
- QCheckTableItem
|
|
36 |
Use the colorgroup passed in for the background color and not
|
|
37 |
the viewport's.
|
|
38 |
|
|
39 |
- QColor
|
|
40 |
Windows only: Fix palette allocation and ManyColor mode on
|
|
41 |
Windows.
|
|
42 |
|
|
43 |
- QComboBox
|
|
44 |
Emit activated() signals from the wheel event handler.
|
|
45 |
|
|
46 |
- QComboTableItem
|
|
47 |
Make sure stringlist is updated even if setStringList() is
|
|
48 |
called while an editor exists.
|
|
49 |
|
|
50 |
- QDataTable
|
|
51 |
Windows only: If edit confirmation was switched on and
|
|
52 |
the user cancelled an update by clicking in a different field,
|
|
53 |
the current row was needlessly changed.
|
|
54 |
|
|
55 |
- QDateTimeEdit/QTimeEdit
|
|
56 |
Now supports wraparound for time editing.
|
|
57 |
|
|
58 |
- QDesktopWidget
|
|
59 |
Windows only: Allow explicit creation of QDesktopWidgets.
|
|
60 |
|
|
61 |
- QDns
|
|
62 |
Fix a crash when a QDns object is deleted in a slot connected
|
|
63 |
to its resultsReady() signal.
|
|
64 |
|
|
65 |
- QDockWindow
|
|
66 |
Windows only: Don't pass window activation around
|
|
67 |
unnecessarily when the activation is ignored anyway. Also
|
|
68 |
fixed repaint errors while dragging dock windows. Remove
|
|
69 |
floating windows from the mainwindow's internal lists when
|
|
70 |
deleting.
|
|
71 |
|
|
72 |
- QEventLoop
|
|
73 |
Renamed processNextEvent(flags,bool) to processEvents(flags)
|
|
74 |
and introduced new ProcessEvents flag, WaitForMore. Remove
|
|
75 |
processOneEvent since it is redundant.
|
|
76 |
|
|
77 |
- QFileDialog
|
|
78 |
Windows only: Disable NTFS permission lookup during filedialog
|
|
79 |
population. This can take a long time, and the information is
|
|
80 |
not really required.
|
|
81 |
|
|
82 |
- QGLContext
|
|
83 |
Added a workaround to get overlays to work on ATi FireGL
|
|
84 |
cards.
|
|
85 |
|
|
86 |
- QGLWidget
|
|
87 |
Added support for rendering text into a GL context with the
|
|
88 |
renderText() calls.
|
|
89 |
|
|
90 |
- QHeader
|
|
91 |
Draw the sort arrow at the right position with multi-line
|
|
92 |
header labels. Scale the correct sections when the header
|
|
93 |
sections are reordered. Respect orientation() in sizeHint().
|
|
94 |
|
|
95 |
- qHeapSort()
|
|
96 |
Fixed to only require operator<, instead of a mix of
|
|
97 |
operator<, <=, and >.
|
|
98 |
|
|
99 |
- QIconView
|
|
100 |
Optimize updates on focus/window activation changes.
|
|
101 |
|
|
102 |
- QLibrary
|
|
103 |
Windows only: only append ".dll" extension if no extension has
|
|
104 |
been provided.
|
|
105 |
|
|
106 |
- QListBox
|
|
107 |
Don't call ensureCurrentVisible() in resizeEvent() unless the
|
|
108 |
current item was visible when you started resizing.
|
|
109 |
|
|
110 |
- QListView
|
|
111 |
Don't draw the cell if the cell wouldn't be visible due to
|
|
112 |
having a width or height of 0. Don't call cancelRename() when
|
|
113 |
the rename was OK'd. When showing a tooltip make sure it's
|
|
114 |
only for that column and not for the whole item.
|
|
115 |
|
|
116 |
- QMacStyle
|
|
117 |
Many improvements to follow the native style more closely.
|
|
118 |
|
|
119 |
- QMainWindow
|
|
120 |
Close all floating dockwindows of the mainwindow in the close
|
|
121 |
event.
|
|
122 |
|
|
123 |
- QMenuData
|
|
124 |
Make removeItem(int id) work on trees like the other functions
|
|
125 |
that take IDs as arguments.
|
|
126 |
|
|
127 |
- QObject
|
|
128 |
Make sender() a safer function to use:
|
|
129 |
- it cannot be dangling anymore (points to 0 if the sender was
|
|
130 |
deleted or disconnected)
|
|
131 |
- it maintains its value after other signals have been emitted
|
|
132 |
Fixed compatibility problem in connect(). Remove quadratic
|
|
133 |
behaviour in insertChild()
|
|
134 |
|
|
135 |
- QPicture
|
|
136 |
Proper streaming for null pictures.
|
|
137 |
|
|
138 |
- QPixmap
|
|
139 |
X11 only: allow grabWindow() to work on a screen other than
|
|
140 |
the default screen.
|
|
141 |
|
|
142 |
- QPopupMenu
|
|
143 |
Draw submenu items disabled if the submenu is disabled. Fix
|
|
144 |
null-pointer dereferencing for dynamically changing menus.
|
|
145 |
|
|
146 |
- QProcess
|
|
147 |
Windows only: make the tryTerminate() function work for
|
|
148 |
windows applications (it still does not work for
|
|
149 |
consoleapplications, though).
|
|
150 |
|
|
151 |
- QSocket
|
|
152 |
Don't crash if the readBlock() returned 0.
|
|
153 |
|
|
154 |
- QSplitter
|
|
155 |
addWidget() now reparents the widget if necessary.
|
|
156 |
|
|
157 |
- QTable
|
|
158 |
Set the table of the item to the table in insertItem(), so
|
|
159 |
takeItem()/insertItem() can be used to move items between
|
|
160 |
tables.
|
|
161 |
|
|
162 |
- QWidget
|
|
163 |
Clear WDestructiveClose before calling deleteLater() on
|
|
164 |
widgets. Event processing during destruction might otherwise
|
|
165 |
have another close event come along, which would issue another
|
|
166 |
deleteLater() call. Added a new function toggleShowHide(bool show).
|
|
167 |
Simplified visible() handling and added a convenience property
|
|
168 |
"shown" and a write function for "hidden". Save WFlags in
|
|
169 |
showFullScreen() and restore them so flags are remembered
|
|
170 |
correctly.
|
|
171 |
|
|
172 |
- QWindowsStyle
|
|
173 |
Make the Windowsstyle obey the system's scrollbar widths.
|
|
174 |
|
|
175 |
- qUncompress()
|
|
176 |
Don't hang forever if the expected size passed in is 0. Return
|
|
177 |
an empty bytearray if something went wrong instead of garbage
|
|
178 |
data.
|
|
179 |
|
|
180 |
|
|
181 |
|
|
182 |
|
|
183 |
****************************************************************************
|
|
184 |
* Qt Designer *
|
|
185 |
****************************************************************************
|
|
186 |
|
|
187 |
- Improved the look of the Toolbox
|
|
188 |
|
|
189 |
- Many small usibility improvements in the special editors for widgets
|
|
190 |
(drag'n'drop, in-place renaming, etc.).
|
|
191 |
|
|
192 |
- New icon look.
|
|
193 |
|
|
194 |
- Accept class names with "::" and generate correct namespace code in
|
|
195 |
uic.
|
|
196 |
|
|
197 |
- Reduced startup time.
|
|
198 |
|
|
199 |
- Fixed a crash when loading .ui files using QWidgetFactory.
|
|
200 |
|
|
201 |
- Cleaned up some old dialogs and removed obsolete settings.
|
|
202 |
|
|
203 |
- Improved the .dlg import plugin.
|
|
204 |
|
|
205 |
- Button text properties can be edited in a multi-line editor now,
|
|
206 |
since all buttons support multi-line labels.
|
|
207 |
|
|
208 |
****************************************************************************
|
|
209 |
* Qt Assistant *
|
|
210 |
****************************************************************************
|
|
211 |
|
|
212 |
- Added commandline option -removeContentFile.
|
|
213 |
|
|
214 |
- New icon look.
|
|
215 |
|
|
216 |
****************************************************************************
|
|
217 |
* Qt Linguist *
|
|
218 |
****************************************************************************
|
|
219 |
|
|
220 |
- New icon look.
|