On Mon, Jul 16, 2012 at 5:11 AM, Denis Rouzaud <denis.rouz...@gmail.com> wrote: > Hi, > > I think this is pretty useful! > In parallel to templates, how about adding a button in the project settings, > to make these settings as global default settings?
That's the idea of having a "Default template", when you create a new project it loads that project file. I saw it as the simplest way to treat user defaults, without having to mess too much with the back-end. However, I see now that it's probably not the best way to deal with user defaults. Should these user defaults be saved to user configuration (QGis.conf), or a special "Default.qgs" file in the.qgis directory, or in a user-defined template file? How would one proceed than, if for example, global defaults are overridden by the user, and a specific template is loaded? First load the global defaults, then the user defaults, then the specific template? cheers Etienne > > Greetings, > > Denis > > > On 07/14/2012 11:10 PM, Etienne Tourigny wrote: > > Hi all, > > There are 2 interrelated topics that I have been thinking about and > have come up with a solution, and I would like to get other's feedback > before proceeding further. > > 1) Default symbol styles are not user configurable - for example new > polygons are always filled with a random color, new point symbols are > always small red dots, etc. > > I see 2 ways to change this - either global or project based. I think > project based is better because defaults in a given project are > probably not best for all projects. > > So I have implemented the interface and back-end to select default > symbology (point, line, polygon) and color ramps for a project, and > all new symbols have identical properties. > See attached screenshot for an idea. Should probably also add options > for rasters (i.e. what's already in the prefs, plus default renderer > style). > > 2) New project defaults may not be ideal for all users - see > background discussion below which deals with default composer > templates. > > A solution to this is to have a default project (template) which is > loaded when a new project is created. My solution allows to select the > default project template and also adds a UI to load a "blank" project. > I realize this may cause some problems, but it's nicer than to have to > manually load a project "template" after creating a new project (or > opening qgis for the first time). > > This, combined with the symbology defaults, means that a user can > define his personal symbology defaults and have them always loaded > when a new project is created. > > Any ideas/comments? > > Etienne > > Background discussion: > http://lists.osgeo.org/pipermail/qgis-user/2012-June/017443.html > > My branch which implements solutions for these 2 issues: > https://github.com/etiennesky/Quantum-GIS/tree/symbology-default > > > > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer > > > _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer