Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] QMenuBar problem
I'm using a QTableView and i put a QMenuBar in the last column but when I insert a QMenu, it's not displayed. I must click on a kind of double-array in order to get menus while I would like a menu like in a QMainWindow i.e all menu were displayed horizontally.
Please provide some code/images of your requirements so that we can understand what exactly is the problem. Are you using your own delegate or setIndexWidget().
I'm using the setIndexWidget() method and the cell displays a ">>" button in order to print the menu while I want the menu directly.
Try this hope it solves what you need.
@QMenu *menu = new QMenu(this);
Thanks you very much, it's exactly what I was expecting !
You are welcome!!!!!