PDA

View Full Version : Menu on pressed



Kaluss
20th December 2015, 22:30
Hi all,
is there maybe a built-in functionality in Qt which provides "on-press menu".
I know, what is "on-press menu?":)
It's something like we can found on some virtual keyboards when for e.g. you press and keep some button You will se menu with selection of additional characters.

Does anybody heard abount something like that?

I would be gratefull for any hints.

Best regards,
Tomek

anda_skoa
20th December 2015, 22:45
If you have a button, as in QPushButton or QToolButton, you can set a menu on it that gets activated on press-and-hold.

Cheers,
_