I couldn't do the thing with QMenu but I removed menubar and made a widget which looks like required layout.
qt file menu with vertical separator to make recent column
-
28-06-2022 - |
Вопрос
I am new to Qt and trying to make a file menu which should have two column one with File, Save, Save etc and next column that shows recent file. It is similar like microsoft word 2007 have the file menu. I haven't found and vertical separator in file menu of Qmainwindow. Is there any way to implement such layout with file menu?
Решение
Не связан с StackOverflow