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. QMessagebox Double Tap Required
Forum Updated to NodeBB v4.3 + New Features

QMessagebox Double Tap Required

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 445 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.
  • J Offline
    J Offline
    jastmc
    wrote on last edited by
    #1

    I'm using Qt 5.3.2 on a BeagleBone Black with a touchscreen interface.

    I'm popping up a message box with two buttons, like so:

    int ret = QMessageBox::warning(this, tr("My Application"), tr("No Sync Detected!\n" "Proceed?"), QMessageBox::Ok | QMessageBox::Cancel, QMessageBox::Ok);
    

    The problem is that it seems to take two taps of a button to get rid of the message box. How can I get it to proceed after just one touch?

    Regards,
    James

    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