Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2859

Suggestion: QTabBar::currentChanged(int oldIndex, int newIndex)

    XMLWordPrintable

Details

    Description

      Sometimes, when the user clicks on a new tab, it is necessary to know the tab that was previously selected. With the current implementation of QTabBar that's not possible. In Qt3, setCurrentTab() was virtual, so it could be worked around. The ideal solution is probably having a signal with two parameters, similar to the already existing one, but also carrying the old tab ID: QTabBar::currentChanged(int oldIndex, int newIndex)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes