Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Adding Touch capability to my Qt App
Forum Updated to NodeBB v4.3 + New Features

Adding Touch capability to my Qt App

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 694 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    QtAm
    wrote on last edited by
    #1

    Hi All,
    I am new to Qt. I have developed a Qt GUI for my hardware. It is working fine for mouse events and keyboard.

    Now the hardware is being made with touch capability.

    Now, I want to add touch capability to my GUI. It consists mostly of QPushButtons and QListView.
    Is it enough if I set the attribute setAttribute(Qt::WA_AcceptTouchEvents,true); to my widget ? or do I need to do it for all the buttons individually ? Please advice.

    Thanks.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved