PDA

View Full Version : Display hint when move mouse to a button



baobui
11th October 2010, 11:26
Hello every body,

How can I display a "hint" when I move the mouse over a button, for example: "Click this button to open file".

Thank you very much

gboelter
11th October 2010, 11:54
How can I display a "hint" when I move the mouse over a button, for example: "Click this button to open file".

What about



QPushButton pushButton;
pushbutton.setToolTip( "Click this button to open file" );

baobui
20th October 2010, 21:14
@gboelter: Thanks