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

QMetaProperty should have QPropertyInfo (similar to QClassInfo)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.7.1
    • Core: Object Model
    • None

    Description

      Hi,

      In order to make applications aware of its object's structures, Qt should add a Q_PROPERTYINFO macro, so that it could be possible to add user-specific meta info to a property.

      For instance:

      Q_PROPERTY(QString firstName READ firstName WRITE setFirstName USER true)
      Q_PROPERTYINFO("firstName", "title", "First Name")
      Q_PROPERTYINFO("firstName", "description", "Contact's first name.")
      Q_PROPERTYINFO("firstName", "custom", "123456789")

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            ivan.todorovich Iván Todorovich
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes