C++ (Qt)bool MyEditor::event(QEvent* e){ if (e->type() == QEvent::ToolTip) { e->accept(); return true; } return QWidget::event(e);}