wow…. my views are now complete. it is accepting all the necessary inputs (eg length, radius),  the spacing between the three views and starting points (x,y) from the user. it takes a little more attention to fetching these values from the user. Now we are shifting towards the layering concept i.e  we have to draw each view in a different layer. I know that for this these functions are useful:-

virtual void setLayer(QString name) = 0;
virtual QString getCurrentLayer() = 0;

but dont know how to use these functions.