Results 1 to 2 of 2

Thread: How to Implement the Touch Screen Events?

  1. #1
    Join Date
    Dec 2008
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Post How to Implement the Touch Screen Events?

    I am have installed Qt Embedded Linux(4.4) on my machine.
    I want to know the procedure of how to make the touch screen applications.

    Any Help?

  2. #2
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: How to Implement the Touch Screen Events?

    Hi,
    I am not sure of the details of your project. I am developing a touchscreen project now using QtEmbedded. Nothing really different compared to using a keyboard and mouse.
    Make sure you install /configure Qt with the ts library you will be using.
    All touchscreen events are the same as mouse events. You will have to consider the size of the input widgets (radiobuttons, checkboxes, etc). They are rather small for ts usage, you will probably have to use QStylesheets to make custom buttons.
    Most of my gui is QGraphicsView/QGraphicsScene and Items. I am using widgets for data input (it's easier when using Designer). I then modify the radiobuttons, checkboxes to a suitable size. I try and put most of my input widgets in a frame, and filter mouse events for any mouse events within that frame as appose to just filtering the input field(QlineEdit or such). It makes the touch area more suitable for fingers rather than pen input.
    Good luck

Similar Threads

  1. how to enable touch screen in qt/embedded
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 8
    Last Post: 25th March 2011, 10:44
  2. tslib
    By raman_31181 in forum Qt for Embedded and Mobile
    Replies: 7
    Last Post: 18th September 2008, 12:10
  3. how to do touch screen calibration for qtopia-core-opensource-4.3.2
    By avrecorder in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 15th September 2008, 12:49
  4. Touch screen on t-Embedded 4.4 on i.MX31ADS
    By HT in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 7th June 2008, 09:06
  5. regarding a touch screen driver for qt-embedded
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 2nd March 2007, 10:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.