Switching between .ui and .h/.cpp (and help)
I suspect this has been asked already, but I couldn't think of proper search keywords so here goes. I recently got started with the new Nokia version of Qt and one thing has been bothering me above all else with Creator.
How in damnation am I supposed to effortlessly switch between graphically editing the UI and editing source code?
Clicking on a .ui file in the open file list opens the UI editor while hiding the open file list and escape from the UI editor is only possible via the Esc key or mousing aaaallll the way to the upper right corner for the close-X. This means that any .ui files in the open file list are traps that, when clicked on, force me to abruptly change the way I was browsing through that list. I could double-click on the files in the full tree view, but single-clicking on them in the open file list is much easier.
Worse still, when I return from the UI editor via Esc or Close, all I get is the stupid XML view for the .ui with the warning-ish text "can only be edited in Designer", instead of the .h or .cpp I was working on moments ago. Plus, the "Design" button is disabled unless an .ui file is open as text.
Secondly, is there any way to have the built-in help open while editing code/UI at the same time, besides opening a browser for doc.qt.nokia.com? Qt Assistant is no longer a separate program, apparently.
1 Attachment(s)
Re: Switching between .ui and .h/.cpp (and help)
1. You can switch to the one of open files using mouse
2. I don't think this is yet possible in designer mode, it is possible in editor/code mode
Re: Switching between .ui and .h/.cpp (and help)
I had forgotten about that drop-down box, but it, too, is inferior to the Open Files List because instead of a single click you have to click, point, and click again. I mentioned the deficiencies in switching back and forth between code and .ui to a colleague and he agreed that this was a dreadful feature in Creator. I'd also much prefer a separate program for documentation, rather than a mere pane in the IDE.
Re: Switching between .ui and .h/.cpp (and help)
Ctrl+2 and Ctrl+3 select the Edit and Design modes respectively: no mouse required.
Ctrl-Tab can quickly cycle to another open source file (away from the UI XML, which I agree is largely pointless).
You can press F1 with the cursor over a keyword to open help side-by-side with the source. Ctrl-6 switches to the full-blown help view. Assistant is still a separate application if you wish to run it that way. A Start menu icon is not created by default: you have to choose one from the potentially many Qt versions you have installed in parallel and add the documentation to it.