<div dir="ltr">the work I have is a dialog in core, in src/gui folder. It is opened via a new menu item in the Settings menu. Preliminary support for custom settings and description. Perhaps both could be merged into a single gui class which would be available to core and plugins?<div>
<br></div><div>code and screenshot in this pull request:</div><div><br></div><div><a href="https://github.com/qgis/Quantum-GIS/pull/878">https://github.com/qgis/Quantum-GIS/pull/878</a><br><div><br></div><div><br></div></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 10:14 AM, Victor Olaya <span dir="ltr"><<a href="mailto:volayaf@gmail.com" target="_blank">volayaf@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So it seems that at least two people had worked on this previously...<br>
I am glad that I asked :-)<br>
<br>
Let's see if we can put all that together and make it more visible, so<br>
people can use it easily<br>
<br>
Cheers<br>
Victor<br>
<br>
<br>
2013/9/5 Denis Rouzaud <<a href="mailto:denis.rouzaud@gmail.com">denis.rouzaud@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> I have made some publicity before for a library which handles plugin<br>
> settings.<br>
> <a href="http://3nids.github.io/qgissettingmanager/" target="_blank">http://3nids.github.io/qgissettingmanager/</a><br>
><br>
> Basically, the idea is that it you create once the settings somewhere in<br>
> your plugin and then it handles type validation, defaut values, etc. The<br>
> most interesting part is that you have a SettingDialog class, which<br>
> automatically read/write widgets if you name them accordingly to the<br>
> settings (it handles several widgets for all the different types of<br>
> settings).<br>
><br>
> This small lib is very time saving for the few plugins I have.<br>
><br>
> Maybe an idea would be to translate this to a QgsPluginSetting class which<br>
> would then list all the settings to be edited in the main plugin setting<br>
> window.<br>
><br>
> Cheers,<br>
><br>
> Denis<br>
><br>
><br>
><br>
><br>
><br>
> On 09/05/2013 02:47 PM, Etienne Tourigny wrote:<br>
><br>
> I have implemented something like this some time ago, based on a gui from QT<br>
> - Settings Editor.<br>
><br>
> I am not sure if I never commited it or if someone removed it.<br>
><br>
> I will try to find the code and submit a pull request.<br>
><br>
> Etienne<br>
><br>
><br>
> On Thu, Sep 5, 2013 at 5:12 AM, Victor Olaya <<a href="mailto:volayaf@gmail.com">volayaf@gmail.com</a>> wrote:<br>
>><br>
>> The idea is to have that common place for all settings. The bad thing<br>
>> that I see (and some people have told me), is that it might be<br>
>> difficult to find for a user that searches for a configuration panel<br>
>> for a given plugin, since he might look for it in the menu of that<br>
>> plugin. A solution to that would be to make it easy to call the<br>
>> settigns dialog, but open in the tab (or panel, or whatever),<br>
>> corresponding to a given plugin. So there would be a "plugin options"<br>
>> menu, with all options, but a plugin author could add a shortcut to<br>
>> that and add a "setting of my plugin" menu entry which would go<br>
>> straight to those settings.<br>
>><br>
>> The thing is to avoid developers creating their own panels and dialogs<br>
>> for settings, which is time consuming and each one looks differently.<br>
>><br>
>> I would suggest a design similar to the eclipse one, with a tree in<br>
>> the left hand side where you have all plugins, and once you select<br>
>> one, you see all its parameters in the right-hand side panel.<br>
>><br>
>> If anyone is interested, we can discuss this in the HF. It looks to me<br>
>> like a nice thing to work on, and we can also adapt some existing<br>
>> plugins to use it, once it is done.<br>
>><br>
>> cheers<br>
>> Víctor<br>
>><br>
>><br>
>><br>
>> 2013/9/5 Matthias Kuhn <<a href="mailto:matthias.kuhn@gmx.ch">matthias.kuhn@gmx.ch</a>>:<br>
>> > Hi,<br>
>> ><br>
>> > Other applications have unified setting centers like firefox when you<br>
>> > enter about:config in the URL bar. But this is in addition to the<br>
>> > settings dialog(s) which is/are still offered. Are you thinking about<br>
>> > something like this? A simple config value editor, like regedit?<br>
>> ><br>
>> > Or is the aim of this project a unified config dialog, where plugins<br>
>> > register their own tab (or list entry or whatsoever)? In this case,<br>
>> > would it be a new dialog "Plugin Options" which would act as container<br>
>> > for all options? Or opening up the "Options" dialog for registering<br>
>> > additional tabs? IMO the first one has the drawback of brandmarking<br>
>> > plugins as 3rd-party, not fully integrated, while the second one has<br>
>> > the drawback/risk of cluttering this dialog.<br>
>> ><br>
>> > Talking about this, I recently did a similar thing for the vector layer<br>
>> > properties (add the possibility to add a new tab for plugins. POC<br>
>> > implemented in form of layer specific globe settings, not yet merged)<br>
>> ><br>
>> > Cheers<br>
>> > Matthias<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>
><br>
><br>
><br>
><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>
><br>
><br>
</div></div></blockquote></div><br></div>