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

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.5.0-rc1
    • Widget Designer
    • Ubuntu Linux 16.04 x64, Qt 5.9.1, QtCreator from 4.5 branch

      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.

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

            kleint Friedemann Kleint
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes