Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Italian
  4. [Split] [Solved] [Closed] Indice della tab
Forum Updated to NodeBB v4.3 + New Features

[Split] [Solved] [Closed] Indice della tab

Scheduled Pinned Locked Moved Italian
3 Posts 2 Posters 2.6k 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.
  • B Offline
    B Offline
    beppuz
    wrote on last edited by
    #1

    Salve a tutti ,
    Vorrei sapere qual'è il signal quando mi sposto tra le tab....
    Poi se io creo 5 tab e voglio salvare in una variabile la mia posizione attuale, cioè l'indice della tab in primo piano... come faccio?? Qual'è il metodo???

    grazie!!!!!!!

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dangelog
      wrote on last edited by
      #2

      Ciao,

      un piccolo appunto: crea un nuovo thread per le tue domande, non rispondere a thread già esistenti con domande che non hanno attinenza col thread stesso.

      In secondo luogo: se stai usando QTabBar o QTabWidget, hanno entrambe il segnale currentChanged() (leggi la rispettiva documentazione). Connetti questo segnale ad uno slot in cui salvi l'indice della scheda attuale.

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dangelog
        wrote on last edited by
        #3

        Duplicato di http://developer.qt.nokia.com/forums/viewthread/9569/

        Software Engineer
        KDAB (UK) Ltd., a KDAB Group company

        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