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. QPushbutton Signalloss on andoird
Qt 6.11 is out! See what's new in the release blog

QPushbutton Signalloss on andoird

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

    Hello everyone, I have the following situation:

    I have a menu bar at the top of my app, with 9 items -QGroupbox- in total. Every box consists of 2 Labels, one with an Icon and one for the text and 1 transparent Pushbutton for Touch-Signal detection. The Button is raised.

    This works perfectly fine for one of my target devices - Samsung Galaxy Tab Pro.
    There are problems with a Samsung Galaxy Tab 4. On this device, button 2 to 9 work flawlessly but button 1 not. Only every other Signal is lost.

    However, if i press onto the bottom corner of the item or the right corner, the Signal is registert every single time.

    The same code works fine on Tab Pro but does not work reliably on Tab 4

    Both are arm- architectures, both have the android Version 4.4.2.
    I'm useing QT 5.4.1.
    Am I missing something obvious, or this actually some kind of bug?

    There are only 2 places in my code, where I interact with the button. I paste them at the end.

    The strange thing about it is, on other sides of my stakedWidget, I have the same behaviour with different buttons. But allways the Button furthest to the left.

    Making the App smaller, removing 100 pixel in total and moveing the app 100 pixel to the right, does not change the behaviour at all.

    //---------------------------------------------------------------------------------------
    ui->groupBox_49->setGeometry(0,0,ElementWidth,GroupHeight);
    ui->lblText->setGeometry(ui->groupBox_49->width()/4, 0, ui->groupBox_49->width()*3/4, ui->groupBox_49->height());
    ui->lblIcon->setGeometry(ui->groupBox_49->height()*1/10, ui->groupBox_49->height()*3/10, (ui->groupBox_49->height()*36/75) - ui->groupBox_49->height()*1/5, ui->groupBox_49->height()*2/5 );
    ui->btnMenu_1->setGeometry(ui->groupBox_49->geometry());

    connect(ui->btnMenu_1, SIGNAL(pressed()), this, SLOT(ZurueckEditRezepts()));

    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