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. QLineEdit with TabFocus not working as expected (Qt bug or my misunderstanding?)
Forum Updated to NodeBB v4.3 + New Features

QLineEdit with TabFocus not working as expected (Qt bug or my misunderstanding?)

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 622 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.
  • V Offline
    V Offline
    Violet Giraffe
    wrote on last edited by
    #1

    I have a dialog with 2 QlineEdits:

    !http://i.piccy.info/i9/cce6c7cfab5be8200426ceaac39ef02c/1403553326/19171/735073/Clip.jpg(Dialog)!

    By default, I can switch between the edits with Tab key. Which I want to do. So I change their default StrongFocus policy to TabFocus. Now I can't switch to the second edit at all: not with Tab, not with a mouse click. It's worth noting that in Qt Designer preview (Alt+Shift+R) I can switch between the edits with Tab. But not when the application is actually built and running.

    Is it a Qt bug?
    Qt 5.3, Win 7.

    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