PDA

View Full Version : touchscreen



jcr
15th April 2010, 05:03
Hello,

I have this Qt application that works fine with the mouse used to click on buttons and make selections and no key board entry whatsoever. This is on a regular desktop or a laptop and not a mobile phone.
A user wants to use a touch screen. I am assuming that absolutely no code change will be needed and that a click by on a touch screen or through a mouse is exactly the same.

Is that a safe assumption?

thanks

aamer4yu
15th April 2010, 06:44
Is that a safe assumption?
Dont you have a touchscreen to test :rolleyes:

Anyways, I guess it should work fine. Two things to look our for are right click and hover events..
You should check if the touchscreen driver translates them in proper events.

wagmare
15th April 2010, 07:54
no problem ... i completed a GUI design in TID monitor .... right click on mouse is tedious .. hover will work if u move your finger over the button ...... all action performed like normal mouse click ....

pherthyl
15th April 2010, 20:54
Yes, for the most part you don't need to do anything.
However, some touch screen drivers do different things with respect to hover and buttons other than the left mouse button. So, don't rely on right click context menus, don't rely on hover events to do important stuff, and make sure your targets are large enough to be selected (no standard size spinboxes for example).