Вопрос

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?

Это было полезно?

Решение

I couldn't do the thing with QMenu but I removed menubar and made a widget which looks like required layout.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top