By default the ui file is hidden as it is a generated file and you shouldn't make changes to that file. The reason for this is each time you build/compile the ui file is regenerated to reflect any changes you might have made, so any changes that you made to the file will be lost. If you really want to see the file then in the creator file menu (right under the word Projects) is a directory tree with your files. Above this is and next to the Project frame is a frame with what looks like a funnel. On the arrow next to the right of the funnel thing (filter tree), click on this and uncheck show generated files. The book is a bit difficult to follow, it starts out with code generated forms and widgets and later on briefly describes QT Designer. I think it does this because the Designer part of creator is pretty straight forward and some people like hand coding their forms so it starts there. (one thing to remember, QT Creator is a program that contains several programs so when someone(or the book) is talking about Designer, that is the Designer part of Creator.) Read the book and things might make a little more sense as you get further in.
The header or cpp file will not be generated, there will be a file that is generated called ui_yourProjectName. This contains the file to generate the "form" that you created in Designer. QT will integrate this into your program automatically. Your .h and .cpp file will not change.Sorry, I didn't quite get it. Do you mean that by "run qmake" or "build all", uic will be invoked automatically? When I did that, I didn't see the cpp or h file changed according to the ui file...
I hope this helps!
Good luck!
Bookmarks