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

When switching from a Design mode to edit mode, non editable XML is shown. It would make more sense to switch to the appropriate CPP file

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.1.0-beta2
    • None
    • all of them

      When editing a QML file, switching between visual editing and source code editing is possible and actually makes sense. When editing a ui-file, switching from visual editing to sourcecode-editing does not make sense because it switches to a read only view of the XML-file. It would make more sense if creator would switch to the appropriate CPP-file. I know that actually creator cannot know in which CPP-file the actual implementation of the form takes place and whether such a file exist at all. But if creator would add such meta information when creating a Qt Designer Form class, it would know and I would manually give edit those information for fast switching between visual editing (of the ui file) to sourcecode editing (of the cpp file).

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

            kleint Friedemann Kleint
            axeljaeger Axel Jäger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes