Fix Qt::MouseButton Documentation for Qt::ExtraButton24,

Documentation for the 'more mouse buttons' feature has a Typo on
Qt::ExtraButton24 (is shown as "Qt::ExtraButton44", no value.)
Also, the order of BackButton/Xbutton1/ExtraButton1 causes the
'BackButton' value to be a forward reference to XButton1, which
makes it awkward and hard to understand. Same with ForwardButton/
XButton2/ExtraButton2.

Task-number: QTBUG-25529

Change-Id: I04b76d91d7a2155c1917a809a51700059320f510
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
This commit is contained in:
stockton 2012-04-29 22:21:43 -07:00 committed by Qt by Nokia
parent 897586f025
commit 0ea3a1a9ad
2 changed files with 6 additions and 6 deletions

View File

@ -155,12 +155,12 @@ public:
RightButton = 0x00000002,
MidButton = 0x00000004, // ### Qt 6: remove me
MiddleButton = MidButton,
XButton1 = 0x00000008,
BackButton = XButton1,
BackButton = 0x00000008,
XButton1 = BackButton,
ExtraButton1 = XButton1,
XButton2 = 0x00000010,
ForwardButton = XButton2,
ExtraButton2 = XButton2,
ForwardButton = 0x00000010,
XButton2 = ForwardButton,
ExtraButton2 = ForwardButton,
TaskButton = 0x00000020,
ExtraButton3 = TaskButton,
ExtraButton4 = 0x00000040,

View File

@ -219,7 +219,7 @@
\value ExtraButton21 The 24th non-wheel Mouse Button.
\value ExtraButton22 The 25th non-wheel Mouse Button.
\value ExtraButton23 The 26th non-wheel Mouse Button.
\value ExtraButton44 The 27th non-wheel Mouse Button.
\value ExtraButton24 The 27th non-wheel Mouse Button.
\omitvalue MaxMouseButton
\omitvalue MouseButtonMask