Doc: Don't mention deprecated functions in QTabletEvent overview
Change-Id: I5d41d6061403f2923d673376be7cf1250d0f0e82 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>bb10
parent
5f87fb8813
commit
a320b57f1d
|
|
@ -2225,14 +2225,14 @@ QVariant QInputMethodQueryEvent::value(Qt::InputMethodQuery query) const
|
|||
(pressing the stylus tip against the tablet surface is equivalent to a left
|
||||
mouse button). But tablet events also pass through some extra information
|
||||
that the tablet device driver provides; for example, you might want to do
|
||||
subpixel rendering with higher resolution coordinates (\l hiResGlobalX()
|
||||
and \l hiResGlobalY()), adjust color brightness based on the \l pressure()
|
||||
of the tool against the tablet surface, use different brushes depending on
|
||||
the type of tool in use (\l device()), modulate the brush shape in some way
|
||||
according to the X-axis and Y-axis tilt of the tool with respect to the
|
||||
tablet surface (\l xTilt() and \l yTilt()), and use a virtual eraser
|
||||
instead of a brush if the user switches to the other end of a double-ended
|
||||
stylus (\l pointerType()).
|
||||
subpixel rendering with higher resolution coordinates (\l globalPosF()),
|
||||
adjust color brightness based on the \l pressure() of the tool against the
|
||||
tablet surface, use different brushes depending on the type of tool in use
|
||||
(\l deviceType()), modulate the brush shape in some way according to the
|
||||
X-axis and Y-axis tilt of the tool with respect to the tablet surface
|
||||
(\l xTilt() and \l yTilt()), and use a virtual eraser instead of a brush if
|
||||
the user switches to the other end of a double-ended stylus
|
||||
(\l pointerType()).
|
||||
|
||||
Every event contains an accept flag that indicates whether the receiver
|
||||
wants the event. You should call QTabletEvent::accept() if you handle the
|
||||
|
|
|
|||
Loading…
Reference in New Issue