سؤال

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