Yes, but perhaps you should read some of the material in Qt Assistant before you continue
Address book tutorial
Layout Examples

You could get a hold of "C++ GUI Programming with Qt 4, 2nd Ed" by Blanchette and Summerfield. (Very little in Qt5 differs from the Qt4 examples. First Ed call be downloaded but differs more).

Something else you could do is build a *.ui file using Designer (outside your project), run it through uic and read the output. You can see how the Designer constructs the UI you designed (it just writes code for you).
Qt Code:
  1. C:\> designer test.ui
  2. C:\> uic test.ui > test.cpp
  3. C:\> notepad test.cpp
To copy to clipboard, switch view to plain text mode