Could anybody give me some codes to illustrate the job?
I'm a freshman for Qt, so I really need you help.

Thanks a lot.