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

Switching from Design to Edit mode should open your last file in Edit mode not the ui file

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 2.5.2, Qt Creator 3.1.2
    • Editors, Widget Designer
    • None

      Currently when we open an ui file we are switching to Design mode. After switching back to Edit mode the ui file is displayed in the XML format.

      This is not the expected behavior, because when you open the ui file and Qt Creator switches to Design mode, you would think that the ui file can just be opened in this mode. And when you switch back to Edit mode, you want to edit your code again.

      Even more annoying is that you can't edit the ui file in Edit mode, so the file is just displayed without any functionality which should be in
      an Edit mode.

      This is my suggestion how we could change the behavior of the Qt Creator:

      You can open all your ui files from the Design Mode, with an own history and own projects view (maybe more space saving). If you click an ui file in the Edit mode projects view Qt Creator switches to the Design mode.

      In Design Mode could be a Button for showing the ui file in the XML format (Just if anyone is missing his XML view). If you are going back to the Edit mode your last opened File in this mode will be opened. Also there will be no ui file entries in the history of the Edit mode. If you want to go back to your last opened ui file you are just switching to Design mode.

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

            con Eike Ziller
            davschul David Schulz
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes