User customizable menu and toolbar
What is the best approach to allow a user to modify part of the user interface of an application? Typically the user want to reconfigure toolbars and menu structures.
I have come up with two approces:
- Do everything programmatically.
- Store the menu and toolbars in a file. Let the user update the file by selecting actions from a list. Maybe the file can be a ui-file? Load the the menu and toolbars from the file when the application strarts.
I think the second option is better than the first. Is this the way to go or is there a better way?