TabWidget index



  • Hello,
    I would like to know what the signal when I move between the tabs ....
    Then if I create 5 tabs and I want to save into a variable my current position, ie the index of the tab in the foreground ... how do I? What is the method??

    Thanks !!!!!!!



  • You mean this signal?
    @void QTabWidget::currentChanged ( int index )@

    bq.
    This signal is emitted whenever the current page index changes. The parameter is the new current page index position, or -1 if there isn't a new one (for example, if there are no widgets in the QTabWidget)



  • Thanks for your answers ....
    it works! thank you very much


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.