This may sound weird ...but
Could anyone please give me a code which has a widget(a simple widget which draws a rectangle in a QHBox) and this widget should implement a DefaultContextMenu and could u please say what this "contextMenuEvent()" is and what are the options this DefaultContextMenu gives it is like "Close","Maximise","Minimise","Restore"
Thanks In Advance
Naveen


Reply With Quote
efaultContextMenu, which means the contextMenuEvent() handler is called. Other values are Qt::NoContextMenu, Qt::ActionsContextMenu, and Qt::CustomContextMenu. With Qt::CustomContextMenu, the signal customContextMenuRequested() is emitted.

Bookmarks