Add main menu recent files

Robert Helling helling at atdotde.de
Fri Feb 14 00:07:47 UTC 2014


On 14.02.2014, at 07:15, Dirk Hohndel <dirk at hohndel.org> wrote:

> I"m not sure I'm in love with the way this is done (in the File Menu)
> and in a way it seems a bit confusing together with the default file,
> but I'll let others play with it and speak up.

On Mac OS there “File” menu very often contains an “Open Recent” item that opens a sub-menu listing recent files (and an option to clear that list). So I second the placing there. 

A bit of googling produced 

https://developer.apple.com/library/mac/documentation/cocoa/reference/applicationkit/classes/NSDocumentController_Class/Reference/Reference.html

They have a class that handles opening new or existing documents and maintains a list of recent documents. I have no idea if that is interfaced with Qt at all. But another thing it does is that there is a system wide “Recent Items” list that separately contains programs and documents and is located in the Apple menu.

Best
Robert

-- 
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics
                      Scientific Coordinator
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik
                      Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
                      http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140214/ed9aa187/attachment.sig>


More information about the subsurface mailing list