[Qt-interest] Extending the context menu of a QDoubleSpinBox

Emmanuel Mayssat emayssat at gmail.com
Fri Jan 13 19:13:15 CET 2012


Hello,

I would like to extend the menu of q QDoubleSpinBox.
I can modify the contextMenuEvent and trigger my custom menu.
But I would like my custom menu to be appended to the standard menu.

With some other widget , I believe it is possible to use
the createStandardContextMenu method, but that method doesn't seem to
exist for QDoubleSpinBox.....

Any idea?

Thank,
--
E



More information about the Qt-interest-old mailing list