Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
If i want to comment my code and make it possible to push F1 for reference. (like the Qt lib) How should I write that documentation?
You need to create QCH documentation (Qt Compiled Help) files, and then add them in Qt Creator's Preferences.
To create qch, you can use either the built-in qdoc, or external: Doxygen. Doxygen is recommended for all code that is not Qt itself.