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

Make QPlaceAttribute Extendable

    XMLWordPrintable

Details

    Description

      The QPlaceAttribute class only has fields for label and text, where the text is simply a single string representation of the attribute. Ideally attributes should be of arbitrary complexity and should be extendable by third parties.

      This would be achievable by adding a key-value map field to QPlaceAttribute where third parties can add their own custom data. Similar to QVariant there could be an enum for “standard types”, something like QVariant::Type and QVariant::type(), and there could also be a function for “custom types”, something like QVariant::userType().

      Attachments

        Issue Links

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

          Activity

            People

              paangele Paolo Angelelli
              abcd abcd (closed Nokia identity) (Inactive)
              Harald Kjølberg Harald Kjølberg (Inactive)
              Eskil Abrahamsen Blomfeldt Eskil Abrahamsen Blomfeldt
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes