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

More fine grained control over grid in QTableView/QTableWidget

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.8.4, 5.0.1
    • Widgets: Itemviews
    • None
    • All?

    Description

      Sort of a duplicate of closed [ignored IMO] issue https://bugreports.qt-project.org/browse/QTBUG-14515

      Currently it's not possible to choose whether QTableView grid should have only vertical or horizontal grid lines. Trying to compensate for this with a stylesheet rule or an item delegate does not give a satisfactory result when trying to "emulate" vertical grid lines, despite what's claimed in the closed issue mentioned above. Those methods only renders a grid line for data rows, not remaining empty space.

      I attached screenshot of result when using delegate code. It's not pretty, and a show stopper when trying to show a nice grid in OS X style.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            zumteufel Jan Faroe
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes