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

Extend ListModel to support QUrl values

    XMLWordPrintable

Details

    Description

      Would it be possible to support QUrl types in the ListModel?

      Here is the list of currently supported types:
      \qtdeclarative\src\qml\types\qqmllistmodel.cpp

      case QVariant::Double: type = Role::Number; break;
      case QVariant::Int: type = Role::Number; break;
      case QVariant::UserType: type = Role::List; break;
      case QVariant::Bool: type = Role::Bool; break;
      case QVariant::String: type = Role::String; break;
      case QVariant::Map: type = Role::VariantMap; break;
      case QVariant::DateTime: type = Role::DateTime; break;
      

      Attachments

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

        Activity

          People

            aalpert Alan Alpert
            anylitok Antti Yli-Tokola (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes