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

QWizard::registerField use NOTIFY feature of properties

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P5: Not important
    • None
    • None
    • None

    Description

      If you have a property like this:

      Q_PROPERTY(QStringList files READ getFiles WRITE setFiles NOTIFY filesChanged)
      

      You still have to connect NOTIFY feature manually, by e.g.

      registerField("files*", m_ui->fileListWidget, "files", SIGNAL(filesChanged()));
      

      But I don't see any reason, why qt couldn't select automatically the signal, so it is not anymore necessary to mention it in signature.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            EliteScience Heiko Thiel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes