Re: [Qgis-user] Lookig for a missing plugin... can you help me?

2015-06-28 Thread Luigi Pirelli
ok, is:

Data-Driven Input Mask

by  Bernhard Ströbl

https://github.com/bstroebl/DataDrivenInputMask/wiki

regards,
Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Elance: https://www.elance.com/s/edit/luigipirelli/
* GitHub: https://github.com/luipir
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* Mastering QGIS:
https://www.packtpub.com/application-development/mastering-qgis
**


On 28 June 2015 at 11:37, Luigi Pirelli  wrote:
> Hi
>
> I remember a plugin that was able to manage mapping/auto save field
> values of a QT form in a DB mantaining consistency.
>
> I can't find in plugin repository looking for it with many keywords
> (in the offial repo... but it can be hosted in other place)
>
> some can remember it's name and repo?
>
> regards,
>
> Luigi Pirelli
>
> **
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Elance: https://www.elance.com/s/edit/luigipirelli/
> * GitHub: https://github.com/luipir
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * Mastering QGIS:
> https://www.packtpub.com/application-development/mastering-qgis
> **
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Lookig for a missing plugin... can you help me?

2015-06-28 Thread Luigi Pirelli
Hi

I remember a plugin that was able to manage mapping/auto save field
values of a QT form in a DB mantaining consistency.

I can't find in plugin repository looking for it with many keywords
(in the offial repo... but it can be hosted in other place)

some can remember it's name and repo?

regards,

Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Elance: https://www.elance.com/s/edit/luigipirelli/
* GitHub: https://github.com/luipir
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* Mastering QGIS:
https://www.packtpub.com/application-development/mastering-qgis
**
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Default values in form

2015-06-28 Thread Matthias Kuhn
Hi Didier,

You can still create a feature request, just add a link to the QEP in
there so a reader is aware of it.

The general discussion about it is on the following page. I think you
will need a github account to comment (just create one if you don't have
one yet).

https://github.com/qgis/QGIS-Enhancement-Proposals/pull/13

On the top is a link "Files changed", if you go there you should be able
to comment on individual lines.

Cheers,
Matthias

On 06/28/2015 09:34 AM, didier peeters wrote:
> Hi Matthias,
>
> In a previous e-mail you said that you would prefer to have a global redesign 
> of the field definition and form tab(s) ; should I create this specific 
> feature request anyway or wouldn’t fit into your QEP instead ? And by the 
> way, I’m not sure about how to add comments to your QEP, I’m not familiar 
> with this tool.  
>
> Cheers,
> Didier
>
>> Le 26 juin 2015 à 16:26, Matthias Kuhn  a écrit :
>>
>> Hi Didier
>>
>> On 06/26/2015 12:36 PM, didier peeters wrote:
>>> Hello Mathias,
>>>
>>> this would be great ! 
>>> Additionally, this makes me think of another possible enhancement: when 
>>> displaying a picture in a form tab, it could be nice to hide the label and 
>>> path/url to the file, which is most of the time useless.  Do I need to do 
>>> anything more to make these suggestions ?
>> That can easily be added as a feature request.
>>
>> Cheers
>> Matthias

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Default values in form

2015-06-28 Thread didier peeters
Hi Andreas,

it would be nice to have these options:

by default the default values precede the last inserted values (otherwise 
defining default values would be somehow useless), except where specified 
otherwise in the field definitions.  So there would be an option in each field 
definition (a checkbox, next to the default value definition field) stating 
that the last non null inserted values do precede the default one.  

Cheers,
Didier


> Le 26 juin 2015 à 14:15, Andreas Neumann  a écrit :
> 
> Hi,
> 
> When doing anything with "default" values we also have to think about the 
> option we have which automatically fills in the values of the last inserted 
> record.
> 
> Which one has precedence? The default value or the value of the last record?
> 
> Also - I think we probably need a mixture of default values and values from 
> the last record - but I think the values of the last record are not 
> fine-grained enough - so we could tell QGIS to use the values from the last 
> record for some columns but for other columns use the default value.
> 
> We have to think about both approaches and need a collaboration of both, in 
> my opinion.
> 
> Andreas
> 
> On 26.06.2015 12:14, didier peeters wrote:
>> Thanks,
>> 
>> I’ll surely take a look at your plugin, and open a ticket if necessary.
>> 
>> @Stefan : I had seen that post by Nathan Woodrow, but was hoping for 
>> something ‘lighter’ …
>> 
>> Didier
>> 
>> 
>>> Le 26 juin 2015 à 11:32, Bernhard Ströbl  a écrit 
>>> :
>>> 
>>> Hi,
>>> 
>>> if you define the values as default in PostgreSQL and use my :) plugin 
>>> DataDrivenInputMask [1] these values are inserted in the mask that is 
>>> created by the plugin in QGIS. Thus for fields with defaults you cannot 
>>> insert NULL vallues (but that's why you define a default).
>>> 
>>> Bernhard
>>> 
>>> http://plugins.qgis.org/plugins/DataDrivenInputMask/
>>> 
>>> Am 26.06.2015 um 10:08 schrieb didier peeters:
 Hello,
 
 Simple question : is there a way to set a default value for an attribute 
 in QGis ?
 
 I have Postgis layers in QGis in which I’m inserting or updating data, and 
 I would like that some fields would be filled automatically unless I fill 
 them myself.  Well that’s the definition of a default value, and I don’t 
 think that using layers stored in Postgis would make any difference.
 
 Thanks
 Didier
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 
>>> 
>>> 
>>> __ Information from ESET Mail Security, version of virus signature 
>>> database 11847 (20150626) __
>>> 
>>> The message was checked by ESET Mail Security.
>>> http://www.eset.com
>>> 
>>> 
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Didier Peeters
>> Institut de Gestion de l'Environnement et d'Aménagement du Territoire (IGEAT)
>> Université Libre de Bruxelles (ULB)
>> CP130/03
>> av. F. D. Roosevelt 50
>> B-1050 Bruxelles
>> 
>> Tél : +32-2-650 68 17
>> 
>> 
>> 
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Default values in form

2015-06-28 Thread didier peeters
Hi Matthias,

In a previous e-mail you said that you would prefer to have a global redesign 
of the field definition and form tab(s) ; should I create this specific feature 
request anyway or wouldn’t fit into your QEP instead ? And by the way, I’m not 
sure about how to add comments to your QEP, I’m not familiar with this tool.  

Cheers,
Didier

> Le 26 juin 2015 à 16:26, Matthias Kuhn  a écrit :
> 
> Hi Didier
> 
> On 06/26/2015 12:36 PM, didier peeters wrote:
>> Hello Mathias,
>> 
>> this would be great ! 
>> Additionally, this makes me think of another possible enhancement: when 
>> displaying a picture in a form tab, it could be nice to hide the label and 
>> path/url to the file, which is most of the time useless.  Do I need to do 
>> anything more to make these suggestions ?
> That can easily be added as a feature request.
> 
> Cheers
> Matthias

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user