53f9e77140
It may be useful to know which named capturing groups are defined in an regular expression, and for each of them, what's the corresponding index. This commit adds the needed method to QRegularExpression. Note that extracting the information doesn't happen while holding the mutex in the private -- pcre_fullinfo just reads information from the compiled pattern, so that's thread-safe. Task-number: QTBUG-29079 Change-Id: I50c00ee860f06427c2e6ea10417d5c0733cc8303 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
121 lines
3.5 KiB
Plaintext
121 lines
3.5 KiB
Plaintext
Qt 5.1 introduces many new features and improvements as well as bugfixes
|
|
over the 5.0.x series. For more details, refer to the online documentation
|
|
included in this distribution. The documentation is also available online:
|
|
|
|
http://qt-project.org/doc/qt-5.1
|
|
|
|
The Qt version 5.1 series is binary compatible with the 5.0.x series.
|
|
Applications compiled for 5.0 will continue to run with 5.1.
|
|
|
|
Some of the changes listed in this file include issue tracking numbers
|
|
corresponding to tasks in the Qt Bug Tracker:
|
|
|
|
http://bugreports.qt-project.org/
|
|
|
|
Each of these identifiers can be entered in the bug tracker to obtain more
|
|
information about a particular change.
|
|
|
|
****************************************************************************
|
|
* General *
|
|
****************************************************************************
|
|
|
|
General Improvements
|
|
--------------------
|
|
|
|
- Q_PROPERTY gained a MEMBER attribute that let you associate a property to a
|
|
class member without requiring to explicitly writing a getter or a setter
|
|
|
|
|
|
Third party components
|
|
----------------------
|
|
|
|
-
|
|
|
|
|
|
****************************************************************************
|
|
* Important Behavior Changes *
|
|
****************************************************************************
|
|
|
|
- QtWidgets
|
|
|
|
* [QTBUG-8836] QAbstractItemView now allows manual deselect in
|
|
SingleSelection mode (with control modifier)
|
|
|
|
****************************************************************************
|
|
* Library *
|
|
****************************************************************************
|
|
|
|
QtCore
|
|
------
|
|
|
|
- QRect:
|
|
* Added marginsAdded(), marginsRemoved() and operators +, -, +=, -=
|
|
taking a QMargins object allowing for conveniently adding or removing
|
|
margins.
|
|
- QMargins:
|
|
* Added operators for adding and subtracting QMargins objects,
|
|
multiplication and division for int/qreal and unary minus.
|
|
|
|
- QMessageAuthenticationCode
|
|
* New class for hash-based message authentication code added to QtCore.
|
|
|
|
- QRegularExpression
|
|
* It's now possible to know the names of the named capturing groups
|
|
inside the pattern string, as well as the numerical index of each
|
|
named capturing group.
|
|
|
|
-
|
|
|
|
QtGui
|
|
-----
|
|
|
|
-
|
|
|
|
|
|
QtNetwork
|
|
---------
|
|
|
|
-
|
|
|
|
|
|
|
|
****************************************************************************
|
|
* Database Drivers *
|
|
****************************************************************************
|
|
|
|
|
|
****************************************************************************
|
|
* Platform Specific Changes *
|
|
****************************************************************************
|
|
|
|
Qt for Linux/X11
|
|
----------------
|
|
-
|
|
|
|
Qt for Windows
|
|
--------------
|
|
-
|
|
|
|
Qt for Mac OS X
|
|
---------------
|
|
-
|
|
|
|
Qt for Embedded Linux
|
|
---------------------
|
|
|
|
|
|
Qt for Windows CE
|
|
-----------------
|
|
|
|
|
|
****************************************************************************
|
|
* Compiler Specific Changes *
|
|
****************************************************************************
|
|
|
|
|
|
****************************************************************************
|
|
* Plugins *
|
|
****************************************************************************
|
|
|
|
|