-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 2.5.2, Qt Creator 3.1.2
-
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.
- replaces
-
QTCREATORBUG-7696 Don't show UI Xml Code when Press ESC from UI Designer
-
- Closed
-
-
QTCREATORBUG-3041 Switching from Designer to Edit mode should display previous source file
-
- Closed
-