skelton code for qtspcview