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

Addition of constructor variants for QStandardItem class

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 5.11.2
    • Fix Version/s: None
    • Component/s: Core: Item Models
    • Labels:
      None
    • Platform/s:
      All

      Description

      I tried to clarify the interest for a specific software extension by the discussion topic “Support for constructing QStandardItem objects from QVariant references?” to some degree.

      I propose to add constructors for the class “QStandardItem”.

      1. Passing parameters like they are used for the function “QStandardItem::setData”.
      2. Another possibility would be the data type “QMap<int,QVariant>”, wouldn't it?
      3. Would you like to support the initialisation by passing lists (or tuples) of numbers?

        Attachments

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

          Activity

            People

            Assignee:
            dfaure_kdab David Faure
            Reporter:
            elfring Markus Elfring
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes