Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19141

Signal QDesignerIntegration::objectNameChanged is emitted on every key press in Property Editor

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.5.0-rc1
    • Fix Version/s: None
    • Component/s: Widget Designer
    • Labels:
      None
    • Environment:

      Ubuntu Linux 16.04 x64, Qt 5.9.1, QtCreator from 4.5 branch

    • Technical Risk:
      Normal

      Description

      There is already a signal:

      void objectNameChanged(QDesignerFormWindowInterface *formWindow, 
                             QObject *object, 
                             const QString &newName, const QString &oldName);

      but unfortunately this one is emitted every time a character in the Property Editor is typed/removed.

      For triggering a rename usages, a similar signal would be needed, which is emitted after Enter is pressed.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                kleint Friedemann Kleint
                Reporter:
                aha_1980 André Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes