Details
-
Sub-task
-
Resolution: Invalid
-
Not Evaluated
-
None
-
None
-
X11 platform, with a "Mouse" which can present click, double-click, and release actions on more than 5 "buttons" (in Qt terminology). Note: from X11, this means a button number >= 10.
Description
The new Buttons should, IMO, be named according to the event presented by X11, as seen in when clicking in the "xev" test box.
Button10 = 0x00000020,
Button11 = 0x00000040,
and Button12 = 0x00000080
In addition, I give "XButton1" the more descriptive alternate name "BackButton", with the same value (in the same way that "MiddleButton" has been defined as a new, and more preferred, name for "MidButton"). "XButton2" will be given the alternate name "ForwardButton".
Although, if Qt insists on continuing with the current scheme (resulting in "XButton3" = 0x00000020, "XButton4" = 0x00000040, and "XButton5" = 0x00000080, go ahead and do it that way. It just means a bit of extra thinking to figure out the button number which we're really talking about.
Changes to be made in "/src/corelib/global/qnamespace.qdoc" depend on the names approved here; I designate that modification as the next Sub-Task. I will also mark the name "MidButton" as Deprecated, per the trailing comment.