diff options
author | Rick Stockton <rickstockton@reno-computerhelp.com> | 2012-02-06 08:38:38 -0800 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-08 05:16:33 +0100 |
commit | 389c5f4a52fae01ef1aea8dd98174a666d90e2dd (patch) | |
tree | 41809a26c6fed074b7f5029623703d2eb2a902e8 /qtbase.pro | |
parent | 193caa4451e9f9125c3cc30d6536ad1d9a4e46a8 (diff) |
Add 'AllButtons' into Qt::MouseButton enum, for use by QML
This allows the QML programmer to set 'acceptedButtons', for a
MouseArea, to accept all buttons with a single value. In
comparison with OR'ing a long list of Qt::MouseButton values,
this is shorter, easier, more clear, and less error-prone.
Task-number: QTBUG-24106
Change-Id: I0259969223c0b44b6ce8ae84aed37d20cb77999b
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'qtbase.pro')
0 files changed, 0 insertions, 0 deletions