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

QFileSystemModel columns are undocumented

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.4.0
    • Documentation
    • None
    • All

    Description

      There are 4 columns (name, size, Mime type, modified date) in QFileSystemModel, and they are undocumented.

      Thus, we get an unexpected result when we render a TreeView with

      Text {
          id: label
          x: padding + (tree_delegate.isTreeNode ? (tree_delegate.depth + 1) * tree_delegate.indent : 0)
          width: tree_delegate.width - tree_delegate.padding - x
          clip: true
          // yield 4 columns: name / size / Mime type / modified date
          text: model.display
      }
      

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            fabricesalvaire fabrice salvaire
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes