Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, September 2002
Touch screen questions


Message 1 in thread

We are in the process of researching the best way to create a GUI that will
be accessed via a touch screen (and possibly a mouse).  This will not be a
PDA touch screen...more like an ATM or a laptop sized screen.  I am looking
at Qt embedded, but am not sure if this is the way we will need to go or
not.

Can a touch screen be used with Qt widgets (not Qt embedded) and if so are
there certain classes that deal with this.  So far, all I've found regarding
touch screens deals with Qt embedded.

Thank you!

Sherri D. Hodgson
Applied Research Associates, Inc.
962 W. John Sims Parkway
Niceville, FL 32578-1823
Phone: 850-678-5222
Fax: 850-678-6997
www.ara.com
~~ Life is not measured by the number of breaths we take, but by the moments
that take our breath away. - Author Unknown ~~

<<attachment: winmail.dat>>


Message 2 in thread

> Can a touch screen be used with Qt widgets (not Qt embedded) and if so are
> there certain classes that deal with this.  

w/o going into details, the answer is yes.  a touch screen driver, which 
should be part of the os/hw, should send touch screen touches, or commands, 
to qt app the same manner as mouse clicks.

- jd


Message 3 in thread

> We are in the process of researching the best way to create a GUI that
will be accessed via a touch screen (and possibly a mouse).  This will not
be a PDA touch screen...more like an ATM or a laptop sized screen.  I am
looking at Qt embedded, but am not sure if this is the way we will need to
go or not.
>
> Can a touch screen be used with Qt widgets (not Qt embedded) and if so are
there certain classes that deal with this.  So far, all I've found regarding
touch screens deals with Qt embedded.

Hello,

Yes, QT can run with a touch screen (Our project currently does), QT (not
qtembedded) uses the system drivers for the mouse. So, If you tell windows
(or x11 under unix) to use touchscreen drivers as the pointer device, then
that's what QT will use.

As for the touchscreen under QTembedded, not sure, never tried it.

J Norfleet