//事件捕获code bool BitcoinGUI::eventFilter(QObject *object, QEvent *event) { //捕获状态提示事件 if (event->type() == QEvent::StatusTip) { //如果当前使用状态栏显示其他内容,请阻止从setstatustip()添加文本。 if (progressBarLabel->isVisible() || progressBar->isVisible()) return true; } return QMainWindow::eventFilter(object, event); }
点赞 评论

相关推荐

菜菜狗🐶:双非之光
找工作,你会甘心进小厂还...
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务