-
Notifications
You must be signed in to change notification settings - Fork 0
/
changes-4.5.0
1496 lines (1262 loc) · 64.1 KB
/
changes-4.5.0
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
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Qt 4.5 introduces many new features and improvements as well as bugfixes
over the 4.4.x series. For more details, refer to the online documentation
included in this distribution. The documentation is also available online:
http://qt.nokia.com/doc/4.5
The Qt version 4.5 series is binary compatible with the 4.4.x series.
Applications compiled for 4.4 will continue to run with 4.5.
Some of the changes listed in this file include issue tracking numbers
corresponding to tasks in the Task Tracker:
http://qt.nokia.com/developer/task-tracker
Each of these identifiers can be entered in the task tracker to obtain more
information about a particular change.
****************************************************************************
* General *
****************************************************************************
General Improvements
--------------------
New features
------------
- Disk Caching in QtNetwork
* Added support for http caching in QNetworkAccessManager.
* New classes: QAbstractNetworkCache, QNetworkDiskCache.
* QNetworkDiskCache is a simple disk-based cache.
- QDate
* [207690] Added QDate::getDate().
- QDateTimeEdit
* [196924] Improved QDateTimeEdit's usability. It now skips ahead to the
next field when input can't be valid for the current section.
- QDateTime
* [178738] Fixed QDateTime::secsTo() to return the correct value.
- QDBusPendingCall / QDBusPendingCallWatcher / QDBusPendingReply
* New classes to make calls whose replies can be received later.
- QDesktopServices
* Added the ability to determine the proper location to store cache files.
- QGraphicsItem
* Added the QGraphicsItem::itemTransform() function.
* [209357] Added the QGraphicsItem::opacity() function.
* [209978] Added the QGraphicsItem::ItemStacksBehindParent flag to allow
children to be stacked behind their parent item.
* Added QGraphicsItem::mapRect() functions.
- QGraphicsScene
* Added the QGraphicsScene::sortCacheEnabled property.
* Added the QGraphicsScene::stickyFocus property.
- QGraphicsTextItem
* [242331] Added the QGraphicsTextItem::tabChangesFocus() function.
- QGraphicsView
* [210121] Added action, shortcut and shortcut override support to
QGraphicsView and QGraphicsItem.
- QLineEdit
* Added the ability to set the text margin size.
- QMainWindow
* Added API to detect which dock widget is tabified together with another
dock widget.
- QMessageBox
* It is now possible to create categories in QErrorMessage to avoid error
messages from the same category popping up repeatedly.
- QMetaObject
* Added introspection of constructors, including the ability to invoke a
constructor.
- QMetaProperty
* [217531] Added the notifySignalIndex() function, which can be used to
introspect which signal (if any) is emitted when a property is changed.
- QNetworkCookie
* [206125] Added support for HTTP-only cookies.
- QNetworkProxyFactory
* Added support for a factory of QNetworkProxy whose result can
change depending on the connection being attempted.
* Added support for querying system proxy settings on Mac OS X and
Windows.
- QSharedPointer / QWeakPointer
* Added two new classes for sharing pointers with support for atomic
reference counting and custom destructors.
- QStringRef
* [191369] Added QStringRef::localeAwareCompare() functions.
- QTabBar
* Added the ability to place close buttons and widgets on tabs.
* Added the ability to choose the selection behavior after a tab is
removed.
* Added a document mode which, on Mac OS X, paints the widget like
Safari's tabs.
* Added the movable property so that the user can move tabs easily.
* Added mouse wheel support so that the mouse wheel can be used to change
tabs.
- QTabWidget
* Added a document mode that removes the tab widget border.
- QTcpSocket
* [183743] Added support for requesting connections via proxies by
hostname (no DNS resolution made on the client machine).
- QTextDocument / QTextDocumentWriter
* Added the QTextDocumentWriter class which allows exporting of
QTextDocument text and images to the OpenDocument format
(ISO/IEC 26300).
- QtScriptTools
* Added a new module to provide a debugger for Qt Script.
- Qt::WA_TranslucentBackground
* Added this new window attribute to be able to have per-pixel
translucency for top-level windows.
- Qt::WindowCloseButtonHint
* Added a new window hint to control the visibility of the window close
button.
- Qt::WindowStaysOnBottomHint
* Added a new window hint to allow the window to stay below all other
windows.
- Q_SIGNAL and Q_SLOT
* Added new keywords to allow a single function to be marked as a signal
or slot.
- QT4_IM_MODULE
* [227849] Added a new environment variable that specifies the input
method module to use and takes precedence over the QT_IM_MODULE
enviroment variable. This environment variable allows the user to
configure the environment to use different input methods for Qt 3 and
Qt 4-based applications.
- QXmlQuery
* Added a number of overloads to the bindVariable(), setFocus(), and
evaluateTo() functions.
* Added a property for controlling the network access manager.
* Partial support for XSL-T has been added. See the main documentation for
the QtXmlPatterns module for details.
Optimizations
-------------
- The backing store has been re-factored and optimized
* Significant improvement in overall performance of painting for widgets.
* Reduced the number of QRegion operations.
* Improved update handling.
* Improved the performance of clipping.
* Support for full static contents.
- QGraphicsView has been optimized in several areas
* Reduced the number of floating point operations.
* Improved update handling.
* Improved handling of deeply nested item trees.
* Improved the performance of clipping for ItemClipChildrenToShape.
* Improved sorting speed, so scenes with deeply nested item hierarchies do
not affect the performance as compared to Qt 4.4.
- Widget style sheets optimisations
* Improved the speed of style sheet initialization.
- QAbstractItemModel
* Optimized QPersistantModelIndex creation and deletion.
* Optimized adding and removing rows and columns.
- QFileSystemModel
* Ensured that the model is always sorted when required.
- QTreeView
* Optimized expanding and collapsing items.
* Optimized expanding animations with large views.
- QRect and QRectF
* Improves on functions like intersect(), contains(), etc.
- QTransform
* Reduced the number of multiplications used for simple matrix types.
- QRasterPaintEngine
* Reduced overhead of state changes; e.g., setPen() and setBrush().
* Introduced a cache scheme for Windows glyphs, thus improving text
drawing performance significantly.
* Reduced the cost of doing rectangular clipping.
* Improved pixmap drawing.
* Improved pixmap scaling.
* Optimized drawing of anti-aliased lines.
* Optimized drawing of anti-aliased dashed lines.
Third party components
----------------------
- Updated Qt's SQLite version to 3.5.9.
****************************************************************************
* Library *
****************************************************************************
- General Fixes
* [217988] Fixed a thread safety issue in QFontPrivate::engineForScript
which could lead to buggy text rendering when rendering text from
several threads.
* [233703] Fixed a crash that occured when the input method (for example
SCIM) was destroyed while the application is still running.
* [233634] When there are several input method plugins available, they are
now initialized only when the user switches to them.
* [231089] Fixed an issue which caused HTTP GET to fail for chunk
transfers.
* [193475] Consumer tablet devices (like Wacom Graphite and Bamboo) now
work on Windows and Mac OS X.
* [203864] Do not warn when deleting objects in their event handler except
for Qt Jambi.
- QAbstractItemModel
* [233058] Fixed the sorting algorithm used in rowsRemoved().
- QAbstractItemView
* [221955] Fixed a bug that allowed rows to be selected even if the
selection mode was NoSelection.
* [244716] Fixed a possible crash when an edited cell was moved.
* [239642] Ensured that a rubber band selection is clear if the selection
ends on the viewport.
* [239121] Ensured that the old selection is clear when starting a
selection on the viewport.
* [219380] Fixed an update issue when removing rows.
- QAbstractSpinBox
* [221221] Fixed a usability issue with QAbstractSpinBox subclasses in
itemviews.
- QBitmap
* [216648] Fixed a problem where QBitmaps were being converted to 32-bit
QPixmaps when QPixmap::resize() was called.
- QByteArray and QString
* [239351] Fixed a bug in QCharRef and QByteRef that would cause them to
fail to detach properly in some cases. Applications need to be
recompiled to use the fix.
* [212140] Added repeated() functions to these classes.
* [82509] Added QT_NO_CAST_FROM_BYTEARRAY to disable "operator const
char *" and "operator const void *" in QByteArray.
- QCalendarWidget
* [206017] Fixed minimumSize to be calculated correctly in the case where
the vertical header has a different text format set.
* [206282] Added support for browsing months using the mouse wheel.
* [238384] A click on the date cell will now be ignored if the year
spin box is opened.
- QCleanlooksStyle
* [195446] Skip disabled menu and menu bar items when using keyboard
navigation.
* Fixed a problem with wrapped text eliding on titlebars.
* [204269] Fixed a sizing problem with push buttons having mnemonics.
* [216172] Fixed a problem with check box on inverted color schemes.
- QColor
* [196704] Fixed a problem where the QColor::fromHsvF() function could
return incorrect values.
- QComboBox
* [167106] Fixed a problem where the combobox menu would incorrectly show
check boxes after a style change.
* [227080] Fixed handling of the style sheet background-color attribute on
Windows.
* [227080] Adjusted pop-up size when using style sheet border.
* [238559] Fixed the completer as it was not using the right column with
setModelColumn().
- QCommandLinkButton
* [220475] Added support for On/Off icon states.
- QCommonStyle
* [211489] Ensured that checkable group boxes with no title are drawn
correctly.
* [222561] Made more standard icons available.
- QCOMPARE(QtTest)
* [183525] Fixed issue that caused QCOMPARE to give incomplete
information when comparing two string lists.
* [193456] Ensured that nmake install for QTestLib copies the DLL into the
bin directory.
- QCoreApplication
* [224233] Ensured that QCoreApplication::arguments() skips the
-stylesheet argument.
- QDate
* [222937] QDate - fixed issue preventing a minimum date of 01-01-01
from being set.
- QDataStream
* [230777] Fixed a bug that would cause skipRawBytes() to go
backwards if the correct resulting position was larger than 2 GB.
- QDateTimeEdit
* [196924] Improved QDateTimeEdit's usability. It now skips ahead to the
next field when input can't be valid for the current section.
- QDBusConnection
* [211797] Added support for the GetAll call in the standard
org.freedesktop.DBus.Properties interface.
* [229318] Fixed race conditions caused by timers being deleted in
the wrong thread.
- QDesktopServices
* [237398] Ensured that, on Mac OS X, returned paths do not have a
trailing '/'.
- QDesktopWidget
* [244004] Fixed a coordinate issue on Mac OS X with multi-screen setups
where the screen sizes differ.
- QDialog
* [214987] Ensured that maximize buttons are not put on dialogs by default
on Mac OS X.
- QDialogButtonBox
* [224781] Dialog buttons without icons now get the same height as dialog
buttons with icons to maintain the alignment.
- QDockWidget
* [237438] Fixed a crash in setFloat() for parentless dock widgets.
* [204184] Subclasses are now allowed to handle mouse events.
* [173854] Ensured that the size of the dock widget is remembered when it
is hidden.
- QDomDocument
* [212446] Ensured that a new line inserted after an element that
indicates whitespace is preserved.
- QDomAttr
* [226681] Fixed issue that caused specified() to return false if the
attribute is specified in the XML.
- QEvent
* Added more debug operators for common event types.
- QFlags
* [221702] Fixed issue with testFlag() that gave a surprising result on
enums with many bits.
- QFormLayout
* [240759] Fixed crash in QFormLayout that could occur when a layout was
alone in a row.
- QFile
* [238027] Fixed a bug that would cause QFile not to be able to map a file
to memory if QFile::open() was called with extra flags, like
QIODevice::Unbuffered.
- QFileInfo
* [166546] Fixed QFileInfo operator== bug involving trailing directory
separators.
- QFileDialog
* [240823] Fixed issues with file paths over 270 characters in length on
Windows.
* [212102] Fixed ".." directory issue.
* [241213] Fixed some problems when renaming files.
* [232613] Fixed a usability issue with UNC path on Windows.
* [228844] Fixed a wrong insertion in the filesystemModel that caused
persistant model index to be broken.
* [190145] [203703] Fixed a bug in getExistingDirectory() that returned
/home/ instead of /home, or on Windows, returned c:/temp/ instead of
c:/temp. We now match the native behavior.
* [236402] Fixed warning in the QFileDialog caused by deleting a directory
we have previously visited.
* [235069] Fixed issue that prevented QFileDialog from being closed on
Escape when the list view had focus.
* [233037] Fixed issue that caused the "Open" button to be disabled even
if we want to enter a directory (in AcceptSave mode).
* [223831] Ensured that the "Recent Places" string is translatable.
* Fixed crash on Windows caused by typing \\\ (empty UNC Path).
* [226366] Fixed issue that prevented the completer of the line edit from
being shown when setting a directory with lower case letter.
* [228158] Fixed issue that could cause the dialog to be closed when
pressing Enter with a directory selected.
* [231094] Fixed a hang that could occur when pressing a key.
* [227304] Fixed a crash that could occur when the dialog had a completer
and a QSortFilterProxyModel set.
* [228566] Fixed the layout to avoid cyclically showing and hiding the
scroll bars.
* [206221] Ensured that the view is updated after editing a value with a
custom editor.
* [196561] Fixed the static API to return the path of the file instead of
the link (.lnk) on Windows.
* [239706] Fixed a crash that could occur when adding a name filter from
an editable combo box.
* [198193] Ensured that directory paths on Windows have a trailing
backslash.
- QFrame
* [215772] Style sheets: Ensured that the shape of the frame is respected
when not styling the border.
- QFont
* [223402] QFont's QDataStream operators will now save and restore the
letter/word spacing.
- QFontMetrics
* [225031] Fixed issue where QFontMetrics::averageCharWidth() could return
0 on Mac OS X.
- QFtp
* [227271] Added support for old FTP servers that do not recognize the
"SIZE" and "MDTM" commands.
- QFuture
* [214874] Fixed deadlock issue that could occur when cascading QFutures.
- QGLContext
* [231613] Fixed a crash that could occur when trying to create a
QGLContext without a valid paint device.
- QGLFramebufferObject
* [236979] Fixed a problem with drawing to multiple, non-shared,
QGLFramebufferObjects from the same thread using QPainter.
- QGraphicsEllipseItem
* [207826] Fixed boundingRect() for spanAngle() != 360.
- QGraphicsGridLayout
* [236367] Removed (0, 0) maximum size restriction of a QGraphicsItem by
an empty QGridLayout.
- QGraphicsItem
* [238655] Fixed slowdown in QGraphicsItem::collidesWithItem() that was
present in Qt 4.4.
* [198912] ItemClipsChildrenToShape now propagates to descendants.
* [200229] Ensured that context menu events respect the
ItemIgnoresTransformations flag.
* Enabling ItemCoordinateCache with no default size now automatically
resizes the item cache if the item's bounding rectangle changes.
* [230312] Mac OS X: Fixed a bug where update() issued two paint events.
- QGraphicsLayout
* [244402] Fixed issue that could cause a horizontal QGraphicsLinearLayout
to stretch line edits vertically.
- QGraphicsLayoutItem
* Fixed a crash that could occur with custom layouts which did not delete
children.
- QGraphicsScene
* [236127] Fixed BSP tree indexing error when setting the geometry of
a QGraphicsWidget.
- QGraphicsWidget
* [223403] Ensured that QGraphicsWidget(0, Qt::Popup) will close when you
click outside it.
* [236127] Fixed QGraphicsScene BSP tree indexing error.
* Improved rendering of window title bars.
* Fixed crash that could occur when a child that previously had the focus
died without having the focus anymore.
- QGraphicsProxyWidget
* [223616] Ensure that context menus triggered by ActionsContextMenu are
embedded.
* [227990] Widgets are not longer resized/moved when switching themes on
Windows.
* [219058] [237237] Fixed scroll artifacts in embedded widgets.
* [236545] Ensured that the drag and drop cursor pixmap is not embedded
into the scene on X11.
* [238224] Fixed a crash that could occur when a proxy widget item was
deleted.
* [242553] Fixed drag and drop propagation for embedded widgets.
- QGraphicsSvgItem
* [241475] Fixed update on geometry change.
- QGraphicsTextItem
* [240400] Fixed bugs in mouse press handling.
* [242331] Add tabChangesFocus() to let the user control whether the text
item should process Tab input as a character, or just switch Tab focus.
- QGraphicsView
* [236453] Improved Tab focus handling (propagate Tab and Backtab to items
and widgets).
* [239047] Improved stability of fitInView() with a very small viewport.
* [242178] Fixed rubber band debris left in Windows XP style (potentially
any style).
* Fixed a crash in QGraphicsView resulting from the non-deletion of
sub-proxy widgets.
* Fixed issue that caused items() to return an incorrect list with an
incorrect sort order when an item in the scene has the
IgnoresTransformations flag set to true.
* Ensured that the painter properly saves/restores its state after a call
to drawBackground().
* [197993] Allow any render hint to be set/cleared by the
QGraphicsView::renderHints property.
* [216741] Fixed handling of QGraphicsView::DontSavePainterState (broken
in Qt 4.3).
* [235101] [222323] [217819] [209977] Implemented proper font and palette
propagation in Graphics View.
* [238876] Fixed scroll artifacts in reverse mode.
* [153586] Ensured that the text cursor is drawn correctly in transformed
text controls in a QGraphicsView.
* [224242] Added support for embedding nested graphics views.
- QGroupBox
* [204823] Fixed a palette inconsistency when using certain styles.
- QHeaderView
* [239684] Fixed sorting that wouldn't happen when clicking unless the
sort indicator is shown.
* [236907] Fixed bug that could cause hidden columns to become visible.
* [215867] Resizing sections after moving sections could resize the wrong
columns.
* [211697] Fixed ResizeToContents to always show the full content of
cells.
- QImage
* [240047] Fixed a problem with drawing/transforming sub-images.
- QImageReader
* [138500] Added the QImageReader::autoDetectImageFormat() function.
- QKeySequence:
* Added QKeySequence::SaveAs which has values for both GNOME and Mac OS X.
* [154172] Improved toString(NativeText) to return more native glyphs on
Mac OS X.
- QLabel
* [226479] Fixed update if showing a QMovie that changes its size.
* [233538] Fixed behavior involving changing the color of a label with a
style sheet and pseudo-state.
- QLineEdit
* [179777] Ensured that PasswordEchoOnEdit shows asterisks correctly.
* [229938] Fixed issue that could cause textChanged() to be emitted when
there was a maximum length set, even though the text was not changed.
* [210502] Fixed case-insensitive inline completion.
- QLineF
* [241464] Fixed issue that could cause intersects() to be numerically
unstable in corner cases.
The function has been rewritten to be faster and more robust.
- QListView
* [217070] Fixed issue that could cause scroll bars to appear in adjusted
icon mode.
* [210733] Made improvements in the way the pagestep is computed.
* [197825] Ensured that hidden items are not selectable.
- QLocalServer
* Added new removeServer() static method to allow the socket file to be
deleted after an application has crashed.
- QMacStyle
* [232298] Draw the sort indicators in the correct direction for table
headers.
* [198372] Give context sub-menus the correct mask.
* [209103] [232218] QToolButton::DelayedPopup is now displayed correctly.
* [221967] Bold header text now uses the correct color.
* [234491] Also the menu's QFont when when drawing menu items.
* Ensure the proper pressed look for tabs on Leopard.
- QMainWindow
* [192392] Stop excessive updates with unified toolbars when changing the
enabled status of an action.
* [195259] Ensured that the toolbar button is shown when the unified
toolbar is created later.
- QMessageBox
* [224094] Fixed crash that could occur when specifying a default button
that was not one of the buttons listed.
* [223451] Fixed a memory leak on a static pointer when the application
exits.
- QMainWindow
* [224116] [228995] [228738] save/restoreState() would not always restore
the toolbars in the correct positions.
* [215430] Fixed issue that meant that the user could dock widgets and
they wouldn't be tabbed even if ForceTabbedDocks was set.
* [240184] Fixed an issue that caused QDockWidget to get smaller and
smaller by docking and undocking.
* [186562] Fixed layout when saving the state with an undocked dock widget
and then restoring it
* [228110] Re-adding a toobar now also re-docks it.
* [232431] Fixed a memory leak caused by setting centralWidget multiple
times.
- QMenu
* [220965] [222978] Style sheets: Made it possible to set border and
gradient on items.
- QMenuBar
* [228658] Fixed broken activated signal behavior.
* [233622] Fixed the repaint when a dialog is invoked
- QMdiArea
* [233264] Mac OS X: Improved performance when dragging sub-windows
around.
* [233267] [234002] [219646] Removed flickering behavior that could occur
when switching between maximized sub-windows.
- QNetworkReply:
* [235584] Fixed a bug that would cause sslConfiguration() to
return a null object if finished() had already been emitted.
- QOpenGLPaintEngine
* [244918] Fixed a problem with drawing text and polygons onto software
rendering GL contexts.
- QPainterPath
* [234220] Fixed crash due to a division by zero function in
addRoundedRect().
- QPicture
* [226315] Fixed an assert when trying to load picture files created with
Qt 3 into Qt 4.
- QPixmap
* [223800] Fixed a bug where grabWindow() on a QScrollArea did not work
the first time.
* [217815] Fixed a bug where grabWidget() did not work properly for
resized and hidden widgets.
* [229095] Mac OS X: Fixed issue that could cause grabWindow() to grab the
wrong parts of the window for child widgets.
- QPlastiqueStyle
* [195446] Ensured that the background is now painted on selected but
disabled menu items for improved keyboard navigation.
* [231660] Fixed support for custom icon size in tab bars.
* [211679] drawPartialFrame() now passes the widget pointer.
- QPainter
* QPainter::font(), brush(), pen(), background():
These functions will return default constructed objects when the
painter is inactive.
* [242780] Fixed segmentation fault that could occur when setting
parameters on an uninitialized QPainter.
* [89727] Added support for raster operations.
* [197104] More well-defined gradient lookup (linear gradients are now
perfectly symmetric if inverting the color stops).
* [239817] Fixed bug where overline/strike-out would be drawn with the
wrong line width compared to the underline.
* [243759] Fixed some off-by-one errors in the extended composition modes
in the raster paint engine.
* [234891, 229459, 232012] Fixed some corner case bugs in the raster paint
engine line/rectangle drawing.
* Fixed the "one pixel less" clipping bug caused by precision lost when
converting to int.
* Fixed the composition mode in QPainter raster which was not properly set.
* Fixed an assert when the painter is reused after a previous bad usage
(e.g., painting on a null pixmap).
- QPainterPath
* Added convenience operators: +, -, &, |, +=, -=, &= and |=.
- QPrinter
* [232415] Fixed a problem that caused a an invalid QPrinter
object to not update its validity after being passed into a
QPrintDialog.
* [215401] Fixed the size of the Executive paper format.
* [202113] Improved speed when printing to a highres PostScript printer.
* [195028] Trying to print to a non-existing file didn't update the validity
of the QPrinter object correctly.
* [134820] Support CUPS printer instances on Unix systems (Mac and X11).
* [201875] Fixed a bug that caused the fill opacity of a brush to be used
for the stroke in certain cases.
* [222056] Fixed absolute letter spacing when printing.
* [234135] Fixed a problem with custom margins for CUPS printers.
- QPrintDialog
* [232207] When printing to a Qt .pdf or .ps printer under Windows or
Mac OS X, pop up a file dialog instead of the native print dialog.
- QPrintPreviewDialog
* [236418] Fixed a problem that caused opening several QPrintPreviewDialogs
and printing to them at the same time crash.
- QProcess
* [230929] (Unix) Open redirection files in 64-bit mode wherever supported.
- QProgressDialog
* [215050] Properly stop internal timer that retriggered for no reason.
- QProgressBar
* [216911] stylesheet bug if minimum value != 0
* [222872] Use the orientation when determining if we should repaint.
- QRadioButton
* [235761] Fixed navigation with arrow keys when buttons are in different layout
- QRegion
* [200586] Make QRegion a lot smarter when converting from a QPolygon, to avoid
creating a lot of needless rectangles.
* For Mac OS X, add QRegion::toQDRgn(), QRegion::toHIMutableShape() and
corresponding ::fromQDRgn() and ::fromHIShape(). The ::handle() is still
available for 32-bit Mac OS X builds and is the equivalent of ::toQDRgn().
- QScrollArea
* [206497] Stylesheet: It's now possible to style the corner with ::corner
- QScrollBar
* [230253] Simple stylesheets doesn't break the scrollbar anymore.
- QSettings
* [191901] Added methods setIniCodec() and iniCodec() for changing the codec of .ini files.
- QSharedMemory
* Don't deadlock when locking an already-held lock.
- QSortFilterProxyModel
* [236755] Hidden columns in QTableView could become visible
* [234419] Fixed a data corruption when adding child and row is filtered out
- QSslSocket
* [189980] Ensure OpenSSL_add_all_algorithms() is called.
- QSslCertificate
* [186084] Fixed a bug that would cause timezones in certificate
times not to be parsed correctly, leading to valid certificates
not being accepted
- QSslConfiguration
* [237535] Fixed a bug that would cause QSslConfiguration objects
to leak memory and eventually corrupt data due to wrong
reference counting.
- QStandardItemModel
* [227426] Fixed drag and drop of hierarchy
* [242918] Added ability to change flags of the root item.
- QString
* [205837] Qt 4.4: format string warnings / small QString conversion
clean up.
- QSvgRenderer
* [226522] Fixed fill-opacity when fill is a gradient.
* [241357] Fixed gradients with two or more stop colors at the same offset.
* [180846] Fixed small font sizes.
* [192203] Add support for gzip-compressed SVG files.
* [172004] Respect the text-anchor attribute for embedded SVG-fonts.
* [199176] Ensure QSvgGenerator handles fractional font sizes
* [151078] Fix parsing of embedded fonts in files that have <metadata> tags
- QSystemTrayIcon
* [195943] QSystemTrayIcon now accepts right mouse clicks on Mac OS X.
* [241613] Hide the tooltip when open the menu on Mac OS X.
* [237911] Only emit QMenu::triggered once on Mac OS X.
* [196024] Make it possible to disable context menus on Mac OS X.
- QTabBar
* [213374] Fixed position of label in vertical bar with stylesheet
- QtScript
* [177665] Added QScriptEngine::checkSyntax(), which provides information
about the syntactical (in)correctness of a program.
QScriptEngine::canEvaluate() has been obsoleted.
* [192955] Added the ability to exclude the QObject::deleteLater() slot
from the dynamic QObject binding, so that scripts can't delete
application objects.
* [212277] Fixed issue where the wrong prototype object was set when a
polymorphic type was returned from a slot.
* [213853] Fixed issue that could cause events to be processed less
frequently than what's set with QScriptEngine::setProcessEventsInterval().
* [217781] Fixed bug that caused the typeof operator to return "function"
when applied to a QObject wrapper object.
* [219412] Fixed bug that could cause the in operator to produce wrong results
for properties of Array objects.
* [227063] Fixed issue where a break statement caused an infinite loop.
* [231741] Fixed bug that could cause the implementation of the delete
operator to assert.
* [232987] QtScript now calls QObject::connectNotify() and
QObject::disconnectNotify().
* [233346] Fixed issue where the garbage collector would not be triggered when
very long strings were created, causing excessive memory usage.
* [233624] Fixed bug that caused enums in namespaces to be handled incorrectly.
* [235675] Fixed issue where creating a QScriptEngine would interfere with
ActiveQt's QVariant handling.
* [236467] Fixed bug that caused QtScript to treat a virtual slot redeclared by
a subclass as an overload of the base class's slot.
* [240331] Fixed bug that caused QtScript to crash when one of the unary
operators ++ and -- was applied to an undefined variable.
* If a signal has overloads, an error will now be thrown if you try to connect
to the signal only by name; the full signature of a specific overload must
be used.
* Added support for multi-line string literals.
* Added QScriptEngine::setGlobalObject().
* Made it possible to use reserved identifiers as property names in
contexts where there is no ambiguity.
- QTcpSocket
* [235173] Fixed a bug that would cause QTcpSocket re-enter
select(2) with an uninitialized timer (when the first call got
interrupted by a signal).
- QTextCursor
* [244408] Fixed regression in QTextCursor::WordUnderCursor behavior.
- QTextCodec
* [227865] QTextCodec::codecForIndex(int) broken in Qt3Support
- QTextEdit
* [164503, 232857] Fixed issues where using NoWrap caused
selection/background colors to not cover full width of text control.
* [186044] Fixed whitespace handling when copying text from Microsoft Word
or Firefox.
* [228406] Fixed parenthesis characters with RTL layout direction on
Embedded Linux.
* [189989] Fixed QTextEdit update after layout direction change.
- QTextStream
* [210933] It is now possible to specify a locale which
QTextStream should use for text conversions.
- QToolBar
* [193511] Fixed stylesheet on undocked toolbar
* [226487] Fixed the layout when the QMainWindow as a central widget with
fixed size.
* [220177] Fixed the layout not taking the spacing into account
- QToolButton
* [222578] Fixed issues with checked and disabled tool buttons in some
styles.
* Tool button now allows independent hover styling on it's subcontrols.
* [167075] [220448] [216715] Polished stylesheet color, background, and
border.
* [229397] Fixed regression against Qt3 where setPopupDelay(0) did not
work as expected.
- QToolTip
* [228416] Fixed style sheet tooltips on windows.
- QTreeView
* [220494] scrollTo() didn't scroll horizontally if the vertical bar was
already at the correct position.
* [216717] Fixed update when children are added.
* [225029] Fixed bug that prevented focus from being shown for
non-selectable items when allColumnsShowFocus is set to true.
* [226160] Fixed hit detection when first column is moved.
* [225539] Fixed a crash when deleting the model.
* [241208] Fixed animation when using persistent editors.
* [202073] Fixed visualRect which would not take the indentation into
account when 1st column is moved.
* [230123] Item can no more be expanded with keyboard if
setItemsExpandable has been set to false.
- QTreeWidget
* [243165] selectAll didn't work before the widget was shown
* [238003] setCurrentItem would not expand the parent item
* [223130] Fixed drag&drop when sort is enabled that would only drop the
first column.
* [223950] Only allow to drag items when they have the
Qt::ItemIsDragEnabled flag set.
* [218661] Made sure our internal model can pass the "modeltest" test
suite.
* [217309] Fixed issue that caused data() for CheckStateRole to return
Checked even if some children were partially checked.
* [229807] Fix a redrawing problem when scrolling with a different palette
role set on Mac OS X.
* [236868] Prevent a crash when dragging an item hidden by a tooltip on
Mac OS X.
- QLocale
* Added support for narrow format for day and month names.
* Day and month names can now also be fetched as a standalone text.
- QDebug
* Values of type QBool are now properly outputted with QDebug.
- QUndoStack
* [227714] Don't crash when owner group is deleted.
- QUrl
* [204981] Made the QUrl tolerant parser more tolerant
* Fixed a bug in QUrl's tolerant parsing of stray % characters
(not part of %HH sequences), which would cause it to make the
URL even worse
* [227069] Fixed a bug that would cause QUrl to not parse URLs
whose hostnames start with an IP address (like
http://1.2.3.4.example.com)
* [230642] Fixed a bug that made QUrl not properly produce proper
URLs with relative paths
* Modified QUrl to not normalize %HH in URLs unless strictly
necessary. QUrl now keeps the original %-encoding of the input
unless some operation is executed in the QString
components. This also allows for %2f to exist in path components.
- QVariant
* [215610] prevented assertion when reading from an invalid QDataStream.
- QWidget
* [222323] [217819] [209977] Improve Qt's font and palette propagation.
* [218568] Revert and reopen task 176809 ("when using
Qt::PreventContextMenu policy, the context key menu is still not sent to
the widget").
* [220502] Ensure that setWindowFilePath() when called with an empty
string clears the proxy icon in Mac OS X.
* [240147] Enforce exclusivity between the Qt::WA_(Normal|Small|Mini)Size
* [168641] Ensure that tablet releases go to the correct widget on X11 and
Carbon (i.e., the widget that received the press).
* [192565] Fixed a problem with calling QWidget::render(), using a
QPrinter as a paint device.
* [236565] [168570] Fix regression on X11 where QWidget::restoreGeometry()
would restore incorrect geometry if the window was maximized when saved.
* [201655] Fix QWidget::scroll() acceleration issue with child widgets on
Mac OS X.
* [210734] [210734] Fixed a bug where changing the visibility of alien
widgets did not generate proper enter/leave events.
* [228764] Major improvement of scroll performance.
* [238258] [229067] [239678] Flickering with widgets larger than
4096x4096 pixels in size.
* [141091] Added full support for Qt::WA_StaticContents.
* [238709] Fixed a bug where calling clearMask() did not update the view
properly.
* [213512] Fixed clipping issue with Qt::WA_PaintOutsidePaintEvent widgets.
* [230175] Added support for calling render() recursively.
* [238115] Fixed painting issues after calling winId().
- QWindowsStyle
* [210069] Fixed a bug in the drawing of comboboxes.
- QWindowsVistaStyle
* [221668] Respect background color role for item views.
* [227360] Current item now gets focus for multiselection views.
* [224251] Fixed incorrect painting of inverted and reversed progress
bars.
* [207836] Fixed a problem with vertical toolbar separators.
* [202895] Fixed problem where indeterminate progress bars were not
animated when Vista animations were explicitly disabled.
* [200899] Message box buttons are now right aligned.
- QWindowsXPStyle
* [207242] Fixed a static memleak.
* [206418] Fixed missing focus rect on tool buttons.
* [188850] Fixed a problem with offsets for sliders.
* [110091] Tool buttons with arrows are not styled using black
windows arrows due to consistency issues with the native theme.
- QWizard
* [204643] Make sure the maximum size of QWizard is computed properly.
- QWorkspace
* [125281] fixed active child to be the same when minimizing and restoring
the main window.
- QtWebKit
* ACID3 score 100 out of 100.
* Added support for plugins using Netscape Plugin API (NPAPI) for Windows,
Mac OS X, and X11.
* [211228] Fixed invisible focus rectangle on push buttons.
* [211256] Fixed dragging an image from the web view.
* [211273] Fixed static build of Qt with QtWebKit.
* [213966] Fixed wrong placement of native widget plugins after scrolling.
* [214946] Ensured native plugin instances are deleted properly.
* [217574] Fixed cursor problem on text input field after focus change.
* [218957] Fixed rendering of form elements when using Windows style.
* [219344] Added a remark that some web actions have an effect only
when contentEditable is true.
* [220127] Fixed mouse right click still allowed for disabled view.
* [222544] Added an option to print background elements.
* [222558] Fixed input method does not work after changing the focus.
* [222710, 222713] Fixed issues with TinyMCE editor.
* [223447] Ensured that CSS with relative path works on Windows.
* [224539] Fixed linkClicked() emitted only once for local anchor URLs.
* [225062] Fixed links do not work for QWebView embedded in QGraphicsScene.
* [227053] Fixed problem with percent encoded URLs.
* [230175] Fixed video rendering when embedded in Graphics View.
* [235270] Showed module name when plugin loading fails.
* [238330] Prevented multiple instantiation of native widget plugin.
* [238391] Prevented crash when printing to file is cancelled.
* [238662] Fixed function keys are not mapped.
* [241050] Implemented proper painting of CSS gradient.
* [241144] Ensured proper actions for some web action types.
* [241239] Ensured plugins are not loaded when disabled.
* [231301] Fixed an issue on Windows mobile when switching between input
modes.
- Q3ButtonGroup
* [238902] Q3ButtonGroup now looks for children recursively rather than
just the direct children like it did in Qt 3.
* [200764] Fixed insertion of buttons with IDs in arbitrary order.
- Q3FileDialog
* [230979] Fixed a crash after a resize and drag on scroll bars.
- Q3MainWindow
* [240766] Crash while resizing the window while updating layouts.
- Q3ListView
* [225648] Fixes infinite update.