English 中文(简体)
Qt C++ QTouch 内容提要
原标题:Qt C++ QTouchEvent & TouchPoint Confusion

只是试图在Q TouchEvent周围总结我的头目。 欢迎任何帮助/帮助。

具体来说,当发生触角事件时,我会感到困惑不解(例如,Intel Begin);这是否只是一个独特的触点? 如果是这样,为什么在Q TouchEvent中有一个接触点清单?

如果不是的话,Qt会把某一时间分数发生的几起IntelBegin事件合并起来,并把它作为一次事件处理,而该事件的点数清单也概括起来吗? 同样,“QTouchUpdate”活动将包含有关当时正在更新的若干接触点的信息?

我还认为:

QTouchEvent::TouchPoint::id

在整个会计、会计和会计期间,将保持连贯性。 说在不同的触动事件中,如果我看到同一点,那么两个事件都提到同一点。 这一假设是否正确?

FYI:我早就与TUIO合作,这样,如果有人熟悉Qt和TUIO,我会更容易理解比较的解释。 我也通过Qt文件阅读了,但无法回答我的问题。

但我确实非常赞赏任何帮助。

Thank you.

问题回答

报告的事件在不同平台上似乎有多大差别。 如果你用两条手打听,就可以从一个单一点(Touch Begin)开始,紧接着一个新点:Q TouchEvent和两个电话线。 但它也可以将两个切入点纳入国际通口。 但是,我也目睹了两场通话会,尽管这是禁止的(见 doc)。

从一开始,在最新信息方面又存在分歧。 有时,你总是拿到两点(或你 have倒的数额),即使你解除了一inger。 在这种情况下,取消的inger子“id”的压力为0。 或者,你拿到实际上已经下降的点子。

了解如何产生这些影响的最佳途径是,并在你发布新闻时观察这些活动。





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签