|
From: Mojca M. <moj...@gm...> - 2012-01-09 21:26:56
|
2012/1/9 Jérôme Lodewyck wrote: >> > Maybe we could make it a user-settable preference in the tool widget. >> > The wxt terminal maintains a preference file ~/.gnuplot-wxt so that the >> > widget settings are persistent. I suppose the qt terminal could do the >> > same. >> Where does Qt terminal store background color? > > This is managed by the QSettings model in Qt. The location and format of the > settings depends on the system and is chosen by the Qt library. It is hidden > from the user and programmer. It is a config file under linux > (~/.config/gnuplot/qtterminal.conf), in the registry on windows, and who knows > where in OS X... Thank you. Now I have found it. ~/Library/Preferences/gnuplot_qt.plist It should have had a different name (for the sake of cleanliness) though - all others that I have in that folder have something like net.sourceforge.aquaterm.plist, hu.mplayerhq.mplayerosx.extended.plist, org.tug.TeXworks.plist - also a Qt program, ... but that is not too important at the moment. I don't know how Qt decides about the filename. But I think that this would be the right place for storing default window size and font face/size. Mojca |