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

QListView and QTableView should support viewItemPosition for items

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12
    • Fix Version/s: None
    • Component/s: Widgets: Itemviews
    • Labels:
      None

      Description

      Currently only QTreeView supports setting viewItemPosition in QStyleOptionViewItem.

      There's no reason why QTableView couln not set it to appropriate value as well, along with QListView always setting to QStyleOptionViewItem::OnlyOne.

      Lack of proper support doesn't allow styles displaying, for example, border around whole row in QTableView, instead of individual cells.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            cavaler Pavel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes