[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Redirecting tablet/mouse event form KoCanvasControler to
From: Thomas Zander <zander () kde ! org>
Date: 2008-07-28 11:47:09
Message-ID: 200807281347.09749.zander () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Saturday 26. July 2008 10:03:03 Cyrille Berger wrote:
> Hi,
>
> I am considering redirecting mouse/tablet events from KoCanvasControler to
> KoCanvasBase,
KoCanvasBase is a child-widget of the controller. This means that the
canvasBase always gets the events first, and if it chooses not to accept the
event they will be offered again to the canvasController (since its the
parent in the hierarchy).
The application-specific canvas is the only one that has all the information
to convert mouse/tablet events into KoPointerEvent objects.
So, I'm assuming you meant that you want to catch all the events in the
canvasController instead of the krita-specific canvas as is done now.
If that is indeed what you want to do, then I suggest a KisCanvasController.
But it won't be easy to do correctly :(
I have done quite some work on Qt4.5 for tablets, I intend to do more, but
there is only so much time I can put in to it. Naturally blogs which imply
all tablet woes are related to open Qt bugs don't help my motivation a lot.
It is important to note that Linux tablet support (in Qt) is the worst of all,
going to another platform will make Krita behave better. So keep that in mind
when you put time in this. Unfortunately there still is a high bias towards
Windows / Mac for tablet users.
Good luck!
--
Thomas Zander
["signature.asc" (application/pgp-signature)]
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic