在widget的button里,分别对press,release和click进行打印测试。测试结果: 鼠标点中button时会触发press; 鼠标松开时,无论光标还在不在button上,都会触发release; 鼠标点击button并且松开时光标还在该button上,才会触发click。