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

Possibility to setIcon on QHeaderView items

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Widgets: Itemviews
    • None

      Would be very nice if there was an API to do something like setIcon() on QHeaderView items in eg. a QTableWidget. Googling shows that many want icons in headerview items (so do I) and various solutions are proposed, most my overriding paintSection. However, this also might require the sizeHint or the minimumSizeHint to be changed, so an API for this would for sure be much appreciated!

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

            mmutz Marc Mutz
            dobedidoo Urban Flock
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes