nimqt
nimqt copied to clipboard
menu tips message
Good morning, It is always me who disturb. As I said in the other, these days, I am playing with the menus, but I think I have found a small problem:
....
menuHelp.makeMenu:
- "&Aiuto":
setToolTip(Q "help1")
setStatusTip(Q "help2")
setIcon(newQIcon(Q "Icons/help.png"))
handleTriggered():
finestra.static_QMessageBox_aboutQt()
As you can see from the piece of code above I have entered the "setToolTip" and "setStatusTip" commands, the compilation is carried out correctly, but the comments under the menu item does not appear! I am wrong I, but does not seem to look at the proc. Or do you do not work?
Thanks and sorry for the continuous disturbance from Martin A.
The solution can be found here: https://stackoverflow.com/questions/21725119/why-wont-qtooltips-appear-on-qactions-within-a-qmenu
You need to also set setToolTipsVisible to true:
menuHelp.setToolTipsVisible(true).
Does that work for you then?