<div dir="ltr">Hi Paolo,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 10:38 AM, Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi all.<br>
In Print composer, it is apparently impossible to choose icons from any directory but<br>
fo the first one on the list.<br></blockquote><div><br></div><div>Not sure what you mean exactly. Please see issue #7764 [0] for an explanation of how that combobox works (i.e. not as a filter). <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Furthermore, the interface is quite different from the icon selector from the<br>
Symbology, and this is confusing for the user.<br></blockquote><div><br></div><div>When looking to add a non-embedded widget for selecting SVG backgrounds for labels, I opted to extract Arun's GSoC project embedded symbology selector code to a standalone class, QgsSvgSelectorWidget [1].<span class=""></span> There is an issue [2] for using this to replace the one in Composer; however, there are several design decisions to be made/coded before that can happen:<br>
<br></div><div>* Refactor the class to be a more generic image selector, maybe QgsGraphicSelector or QgsImageSelector, with its construction defining a 'filter' for what type of images are to be browsed, e.g. all, .svg, .png|.jpg, etc. This is important for replacing the Composer selector, as it is for selecting both pixel- and vector-based images.<br>
<br></div><div>* Add functionality to selector to allow editing of the image search paths. This should allow editing of app- and project-level search paths, which should be adjusted to allow for both pixel- and vector-based images, not just SVGs as it is now.<br>
</div><div><br></div><div>* Optionally, if the set selector filter allows for multiple image types, add a filter combobox to the widget that allows for sub-filtering by allowable image types.<br></div><div><br></div><div>
* Optionally, once something like Arun's Resource Sharing tools/repository exists [3], the selector can be integrated to pull new symbols down, or possibly browse on-line ones.<br><br></div><div>* Optionally allow the widget to dynamically have two basic aspect ratio layouts, horizontal and vertical, for when embedding in a wider variety of parent layouts.<br>
</div><div><br></div><div>Once the class is fixed up, it can replace the embedded code in symbology and the selector in Composer, and offer a consistent selector to be used across the app and by plugin developers.<br><br>
</div><div>Any opinions on this would be greatly appreciated. While I can code this, I do not currently have time to do so. Anyone looking for a straightforward and very useful project, this is a good one.<br></div><div><br>
[0] <a href="http://hub.qgis.org/issues/7764">http://hub.qgis.org/issues/7764</a><br>[1] <a href="http://drive.dakotacarto.com/qgis/svg-selector.png">http://drive.dakotacarto.com/qgis/svg-selector.png</a> ,<br><a href="https://github.com/qgis/QGIS/blob/master/src/gui/symbology-ng/qgssvgselectorwidget.cpp">https://github.com/qgis/QGIS/blob/master/src/gui/symbology-ng/qgssvgselectorwidget.cpp</a><br>
[2] <a href="http://hub.qgis.org/issues/8257">http://hub.qgis.org/issues/8257</a><br>[3] <a href="https://google-melange.appspot.com/gsoc/proposal/review/google/gsoc2013/tecoholic/17001">https://google-melange.appspot.com/gsoc/proposal/review/google/gsoc2013/tecoholic/17001</a><br>
<br></div><div>Regards,<br><br></div><div>Larry<br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Finally, I could not find anywhere the nice set of north arrows we had (justa couple<br>
of poor wind roses.<br>
Am I missing something?<br>
All the best.<br>
- --<br>
Paolo Cavallini - Faunalia<br>
<a href="http://www.faunalia.eu" target="_blank">www.faunalia.eu</a><br>
Full contact details at <a href="http://www.faunalia.eu/pc" target="_blank">www.faunalia.eu/pc</a><br>
Nuovi corsi QGIS e PostGIS: <a href="http://www.faunalia.it/calendario" target="_blank">http://www.faunalia.it/calendario</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.14 (GNU/Linux)<br>
Comment: Using GnuPG with Icedove - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iEYEARECAAYFAlJFtI8ACgkQ/NedwLUzIr4zoQCgoaFs/kbOpeKOr9U47IdhiXwh<br>
0Y4An2W0chAgZ24q8TmQYt+2LH5TuBZN<br>
=bMNc<br>
-----END PGP SIGNATURE-----<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></div></div>