0

Qt - HELP with button hover with mouse.

I want make something like INFO BOX about button, when user will hover it with mouse (hover like in HTML/CSS).

Something like this in Qt Creator when we HOVER some reference.

Artur Lodklif
  • 83
  • 1
  • 9

1 Answers1

0

you can use QWidget::setToolTip(const QString&), i.e.

QToolButton* button = new QToolButton(this);
button->setToopTip("Button");
Joseph Ireland
  • 2,465
  • 13
  • 21