Re: [Qgis-developer] Visualisation of relations

2016-11-01 Thread kimaidou
Hi all, Speaking about child tables, I would rather have them presented as table and not forms by default (or have an option to decide this for QGIS installation). Usually you only want to see the list of children for each relation, which is more compact, and show very fast if there is zero or

Re: [Qgis-developer] Visualisation of relations

2016-10-31 Thread Patrick Valsecchi
OK, I've created a PR for auto-detecting N-1 relations and pick the RelationReference widget for the foreign key fields. https://github.com/qgis/QGIS/pull/3699 For the deep relations UX problem, I really don't know. Do we have UX experts among the QGIS devs? Thanks. On Mon, Oct 31, 2016 at 1:51

Re: [Qgis-developer] Visualisation of relations

2016-10-31 Thread Matthias Kuhn
On 10/31/2016 01:26 PM, Patrick Valsecchi wrote: > Matthias, > > Hummm... I don't know about the tabs. Initially I was thinking it would > be a good idea, then I tried to imagine how it would look like for > linked layers within linked layers. We would have two choices: > > * Have QTabWidget

Re: [Qgis-developer] Visualisation of relations

2016-10-31 Thread Patrick Valsecchi
Matthias, Hummm... I don't know about the tabs. Initially I was thinking it would be a good idea, then I tried to imagine how it would look like for linked layers within linked layers. We would have two choices: - Have QTabWidget within QTabWidget: tabs within tabs is a UX nightmare -

Re: [Qgis-developer] Visualisation of relations

2016-10-31 Thread Matthias Kuhn
Hi Patrick, for the side that contains the foreign key, there is the "relation reference" widget which has a configuration option "show embedded form" (I haven't used it in years and a quick check on it didn't work, so maybe it needs fixing). Agreed, collapsed by default makes sense for huge

Re: [Qgis-developer] Visualisation of relations

2016-10-31 Thread Patrick Valsecchi
Hi Matthias, My screenshot shows only 1:N links. N:1 links are not supported. By N:1, I mean the relations from the side that contains the foreign key. If I open the form for the "appart" layer, it doesn't show the linked "maison". Yes, the collapsed state is remembered, but the default should

Re: [Qgis-developer] Visualisation of relations

2016-10-16 Thread Matthias Kuhn
Hi Patrick, Making forms and relations more usable is always welcome. What exactly are the problems you have with the current solution? I see that you mentioned the lack of the N:1 side which is available including add feature, add link, remove feature, remove link pretty much the way you

Re: [Qgis-developer] Visualisation of relations

2016-10-12 Thread Neumann, Andreas
Hi Patrick, Matthias Kuhn, the one who knows about this the best, is currently out of office / on holidays. I think he is back next week. I would probably wait for his review. Thanks and greetings, Andreas On 2016-10-12 09:48, Patrick Valsecchi wrote: > No answer. I think I'll move

Re: [Qgis-developer] Visualisation of relations

2016-10-12 Thread Patrick Valsecchi
No answer. I think I'll move forward with my proposal. Thanks. On Fri, Oct 7, 2016 at 9:27 AM, Patrick Valsecchi < patrick.valsec...@camptocamp.com> wrote: > Hi, > > I'm tasked with making QGIS a bit more usable with complex database > schemas having a lot of relations (up to hundreds of linked