Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    QTabWidget containing QPlainTextEdit and focus

    General and Desktop
    2
    3
    883
    Loading More Posts
    • 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.
    • K
      kevina67 last edited by

      Hi folks,

      I'm programming a simple code editor where the main widget is a QTabWidget containing QPlainTextEdit. I got a problem with the focus. If I open, lets say 3 files, I can switch between thoose using Alt+Tab shortcut. Everything's just fine for the moment. But when I click in a QPlainTextEdit, if I press again Alt+Tab, a tab character will spawn in the QPlainTextEdit but it won't switch to the next widget in the QTabWidget.

      How can I fix this behavior ?

      Thanx in advance ;)

      1 Reply Last reply Reply Quote 0
      • K
        kevina67 last edited by

        Up ;)

        1 Reply Last reply Reply Quote 0
        • francescmm
          francescmm last edited by

          You can take a look to the reported bug: "QTBUG-17967":https://bugreports.qt-project.org/browse/QTBUG-17967

          1 Reply Last reply Reply Quote 0
          • First post
            Last post