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

QAbstractItemView: clicked() signal should let you know which mouse button was used

    XMLWordPrintable

Details

    • c5d7ea5badb4ccc0cd7027d8629d80809e7ec3d7

    Description

      The QAbstractItemView::clicked() signal is emitted every time an item on the view is clicked. However, it would be useful if there was a way to see which mouse button caused the signal. A signal like QAbstractItemView::clicked(Qt::MouseButton, const QModelIndex&) would be very useful.

      Rejected:
      Use QApplication::mouseButtons() to obtain this information.

      Attachments

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

        Activity

          People

            stephen.kelly Stephen Kelly (Unused account) (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes