Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QPushbuttons signals mismatch
Forum Updated to NodeBB v4.3 + New Features

QPushbuttons signals mismatch

Scheduled Pinned Locked Moved Unsolved General and Desktop
qpushbuttonsignals
4 Posts 2 Posters 1.1k 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.
  • KutyusK Offline
    KutyusK Offline
    Kutyus
    wrote on last edited by Kutyus
    #1

    Hi!

    I develop a toy car controller. I have four qpushbuttons, left wheels forward and backward and right wheels forward and backward.
    The pressed signal starting the motor, and the released signal is stopped. When I pressing a simple button, it is working fine, but when I press a button while an another button is pressed, the signals is mismatched, i receive the firstly pressed button's released signal.

    Thanks in advance.

    VRoninV 1 Reply Last reply
    0
    • KutyusK Kutyus

      Hi!

      I develop a toy car controller. I have four qpushbuttons, left wheels forward and backward and right wheels forward and backward.
      The pressed signal starting the motor, and the released signal is stopped. When I pressing a simple button, it is working fine, but when I press a button while an another button is pressed, the signals is mismatched, i receive the firstly pressed button's released signal.

      Thanks in advance.

      VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by VRonin
      #2

      @Kutyus said in QPushbuttons signals mismatch:

      but when I press a button while an another button is pressed

      Are we talking multi-touch? Qt Widgets does not support that, you should use QML

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      KutyusK 1 Reply Last reply
      3
      • VRoninV VRonin

        @Kutyus said in QPushbuttons signals mismatch:

        but when I press a button while an another button is pressed

        Are we talking multi-touch? Qt Widgets does not support that, you should use QML

        KutyusK Offline
        KutyusK Offline
        Kutyus
        wrote on last edited by
        #3

        @VRonin thanks for reply.

        I used qt embedded tslib and linuxfb, any solutions for multitouch handle?

        VRoninV 1 Reply Last reply
        0
        • KutyusK Kutyus

          @VRonin thanks for reply.

          I used qt embedded tslib and linuxfb, any solutions for multitouch handle?

          VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          @Kutyus said in QPushbuttons signals mismatch:

          any solutions for multitouch handle?

          Yes, use QML for your interface instead of QtWidgets

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          1

          • Login

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