我一般都是自己新建一个按钮类 继承自QPushButton 然后重写pressEvent和releaseEvent在pressEvent中 启动定时器 releaseEvent中 判断是否超时
能告诉我怎么弄么?谢谢