Update ChangeLog for 5.2.0 [QtWidgets II]
Second batch of changes. Change-Id: I5b3add1df19bcad195f8b9286337de9fe926337c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
7c029e83a3
commit
bedc5a3ae2
107
dist/changes-5.2.0
vendored
107
dist/changes-5.2.0
vendored
@ -48,6 +48,10 @@ information about a particular change.
|
|||||||
* QUrl now normalizes the path given in setPath, removing ./ and ../ and
|
* QUrl now normalizes the path given in setPath, removing ./ and ../ and
|
||||||
duplicate slashes.
|
duplicate slashes.
|
||||||
|
|
||||||
|
- QWheelEvent has gained a "phase" attribute and may now be sent with
|
||||||
|
zero delta() in order to indicate beginning and end of transient
|
||||||
|
scrolling.
|
||||||
|
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
* Library *
|
* Library *
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
@ -353,12 +357,24 @@ Changes in Qt 5.2.0
|
|||||||
QtWidgets
|
QtWidgets
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
- Added class QKeySequenceEdit.
|
||||||
|
- Added QMaxCocoaViewContainer and QMacNativeWidget classes.
|
||||||
|
- [QTBUG-1016] Added API to control tool tip timing via:
|
||||||
|
* new QToolTip::showTip() overload
|
||||||
|
* QWidget::toolTipDuration() property.
|
||||||
|
* QStyle::SH_ToolTip_WakeUpDelay and SH_ToolTip_FallAsleepDelay
|
||||||
|
style hints.
|
||||||
- [QTBUG-30255] Fixed a bug where spans across empty cells in a grid
|
- [QTBUG-30255] Fixed a bug where spans across empty cells in a grid
|
||||||
layout got broken.
|
layout got broken.
|
||||||
|
- [QTBUG-31569] WA_QuitOnClose now works even if there are other
|
||||||
|
windows that don't have it set.
|
||||||
- [QTBUG-32788] Properly handles Qt::WidgetWithChildrenShortcut
|
- [QTBUG-32788] Properly handles Qt::WidgetWithChildrenShortcut
|
||||||
shortcuts in MDI subwindows now.
|
shortcuts in MDI subwindows now.
|
||||||
- [QTBUG-33078] QWidget::setWindowOpacity() now works when called
|
- [QTBUG-33078] QWidget::setWindowOpacity() now works when called
|
||||||
before QWidget::show().
|
before QWidget::show().
|
||||||
|
- [QTBUG-33104] Fixed a bug where layout items with a Preferred size
|
||||||
|
policy would be treated as fixed size, if mixed with Expanding
|
||||||
|
items having maximumSize set.
|
||||||
- [QTBUG-33247] Changed accessible trees and tables to always expose
|
- [QTBUG-33247] Changed accessible trees and tables to always expose
|
||||||
hidden headers, instead of only exposing the visible headers.
|
hidden headers, instead of only exposing the visible headers.
|
||||||
- [QTBUG-34007] Fixed a crash in tablet support.
|
- [QTBUG-34007] Fixed a crash in tablet support.
|
||||||
@ -384,18 +400,26 @@ QtWidgets
|
|||||||
overriding viewportSizeHint() needs to be recompiled against 5.2 for
|
overriding viewportSizeHint() needs to be recompiled against 5.2 for
|
||||||
this feature to work correctly.
|
this feature to work correctly.
|
||||||
|
|
||||||
|
- QButtonGroup:
|
||||||
|
* [QTBUG-14857] Added buttonToggled() signals.
|
||||||
|
|
||||||
- QColorDialog:
|
- QColorDialog:
|
||||||
* Added a web color QLineEdit.
|
* Added a web color QLineEdit.
|
||||||
* [QTBUG-14332] Added a screen color picker button.
|
* [QTBUG-14332] Added a screen color picker button.
|
||||||
* [QTBUG-31998] Does no longer create widgets when using the
|
* [QTBUG-31998] Does no longer create widgets when using the
|
||||||
platform dialog.
|
platform dialog.
|
||||||
|
* [QTBUG-32054] Fixed a bug with keyboard navigation.
|
||||||
|
|
||||||
- QComboBox:
|
- QComboBox:
|
||||||
|
* [QTBUG-31146] Fixed selection of items with identical text in
|
||||||
|
popup completion.
|
||||||
* Added currentData() convenience function which allows to retrieve
|
* Added currentData() convenience function which allows to retrieve
|
||||||
the user data set for the current item.
|
the user data set for the current item.
|
||||||
|
|
||||||
- QCompleter:
|
- QCompleter:
|
||||||
* [QTBUG-3414] Added filterMode property.
|
* [QTBUG-3414] Added filterMode property.
|
||||||
|
* The activated() signal now passes invalid indexes instead of
|
||||||
|
random bogus ones when falling back to the completion prefix.
|
||||||
|
|
||||||
- QDesktopWidget:
|
- QDesktopWidget:
|
||||||
* [QTBUG-32567] Fixed emission of workAreaResized() signal.
|
* [QTBUG-32567] Fixed emission of workAreaResized() signal.
|
||||||
@ -434,10 +458,16 @@ QtWidgets
|
|||||||
* [QTBUG-33039] Does no longer create widgets when using the
|
* [QTBUG-33039] Does no longer create widgets when using the
|
||||||
platform dialog.
|
platform dialog.
|
||||||
|
|
||||||
|
- QFontComboBox:
|
||||||
|
* [QTBUG-1573] Made QFontComboBox locale-sensitive.
|
||||||
|
|
||||||
- QFontDialog:
|
- QFontDialog:
|
||||||
* Now has finer-grained control over the types of fonts listed,
|
* Now has finer-grained control over the types of fonts listed,
|
||||||
similar to what QFontComboBox already had.
|
similar to what QFontComboBox already had.
|
||||||
|
|
||||||
|
- QGestureManager
|
||||||
|
* Now supports Mac OS X native gestures.
|
||||||
|
|
||||||
- QGraphicsView etc
|
- QGraphicsView etc
|
||||||
* Fixed a crash in QGraphicsProxyWidget.
|
* Fixed a crash in QGraphicsProxyWidget.
|
||||||
* [QTBUG-8061] Allow handling of mouseDoubleClickEvent in
|
* [QTBUG-8061] Allow handling of mouseDoubleClickEvent in
|
||||||
@ -446,16 +476,30 @@ QtWidgets
|
|||||||
Qt::{Contains,Intersets}ItemBoundingRect with items that contain
|
Qt::{Contains,Intersets}ItemBoundingRect with items that contain
|
||||||
the point in the bounding rectangle, but not their (custom)
|
the point in the bounding rectangle, but not their (custom)
|
||||||
shape.
|
shape.
|
||||||
|
* [QTBUG-29945] Fixed drop-shadow and blur effects when using a
|
||||||
|
QGLWidget viewport.
|
||||||
|
|
||||||
|
- QGroupBox:
|
||||||
|
* [QTBUG-33610] The check indicator of a checkable group box is no
|
||||||
|
longer clipped when using a small title font.
|
||||||
|
|
||||||
- QHeaderView:
|
- QHeaderView:
|
||||||
|
* Reduced memory usage by 33%.
|
||||||
* [QTBUG-4346] A maximumSize for sections has been introduced. The
|
* [QTBUG-4346] A maximumSize for sections has been introduced. The
|
||||||
maximum section size is by default the largest possible section
|
maximum section size is by default the largest possible section
|
||||||
size which in Qt 5.2 has been limited to 1048575 pixels.
|
size which in Qt 5.2 has been limited to 1048575 pixels.
|
||||||
|
* [QTBUG-32203] Fixed a painting bug involving hidden and reordered
|
||||||
|
sections.
|
||||||
|
|
||||||
- QInputDialog:
|
- QInputDialog:
|
||||||
* Added getMultiLineText static method.
|
* Added getMultiLineText static method.
|
||||||
|
|
||||||
|
- QLayout:
|
||||||
|
* Added replaceWidget() function.
|
||||||
|
|
||||||
- QLineEdit:
|
- QLineEdit:
|
||||||
|
* [QTBUG-32061] The cursor is now positioned correctly in an empty
|
||||||
|
line edit with placeholder text.
|
||||||
* Keep placeholderText visible when focused, until text is added.
|
* Keep placeholderText visible when focused, until text is added.
|
||||||
* Context-menu actions now have icons.
|
* Context-menu actions now have icons.
|
||||||
* Made it possible to add side widgets.
|
* Made it possible to add side widgets.
|
||||||
@ -467,28 +511,59 @@ QtWidgets
|
|||||||
no longer loses the icon. Also fixed a bug where under certain
|
no longer loses the icon. Also fixed a bug where under certain
|
||||||
conditions code overriding QAbstractItemView::viewOptions() would
|
conditions code overriding QAbstractItemView::viewOptions() would
|
||||||
not be called.
|
not be called.
|
||||||
|
* [QTBUG-21433] Fixed content size calculation when either
|
||||||
|
horizontal or vertical scroll bar policy is always off.
|
||||||
|
|
||||||
|
- QMacStyle:
|
||||||
|
* [QTBUG-31668] Fixed a case where multiple auto-default button
|
||||||
|
animations were running in parallel on OS X
|
||||||
|
|
||||||
|
- QMainWindow:
|
||||||
|
* Added takeCentalWidget() function.
|
||||||
|
|
||||||
|
- QMenu:
|
||||||
|
* Added QMenu::toNSMenu() conversion function (Mac only)
|
||||||
|
* Added QMenu::setAsDockMenu() and qt_mac_set_doc_menu(QMenu *menu)
|
||||||
|
functions (Mac only).
|
||||||
|
* [QTBUG-31664] Moving the mouse over a menu separator now closes
|
||||||
|
any open sub menus.
|
||||||
|
|
||||||
- QMenuBar:
|
- QMenuBar:
|
||||||
* [QTBUG-32807] Menus now close again on second click.
|
* [QTBUG-32807] Menus now close again on second click.
|
||||||
|
* Added QMenuBar::toNSMenu() conversion function (Mac only)
|
||||||
|
|
||||||
- QMessageBox:
|
- QMessageBox:
|
||||||
* May use native message boxes on some platforms now.
|
* May use native message boxes on some platforms now.
|
||||||
|
* setDetailedText() now works after show().
|
||||||
|
* [QTBUG-2450] Added setCheckBox() function.
|
||||||
* [QTBUG-6731] It is now possible to select some or all text from a
|
* [QTBUG-6731] It is now possible to select some or all text from a
|
||||||
QMessageBox and copy it to the clipboard.
|
QMessageBox and copy it to the clipboard.
|
||||||
|
|
||||||
|
- QScrollBar:
|
||||||
|
* Transient scrollbars are now properly shown when starting
|
||||||
|
two-finger scrolling on OS X.
|
||||||
|
|
||||||
- QSizePolicy:
|
- QSizePolicy:
|
||||||
* Added a retainSizeWhenHidden attribute.
|
* Added a retainSizeWhenHidden attribute.
|
||||||
|
|
||||||
- QSpinBox:
|
- QSpinBox:
|
||||||
* Values can now be displayed in different bases
|
* Values can now be displayed in different bases
|
||||||
(cf. displayIntegerBase property)
|
(cf. displayIntegerBase property)
|
||||||
* [QTBUG-31602] Size calculation will now be fixed when stylesheets
|
* [QTBUG-31602][QTBUG-34305] Fixed size calculation when
|
||||||
are used.
|
stylesheets are used.
|
||||||
|
|
||||||
|
- QSplashScreen:
|
||||||
|
* Added message(), a getter for the currently displayed message.
|
||||||
|
|
||||||
- QSplitter:
|
- QSplitter:
|
||||||
* Now gets the default value of opaqueResize property from (new)
|
* Now gets the default value of opaqueResize property from (new)
|
||||||
QStyle::SH_Splitter_OpaqueResize styleHint.
|
QStyle::SH_Splitter_OpaqueResize styleHint.
|
||||||
|
|
||||||
|
- QStyle:
|
||||||
|
* Added SH_ToolTip_WakeUpDelay and SH_ToolTip_FallAsleepDelay.
|
||||||
|
* Fixed SH_ItemView_ActivateItemOnSingleClick not being retrieved
|
||||||
|
correctly from the platform theme.
|
||||||
|
|
||||||
- QSystemTrayIcon:
|
- QSystemTrayIcon:
|
||||||
* [QTBUG-31762] Fixed position of system tray icon on Linux/X11
|
* [QTBUG-31762] Fixed position of system tray icon on Linux/X11
|
||||||
(except Unity).
|
(except Unity).
|
||||||
@ -505,14 +580,26 @@ QtWidgets
|
|||||||
* Added placeholderText akin to QLineEdit.
|
* Added placeholderText akin to QLineEdit.
|
||||||
* Context-menu actions now have icons.
|
* Context-menu actions now have icons.
|
||||||
|
|
||||||
|
- QToolTip:
|
||||||
|
* Added new showText() overload taking a duration.
|
||||||
|
|
||||||
- QTreeView:
|
- QTreeView:
|
||||||
* QTreeView now has setTreePosition to allow the treestructure to
|
* Added setTreePosition() function.
|
||||||
show data from other columns than logicalindex zero.
|
|
||||||
|
- QWidget:
|
||||||
|
* Added window{Title,Icon,IconText}Changed() signals.
|
||||||
|
* Added toolTipDuration property.
|
||||||
|
|
||||||
- QWindowContainer:
|
- QWindowContainer:
|
||||||
* [QTBUG-32177] Sets active window correctly now.
|
* [QTBUG-32177] Sets active window correctly now.
|
||||||
|
* [QTBUG-34138] Will not create native child widgets any more.
|
||||||
|
|
||||||
|
- QWindowsVistaStyle:
|
||||||
|
* [QTBUG-26503] Does no longer draw inapplicable scroll bar
|
||||||
|
grippers on Windows 8.
|
||||||
|
|
||||||
- QWizard:
|
- QWizard:
|
||||||
|
* [QTBUG-26722] The default background pixmap works again on OS X.
|
||||||
* [QTBUG-29924] Gave all buttons an objectName().
|
* [QTBUG-29924] Gave all buttons an objectName().
|
||||||
|
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
@ -537,6 +624,7 @@ Android
|
|||||||
OS X
|
OS X
|
||||||
----
|
----
|
||||||
|
|
||||||
|
- Added QMaxCocoaViewContainer and QMacNativeWidget classes.
|
||||||
- Qt for OS X is now identified by the macro Q_OS_OSX. This complements the
|
- Qt for OS X is now identified by the macro Q_OS_OSX. This complements the
|
||||||
existing Q_OS_DARWIN macro (which identifies the open source kernel and
|
existing Q_OS_DARWIN macro (which identifies the open source kernel and
|
||||||
could identify non-Apple products) and Q_OS_MAC, which is defined for
|
could identify non-Apple products) and Q_OS_MAC, which is defined for
|
||||||
@ -547,6 +635,17 @@ OS X
|
|||||||
supported until official announcement by the Qt Project.
|
supported until official announcement by the Qt Project.
|
||||||
- Added a number of functions to QtCore to convert to and from
|
- Added a number of functions to QtCore to convert to and from
|
||||||
CFString/NSString and QString, CFURL/NSURL and QUrl.
|
CFString/NSString and QString, CFURL/NSURL and QUrl.
|
||||||
|
- QGestureManager now supports Mac OS X native gestures.
|
||||||
|
- Added QMenu::setAsDockMenu(), QMenu(Bar)::toNSMenu(),
|
||||||
|
qt_mac_set_doc_menu() functions.
|
||||||
|
- [QTBUG-26722] The QWizard default background pixmap works again.
|
||||||
|
|
||||||
|
BlackBerry
|
||||||
|
----------
|
||||||
|
|
||||||
|
- Cover windows (aka active frames) are now supported. Cover windows must
|
||||||
|
have the Qt::CoverWindow flag set. They are shown when the application
|
||||||
|
is minimized.
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
-------
|
-------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user