More devices into the Shortcut system...

Albert Astals Cid aacid at kde.org
Thu Dec 22 23:57:22 GMT 2011


El Dimarts, 20 de desembre de 2011, a les 21:48:30, Rick Stockton va escriure:
> It is time for us to "Fish, or Cut Byte" on two alternative ways to
> introduce Mouse-Oriented Shortcuts into Qt5 and KDE-Next:
> 
> Todd RME has been suggesting a new design- oriented around DBUS.
> Unfortunately, I don't know how to do that coding. Todd, if your design
> gets a more favorable review from THIS group, within the next few days,
> I'll try to assist you in your work (as best as I can; I'm definitely
> not the brightest person here.)
> 
> As an alternative, I'm suggesting the idea of enhancing one or two of
> the existing classes: I'd prefer to enhance the current QShortCutEvent
> and QShortCut scheme, so that they can include Mouse Button events
> within a QKeySequence. (This will including the possibility of _only_
> one or more Mouse Buttons, with no keyboard event at all.) If that
> proves difficult, I could create new Classes to do this-- but I think I
> can use the 'hasExtendedInfo' trick which one of the smart Qt guys has
> used to handle a variety of Signatures in the  QtMouseEvent() code. I
> can work with *this* stuff on my own.
> 
> Please give opinions soon, as we have only 3-5 weeks before the Qt5 API
> goes into soft freeze. After we have Mouse Buttons done, the same design
> could be extended to handle other input devices (joystick, multitouch,
> and so on.)

After reading this mail i feel like i don't have all the information to give 
an opinion since i did not get any pointer to learn what is the Todd RME DBUS 
design.

Albert




More information about the kde-core-devel mailing list