<div dir="ltr">Hi !<div><br></div><div>Technically it's easy to store the queries globally (I did the implementation of the store queries feature some time ago, and guess it is around 1 hour work)</div><div><br></div><div>But I think we have to leave the possibility to store them in the project file as well, as some queries are really project-specific (actually all of them in my use cases).</div><div>Probably the best would be to allow both. There would be two store buttons, and the two categories could be listed in the same drop down box with a line separator.</div><div><br></div><div>Bests,</div><div><br></div><div>Olivier</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-03 13:43 GMT+00:00 Blumentrath, Stefan <span dir="ltr"><<a href="mailto:Stefan.Blumentrath@nina.no" target="_blank">Stefan.Blumentrath@nina.no</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="NO-BOK" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Dear devs,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">QGIS is an excellent frontend to PostGIS with lots of functionality.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">One thing I was wondering is, why does dbManager store queries in the project file and not in e.g. the QGIS user profile (.qgis2) or the registry? Is that on purpose?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I was planning to deploy some default queries which might be used in several different projects or by different people via a batch file I already use for import of QGIS settings on new installations (along with PostGIS
 connections and so on).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I see that I can add my queries to project templates, but that would mean I have to maintain them at (at least) at three different places (in each project). For me it would be more convenient to have them separated from
 the projects. Could that be an option for the future? BTW. The Combo-box could be a bit longer, so that names for the queries are more readable…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Cheers<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span lang="EN-US">Stefan  <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</font></span></div>
</div>

<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div>