Documentation inside qcreator
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.