create painter,toolbar

finish basic painting function
finish "change line width" function
finish "change line color" function
finish  "reset painter" function