|
From: Philipp K. J. <ja...@ie...> - 2014-11-07 01:52:03
|
[snip] > > I've placed a patch here: > > https://sourceforge.net/p/gnuplot/patches/704/ > > Give that a try. All you need to do is put your code for saving as > PNG or whatnot in the location provided in the new switch statement. > You may also want to tweak things, e.g., change the filters to > whatever files you can save as. > > This is slightly different than the way Qt behaves as far as picking > a file format. It's done via the file dialog's filter feature. It > makes for a more conventional method of choosing, and in fact makes > for easier programming versus putting a dropdown menu associated with > the toolbar button. I suggest adding your code and moving into the > repository then let people compare/experiment. If people prefer the > dropdown menu, I can give that a try. I finally got around to rebuilding from the tip (which now includes this patch), and I think this is fantastic! (I also like the way the format is chosen - just as in about every other application out there.) Thanks, Daniel! I think it will really help, in particular for casual use(r)s. Best, Ph. |