WIP: Add presets for tool options
This patch adds a docker that can save tool options as presets. There are a couple of things that are up for discussion though:
Should this docker show the presets for all tools, or like it is done currently for the active tool, or for the active tool and the tools that can temporarily override the active tool? Someone has already indicated they want to quickly change the ctrl-click color picker settings while using the freehand tool, for instance
Which non-tool options should be saved as well? Currently it's the brush size, again because of a question from a user on twitter. But eraser mode might be a candidate. Maybe more, but should we then have a checkbox that says "also save opacity, flow, painting color etc.?
Currently the presets are in a simple list widget. People have asked to pin certain presets in an area so they are always visible. Good idea, or weird, and if good, how do we handle that? In a grid icon view with a shortened version of the preset name? Or still a list?
Shortcuts. I had the idea to make a shortcut to focus the docker, then have 1..0 select out of the first ten presets, but I'm not sure whether that's the best solution. I'm only ever going to click the preset with the stylus, in any case.