You might want to have a look at nmapfe, the graphical interface to nmap. You can specify any options you like, and the full nmap command is shown at the bottom.
Anyway, to scan all ports, you need to use the '-p-' option, e.g.
Code:
nmap -sT -O -p- 127.0.0.1
Dave