English 中文(简体)
2. 重载试触屏校准
原标题:Reload tslib touch screen calibration

<<>Background: 我正致力于一个规模不大的基于Qt的全球倡议,它处理所有用户与触摸屏的互动。 该方案的目的是,用户不必迅速获得指挥,以便做任何事情,包括重新调整触摸屏。 我已写出了斜体的模版ts_calibrate,作为QWidget,并可修改在/etc/pointercal上的校准文档。

然而,尽管我可以修改校准档案,但在我结束并重新启动方案之前,对校准的改动似乎并不适用。 我已撰写了一份能够处理重新启动该方案的文字,但我想找到一种更明智的办法,使用户群保持在最低限度。

www.un.org/Depts/DGACM/index_spanish.htm 简言之, 有一项功能可在其中一种功能中查阅。 哪些班级将重载机校准文件,而不重新启用申请? 我通过,但我看不到什么东西看着我想要的东西。

最佳回答

由此可见,驾驶人can<>>m>在不重新启动申请的情况下重载。 为此,您可使用QWSServer par,如:

#include <QWSServer>

...

QWSServer::instance()->closeMouse();
QWSServer::instance()->openMouse();

这将造成微粒校准文件重载。 例如,如果你以错误的校准启动方案,在方案实施期间纠正触摸屏的校准文件,那么就采用这些方法,点人将适应新的校准。

问题回答

帐篷与Qt没有任何关系。 您可下载tslib,并查看哪些测试/ts_calibrate.c。





相关问题
Qt: Do events get processed in order?

If I had a class A, where one of its functions does: void A::func() { emit first_signal(); emit second_signal(); } Assuming that a class B has 2 slots, one connected to first_signal, and the ...

How to determine how much free space on a drive in Qt?

I m using Qt and want a platform-independent way of getting the available free disk space. I know in Linux I can use statfs and in Windows I can use GetDiskFreeSpaceEx(). I know boost has a way, ...

Drag & drop with .ui files

I m having big troubles with drag & drop. I ve created a new Qt Designer Form Class in which I have one QListWidget and one QWidget. Now I want to enable dragging & dropping between these two ...

Link errors on Snow Leopard

I creating a small desktop application using Qt and Poco on Mac OS X Snow Leopard. Qt works fine, but once I started linking with Poco I get the following warning: ld: warning: in /Developer/SDKs/...

Showing two windows in Qt4

My friend and I have each created parts of a GUI using Qt 4. They both work independently and I am trying to integrate his form with the my main window. As of now this is the code I am using to try ...

Qt equivalent of .NET data binding?

Is there an equivalent of .NET s data binding in Qt? I want to populate some combo boxes and other widgets with QStrings that refer to specific entities in my database. However, it would be cleaner ...