Re: Using TabletEvent hiRes positions

2016-08-09 Thread Oliver Sander
Hi Martin, > Since Qt5 hiResGlobalPos() and globalPosF() return the same value, if you > look at the code. It is also noted in the documentation and hiResGlobalPos() > is marked as deprecated with a QT_DEPRECATED macro in the header. > so you are saying that it all these methods return highres va

Re: Using TabletEvent hiRes positions

2016-08-07 Thread Martin Sandsmark
Hi! Sorry for the late reply. On Thu, Jul 14, 2016 at 10:54:29AM +0200, Oliver Sander wrote: > @@ -909,7 +909,7 @@ QRect PageViewAnnotator::routeTabletEvent( QTabletEvent * > e, PageViewItem * item > // figure out the event type and button > AnnotatorEngine::decodeEvent( e, &eventType

[Okular-devel] Using TabletEvent hiRes positions

2016-07-24 Thread Oliver Sander
Dear okular developers, I recently noticed the following patch going into the frameworks branch: commit d700bc626eb893c896d43be3566dbcd13478a937 Author: Martin T. H. Sandsmark Date: Mon Jul 11 22:13:52 2016 +0200 Port away from obsolete QTabletEvent member diff --git a/ui/pageviewannotat