为什么这不起作用,或者是任何简单的替代方案: label= QLabel("<b>Name</b>: ABC | <b>Contact</b>: <a style='text-decoration:none;color:black'href='mailto:abc@gmail.com' title='this is a link to email'>abc@gmail.com</a>")la
我现在有一个QCustomPlot,我想在这个组件的鼠标上显示一个QtoolTip。这是我正在使用的东西。这是我的插槽。void CustomPlot::DisplayPlotValue(QMouseEvent* val) QToolTip::showText(val->pos(), "A tool tip