Re: [QGIS-Developer] "Actions" menu in feature forms

2018-05-17 Thread Luca Lanteri
if you set an action in layer properties you will find into the action menu Il Gio 17 Mag 2018, 6:43 PM Alessandro Pasotti ha scritto: > In current master there is an empty "Actions" menu in the forms. > > What is it? > > -- > Alessandro Pasotti > w3: www.itopen.it >

Re: [Qgis-developer] problem with ON INSERT TO ... DO INSTEAD postgres rules

2017-01-24 Thread Luca Lanteri
! Luca 2017-01-23 18:45 GMT+01:00 Luca Lanteri <lklant...@gmail.com>: > Hi Matthias, > > thanks for your answer. Sorry but I missed your previous mail. > Now I've seen that in your example you used TRIGGERS to update your data, > instead in my case I use view RULES. > I t

Re: [Qgis-developer] problem with ON INSERT TO ... DO INSTEAD postgres rules

2017-01-23 Thread Luca Lanteri
he end we will need to specify this in > some often-used code (e.g. add feature form) and in the end one will > still be required to update all views and we have some half-baked > pointless workaround code inside QGIS. > > Hope that helps for you! > Matthias > > On 01/23/2017 0

[Qgis-developer] problem with ON INSERT TO ... DO INSTEAD postgres rules

2017-01-23 Thread Luca Lanteri
Hi to all, after a short disscussion in qgis user list I've opened this ticket [0], because starting from QGIS 2.16 I can't insert new feature in postgres views using rules. When I try to insert a new feature I have this error [1]. All works fine with QGIS 2.14. The problem happens only with

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-10-08 Thread Luca Lanteri
I've encountered the same problem when i try to split some polygons. I don't really understand what was the problem, just some hint: - it occours only on windows. The same shapefile works fine on Linux. - it also affects qgis 2.14 - is not connected with topology error. The problem remain also

[Qgis-developer] Fwd: qgis 2.12 problemi di snap

2016-02-08 Thread Luca Lanteri
Hi, I noticed a strange behavior using snap feature with qis 2.12. I try to describe it: - Edit a layer with active snap on a second layer. - move polygon vertex. - sometimes new points are added to another polygon in the editing layer, sometimes where I move the vertex (as you can see in [0],

Re: [Qgis-developer] [Qgis-user] QGIS - value relation widget

2015-10-02 Thread Luca Lanteri
it. All the best Luca 2015-10-01 23:53 GMT+02:00 Luca Lanteri <mesca...@gmail.com>: > Hi, > > now I'm already using the python logic but my code is terrible and I have > a lot of crash problem. > Now that I using your example all is easier and seem to worsk fine. > >

[Qgis-developer] QGSrelationeditorwidget in custom form

2015-09-23 Thread Luca Lanteri
Hi, I'm using the QGSrelationeditorwidget in a custom form with qtcreator. It works very well (very powerful feature !) but I have some problem: The first is that I can't fit my subform due to the large amount of data present inside of it. I wondering if it were possible to set the width of the

[Qgis-developer] add toogle editing into custom form

2015-02-16 Thread Luca Lanteri
Hi, excuse me for the very very newby question. I want to add a button in my custom form in order to toogle the editing status of a layer. I try to navigate the qgis api but I can't understand the way to stop editing and save/reject modify. I try to insert a code like this [0] (obviously the else

Re: [Qgis-developer] [Qgis-user] Poor performance with large projects

2015-02-06 Thread Luca Lanteri
I can confirm this issue. I've the same problem when work with my complex projects. I'm not a developer so I can't propose a solution but I'm available for testing. Luca 2015-02-06 9:52 GMT+01:00 Sam Ingarfield sjfingarfi...@gmail.com: Hi Everyone, I have been suffering from *very* poor

Re: [Qgis-developer] python code in form

2015-01-07 Thread Luca Lanteri
Hi Matthias, this is exactly what I need! many thanks Luca 2015-01-06 11:59 GMT+01:00 Matthias Kuhn matth...@opengis.ch: Hi Luca, There was a *DEBUGMODE* attribute introduced some time ago, that can be set on the python form module. If it is set to True, the changes should be reloaded

Re: [Qgis-developer] python code in form

2015-01-05 Thread Luca Lanteri
a lot of (database) intelligence in the form and can be customized to hold even more. Maybe you do not need to customize QGIS' forms any more. Bernhard [1] http://plugins.qgis.org/plugins/DataDrivenInputMask/ Am 04.01.2015 22:39, schrieb Luca Lanteri: Hi, I'm using the init python function

[Qgis-developer] python code in form

2015-01-04 Thread Luca Lanteri
Hi, I'm using the init python function in order to add python code into my QGIS forms. This is a great function because I can add intelligence to my form without write a plugin, but I still have some problems: - I want to store qml and .ui file directly into Postgres so that when my users load a

Re: [Qgis-developer] feature cloned when using python init function in forms

2014-07-22 Thread Luca Lanteri
regards, Matthias [1] http://hub.qgis.org/issues/10862 On Mon 21 Jul 2014 11:07:59 PM CEST, Luca Lanteri wrote: Hi to all, moving to qgis 2.4 I noticed a strange behaviour: if I define a python init function for a form in Layer properties - Field menu every time that I insert a new feature

[Qgis-developer] feature cloned when using python init function in forms

2014-07-21 Thread Luca Lanteri
Hi to all, moving to qgis 2.4 I noticed a strange behaviour: if I define a python init function for a form in Layer properties - Field menu every time that I insert a new feature this is inserted twice. Anyone can confirm this behaviour ? It's a new bug of the 2.4 ? If I use qgis 2.0 all works

Re: [Qgis-developer] master slow reading rasters?

2014-03-22 Thread Luca Lanteri
I had the same problem on a old version od qgis using large raster with rotation parameter into the tfw file. May be the same issue? Il 21/mar/2014 09:30 Paolo Cavallini cavall...@faunalia.it ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 20/03/2014 18:28, Giovanni Manghi ha

[Qgis-developer] point displacement style

2014-01-31 Thread Luca Lanteri
Hi to all, I'm using the point diplacement style. I noticed that it doesn't use the new label engine for labelling the diplaced simbol, so the collision engine doesnt' work. There's in plain to migrate it to the new label engine? It could be useful if I open a ticket ? I also have some

Re: [Qgis-developer] point displacement style

2014-01-31 Thread Luca Lanteri
Hi Andreas, thanks for your prompt reply ! I start to use this useful function for a project ant it resolve to me a lot of problem. 2014-01-31 Andreas Neumann a.neum...@carto.net: Hi Luca, I can't help with the labeling. At the time the point displacement renderer was developed (about 5

[Qgis-developer] Open custom form from another form

2014-01-14 Thread Luca Lanteri
Hi to all, I need a help from a python guru. I'm trying to move my first steps with pyqgis. I've got two qgis layer with a 1 to many relation. I create a custom form for the parent layer with a QTableWidget that contain the primary key of the child layer. Now I want to open another custom form

Re: [Qgis-developer] Open custom form from another form

2014-01-14 Thread Luca Lanteri
understand properly, you're trying to do something which has been recently added to QGIS (it's in the master version), it's 1:n relations. See here for more info: http://blog.vitu.ch/10112013-1201/qgis-relations Cheers, Denis On 14. 01. 14 16:50, Luca Lanteri wrote: Hi to all, I need

Re: [Qgis-developer] Open custom form from another form

2014-01-14 Thread Luca Lanteri
://github.com/qgis/QGIS/commit/08b43aadd19414d267f86082f7d865f3abc179d1 On 14. 01. 14 17:09, Luca Lanteri wrote: Hi denis, thanks a lot for the tip,I'll try it immediately. I know the brand new 1 to many feature present in qgis 2.1 and it's gorgeous, but as I know it works only with autogenerate

Re: [Qgis-developer] problem with forms and python init

2014-01-07 Thread Luca Lanteri
with linux on my laptop. Anyway I resolve the problem whit Qgis 2.0 using your tip of QgsFeatureRequest with NoGeometry flag, so the mail is just to keep track of the problem. thanks again. Luca 2013/12/21 Luca Lanteri mesca...@gmail.com you are right, the code now works fine. It was just my fault

Re: [Qgis-developer] problem with forms and python init function

2013-12-20 Thread Luca Lanteri
. You will have to add more smarts to that if you need more logic. If you are in your initFunction you already have the layer: def init(dialog, feature, layer): for feature in layer.getFeatures(): . Nathan On Fri, Dec 20, 2013 at 10:03 PM, Luca Lanteri mesca...@gmail.com wrote

Re: [Qgis-developer] problem with forms and python init

2013-12-20 Thread Luca Lanteri
you are right, the code now works fine. It was just my fault due to to the fact that I'm trying to take ones first steps with pygis ! thanks for the support and sorry for the noise. Btw I also resolve my second problem described in the first mail. thanks Luca 2013/12/21 Enzo Ciarmoli

Re: [Qgis-developer] Open a form of a linked table

2013-06-05 Thread Luca Lanteri
Hi Andreas, which are the difference from the standard editing forms ? are there some new features ? The first useful thing I saw is that I can copy the attribute without go in start editing mode. thanks 2013/6/5 Bernhard Ströbl bernhard.stro...@jena.de Andreas, you can try my new plugin

Re: [Qgis-developer] adding symbols

2013-06-03 Thread Luca Lanteri
We have produced a complete set of geological symbols [0] that follow the american FDCG standard and the Italian CARG/ISPRA standard. It would be nice to add them to the future repository. [0] https://code.google.com/p/gissymbology/downloads/list 2013/6/3 Andreas Neumann a.neum...@carto.net:

Re: [Qgis-developer] serious regression out of new vector api needs attention prior to 2.0

2013-04-26 Thread Luca Lanteri
It's a known and very annoying bug. Issue was already reported in: http://hub.qgis.org/issues/7321 http://hub.qgis.org/issues/7472 2013/4/23 Mathieu Pellerin nirvn.a...@gmail.com Greetings, I've filed an issue over the weekend which IMO is a really serious regression which shouldn't be

Re: [Qgis-developer] Print composer legend group removal problem

2013-03-28 Thread Luca Lanteri
Yes, I confirm the problem with Win7 QGIS 1.9 (93ade1f) did you have already open a ticket ? 2013/3/28 Ramon Andiñach cust...@westnet.com.au: Hi, Today I needed to remove a subgroup of items from a legend in a print composer. I selected the layer title from the list, clicked the minus