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

QTabWidget,QTabBar,when inherts from qtabwidget,in function contextMenuEvent,if user want to get which tab page clicked by right mouse button,if tabPosition is not the default value(North),this function tabAt(QPoint) will always return value -1.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.6.1, 4.7.0
    • None
    • linux/window

    Description

      i want to inhert qtabwidget,and reimplement contextMenuEvent,but when set TabPosition to others,qtabwidget->tabbar()->tabAt always return -1.
      testing exmaple:
      http://qtfans.com/forum.php?mod=viewthread&tid=1317&extra=

      Attachments

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

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            qtfans www.qtfans.com
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes