This example shows how a QWidget can be used as touch input. Important note: The GDisplay pointer must be set to a valid display in mywidget.cpp:16 for this to work.