单击按钮时如何在qt中显示balloontip [英] How to display balloontip in qt when click on the button

查看:391
本文介绍了单击按钮时如何在qt中显示balloontip的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有些身体帮助我找出这个....在那个提示我需要放一些像标签和图像的数据

some body help me to find out this....In that tip i need put some data like labels and images

推荐答案

我认为你没有当你点击按钮时想要工具提示,当你将鼠标悬停在按钮上时,你不想要它吗?如果是这样,只需在按钮上使用setToolTip(我的提示)。如果没有,那么你可能想要这是什么



http://qt-project.org/doc/qt-5/qwhatsthis.html [ ^ ]
I think that you do not want the tool tip when you click on the button, don't you want it when you hover over the button? If so, just use setToolTip("my tip") on the button. If not, then you probably want "what's this"

http://qt-project.org/doc/qt-5/qwhatsthis.html[^]


这篇关于单击按钮时如何在qt中显示balloontip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆