On Wed, Sep 28, 2011 at 12:47 PM, <[email protected]> wrote:

> On 9/28/11 10:45 AM, "ext Thiago Macieira" <[email protected]> wrote:
>
> >On Wednesday, 28 de September de 2011 08:20:38 [email protected]:
> >> Happy to add it to the lighthouse plugin if someone comes up with a
> >> proposal. The API required for this should be rather simple. Basically
> >> something to register global shortcuts and a signal when one of them
> >>gets
> >> triggered.
> >
> >I'm sure it's simple, but maybe not that simple. The API needs to deal
> >with
> >the case that you ask for a shortcut but you don't get it because either
> >the
> >system denied you access to it or because something else already is using
> >it.
> >In order to implement shortcut editing dialogs, there should also be an
> >API to
> >query whether a given combination is available or already taken.
>
> Yes, I was oversimplifying a bit :)
> >
> >What's more, Wayland still has no global shortcut API (I talked to the
> >maintainer yesterday to confirm this), so it would be nice if people got
> >involved in the project to start discussing how to standardise this.
>
> I don't think that has to stop us from doing an API for Lighthouse. We
> have X11, Win and Mac to test and validate the API against.
>
> That being said, it'd be good if Wayland will get this at some point.
> >
> >> Only other issue is that shortcut handling (QShortCut) is currently in
> >> QtWidgets, not QtGui. The problem here is that someone needs to
> >> disentangle the class from QAction and other classes that should stay in
> >> widgets.
> >
> >Long ago, when we started talking about gestures, I had a dream about
> >having a
> >semantic level above the raw events. Touch events, mouse events, keyboard
> >events, tablet events, etc., are raw: they convey what action the user
> >did,
> >but not what the user meant to do. There should be an interpretation
> >layer
> >that is capable of interpreting multiple event sources over time and give
> >a
> >resulting semantic. For example, imagine the case of zooming: it can be a
> >key
> >press (ZoomIn key), Ctrl+Mouse Button 4 (Ctrl+WheelUp) or a two-finger
> >pinch.
>
> Yes, it would be nice to get to this, but it is a can of worms to open :)
>
> While it'd be great if someone starts looking into it, I don't think we
> should aim at having something in 5.0.
>
> Cheers,
> Lars


I tried to contact the LibQxt devs on their mailing lists but mails bounce
-_- I will give IRC a try tomorrow..
But implementing the global shortcut probably doesn't involve copying
anything from them anyway.
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to