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. Weird behaviour of QLineEdit
Forum Updated to NodeBB v4.3 + New Features

Weird behaviour of QLineEdit

Scheduled Pinned Locked Moved Mobile and Embedded
qlineeditkeypresseventmousepressevent
1 Posts 1 Posters 744 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.
  • S Offline
    S Offline
    Sidii
    wrote on last edited by Sidii
    #1

    Whenever i click on the QLineEdit, it gets focus. This is correct behaviour. But apart from this it also receives KeyPress Events around 6-7 times.
    Please let em know how this can be avoided and how to check who is generating Key Press events when there is no key pressed. This behaviour is observed every time i click on the QLine Edit and try to move the cursor position (Touch screen, so no keyboard keys are pressed)

    This is observed only in embedded system. Same code works fine in Windows and Fedora.

    Inside the keyPressEvent if i try to print the key code then it shows code as: 1073152 multiple times.
    Also please let me know what this code corresponds to if anybody has any idea?
    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