define widget
Merge pull request #2 from ustbhuangyi/master

define widget