some useful code in my work,including tools, wigets ,utils...