Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Polish
  4. Formularz + TAB
QtWS25 Last Chance

Formularz + TAB

Scheduled Pinned Locked Moved Solved Polish
3 Posts 2 Posters 1.2k 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.
  • E Offline
    E Offline
    Etro
    wrote on last edited by
    #1

    Witam,
    Szukam informacji na temat jak zaprogramować działanie przycisku TAB.
    Chodzi o wypełnianie formularza. Chciałbym aby po wprowadzeniu danych do QLineEdit numer 1, po wciśnięciu TAB lub Enter, kursor przechodził do konkretnego QLineEdit.

    Pozdrawiam

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Jeśli używasz designera to jest tam specjalny tryb pozwalający ustawić kolejność przechodzenia tabem: Qt Designer's Tab Order Editing Mode.
      Jeśli chcesz to ustawić z kodu to służy do tego metoda setTabOrder, która pozwala Ci ustawić cały łańcuch kolejności.

      1 Reply Last reply
      2
      • E Offline
        E Offline
        Etro
        wrote on last edited by
        #3

        Dzięki , nie wiedziałem o istnieniu tego trybu.

        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