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

Provide spanning in QTreeView

XMLWordPrintable

      QTableView has a very nice spanning feature which would be nice to have in QTreeView.

      It is understandable that row spanning would be difficult to implement in a QTreeView, given that some rows may have children, however, spanning across columns should be much simpler and would be very useful.

      For example, if a tree has 20 columns, it might be necessary to span column 10 through to 20.

      The current spanning only allows the first column to span the width of the entire tree. This is not very flexible.

      A function/method like setText(int column, const QString &text, int > span = 1) would be very nice.
      (The same thing would be very usable for QTableWidget for the functions setItem and setCellWidget just like in QGridLayouts' addWidget).

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

            Unassigned Unassigned
            gpf Shane McLaughlin
            Votes:
            13 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes