Results 1 to 2 of 2

Thread: Unreliable qabstractbutton with touch screen

  1. #1
    Join Date
    May 2015
    Location
    Adelaide Australia
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Unreliable qabstractbutton with touch screen

    Hi All

    I have an application running on a small ARM based SBC called a TI AM335x BeagleBoneBlack with a touch screen. The setup is designed to work with simple button clicks without a mouse or keyboard; The software relies on mouse events to manage the touchscreen buttons. Everything works with the exception that pressing a button (with finger or stylus) is unreliable and requires between 1 and a dozen attempts to get the button signal to fire. The buttons change when touched to indicate that they have been activated, but the corresponding slot doesn't receive a signal. This is the case for all qabstractbutton buttons and checkboxes. Interestingly scroll bars seem to work perfectly.

    Does anyone have any advice about how to improve this?

    As background, I'm using QT 4.8.2 on Debian GNU/Linux 7. This is the latest version available for this particular platform.

  2. #2
    Join Date
    May 2015
    Location
    Adelaide Australia
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Unreliable qabstractbutton with touch screen

    Seems its due to the slow speed of the device. The UI takes a long time to respond and other asynchronous events in the background interrupt the process. Intercepting the event handler and simulating the signal-slot mechanism made some difference but the unreliability was still apparent. Oh well - just have to keep banging the screen until it responds.

Similar Threads

  1. Touch screen wrong coordinates on touch
    By Talei in forum Qt Programming
    Replies: 0
    Last Post: 1st January 2014, 22:35
  2. Qt Touch Screen Support
    By keyurapatel21 in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 19th October 2011, 18:31
  3. Getting raw touch screen data.
    By mahdi75 in forum Qt Programming
    Replies: 1
    Last Post: 21st March 2011, 08:42
  4. Replies: 1
    Last Post: 3rd May 2010, 17:31
  5. Touch screen
    By rchaitanya in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 19th January 2009, 13:40

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.