Re: [Qgis-user] qgsRelationReferenceWidget

2016-09-20 Thread Tyler Veinot
I can do that Matthias, probably wont be until around noon AST.
Tyler

On Tue, Sep 20, 2016 at 8:26 AM, Matthias Kuhn  wrote:

> Hi Tyler,
>
> The message is not related to virtual fields.
>
> Can you open an issue report and specify exactly how to reproduce the
> issue?
>
> Thank you
> Matthias
>
> On 09/20/2016 01:13 PM, Tyler Veinot wrote:
> > I don't know what I am doing wrong here, I set this up multiple times
> > using every different relationship I have. I even rebuilt the design
> > using simpler tables. The drop down doesn't populate and when I try to
> > use the green "plus" button all I get is a mini dump and a crash. The
> > log file says in the exception "The thread tried to read from or write
> > to a virtual address for which it does not have the appropriate access".
> > I do have a virtual field but I am not writing to it, it is just there
> > to display the table data in a more appealing way, and I am not writing
> > or using it in the relationship so I cannot see it being an issue. I can
> > also write data from within QGIS directly to the tables so I must have
> > permission.
> > Any thoughts?
> > Tyler
> >
> > On Fri, Sep 16, 2016 at 7:44 AM, Tyler Veinot  > > wrote:
> >
> > Andrew;
> > Well that was simple, thank you. I didn't even think to look there;
> > I was trying to add a standard push button and associate it with
> save.
> > Now I just have to solve everything else.
> > Thanks again.
> > Tyler
> >
> > On Thu, Sep 15, 2016 at 4:22 PM, Andrew  > > wrote:
> >
> > Regarding your second question, in QTDesigner you can change the
> > default buttonBox properties to include a "Save" or "Apply"
> button.
> >
> >
> > On Thu, Sep 15, 2016 at 8:17 AM, Tyler Veinot
> > mailto:tylerkvei...@gmail.com>> wrote:
> >
> > Not having much luck with this, I managed to get the
> > qgsRelationReferenceWidget to show me a list of addresses
> > but I cannot get it to write the wo_id and unique_id to my
> > table.
> > On a different note, is there an ability to create a "save"?
> > the "ok" button closes the form completely. I just want to
> > "save" my work order to write its values to the wo_table and
> > continue editing.
> > Tyler
> >
> > On Tue, Sep 13, 2016 at 9:35 AM, Tyler Veinot
> > mailto:tylerkvei...@gmail.com>>
> wrote:
> >
> > Matthias;
> > Ooop's I forgot to add that I was building the form in
> > Qt Designer and not from within QGIS, although with this
> > information is really good and is showing me things I
> > didn't quite understand before. I am a very visual
> > person I find it hard to understand things without
> > seeing it in a diagram or some other example. Took me
> > forever to figure out dog gears and differential gears
> > until I tore apart my first bicycle and rear end; as
> > soon as I seen it I got it.
> > This is my relationship defined in QGIS thus far
> >
> > When I add an address to the work order I need to write
> > the wo_id of my work order and my unique_id of my
> > address to my jtbl_cwo table. So when I, or someone,
> > opens a work order it will show them a list of address
> > associated to that one work order. Also need to do the
> > same thing with primary assets, so the form will look
> > something like this in QGIS;
> >
> > ​Of course the unique_id will be referencing a value
> > from the civic_points "address" but that is that I am
> > trying to accomplish. I did it in LibreOffice and Access
> > but I would like to consolidate it all into one database
> > with one interface, i.e. QGIS. That way I can edit
> > features, add assets, and do most of my daily tasks in
> > one application.
> > Is there an example of this being done in QGIS anywhere?
> > Tyler
> >
> >
> >
> > On Tue, Sep 13, 2016 at 8:37 AM, Tyler Veinot
> > mailto:tylerkvei...@gmail.com>>
> > wrote:
> >
> > Matthias;
> > Thanks, I don't know what I would do without you!
> > Coding isn't normally an issue but that tutorial
> > didn't quite explain where to put the coding. When I
> > opened the UI file in IDLE it looked like XML, and
> > there were no other files associated with the form.
> > I also opened the "see code" option and it w

Re: [Qgis-user] qgsRelationReferenceWidget

2016-09-20 Thread Matthias Kuhn
Hi Tyler,

The message is not related to virtual fields.

Can you open an issue report and specify exactly how to reproduce the issue?

Thank you
Matthias

On 09/20/2016 01:13 PM, Tyler Veinot wrote:
> I don't know what I am doing wrong here, I set this up multiple times
> using every different relationship I have. I even rebuilt the design
> using simpler tables. The drop down doesn't populate and when I try to
> use the green "plus" button all I get is a mini dump and a crash. The
> log file says in the exception "The thread tried to read from or write
> to a virtual address for which it does not have the appropriate access".
> I do have a virtual field but I am not writing to it, it is just there
> to display the table data in a more appealing way, and I am not writing
> or using it in the relationship so I cannot see it being an issue. I can
> also write data from within QGIS directly to the tables so I must have
> permission. 
> Any thoughts?
> Tyler
> 
> On Fri, Sep 16, 2016 at 7:44 AM, Tyler Veinot  > wrote:
> 
> Andrew;
> Well that was simple, thank you. I didn't even think to look there;
> I was trying to add a standard push button and associate it with save.
> Now I just have to solve everything else. 
> Thanks again.
> Tyler 
> 
> On Thu, Sep 15, 2016 at 4:22 PM, Andrew  > wrote:
> 
> Regarding your second question, in QTDesigner you can change the
> default buttonBox properties to include a "Save" or "Apply" button.
> 
> 
> On Thu, Sep 15, 2016 at 8:17 AM, Tyler Veinot
> mailto:tylerkvei...@gmail.com>> wrote:
> 
> Not having much luck with this, I managed to get the
> qgsRelationReferenceWidget to show me a list of addresses
> but I cannot get it to write the wo_id and unique_id to my
> table.
> On a different note, is there an ability to create a "save"?
> the "ok" button closes the form completely. I just want to
> "save" my work order to write its values to the wo_table and
> continue editing. 
> Tyler
> 
> On Tue, Sep 13, 2016 at 9:35 AM, Tyler Veinot
> mailto:tylerkvei...@gmail.com>> wrote:
> 
> Matthias;
> Ooop's I forgot to add that I was building the form in
> Qt Designer and not from within QGIS, although with this
> information is really good and is showing me things I
> didn't quite understand before. I am a very visual
> person I find it hard to understand things without
> seeing it in a diagram or some other example. Took me
> forever to figure out dog gears and differential gears
> until I tore apart my first bicycle and rear end; as
> soon as I seen it I got it.
> This is my relationship defined in QGIS thus far
>  
> When I add an address to the work order I need to write
> the wo_id of my work order and my unique_id of my
> address to my jtbl_cwo table. So when I, or someone,
> opens a work order it will show them a list of address
> associated to that one work order. Also need to do the
> same thing with primary assets, so the form will look
> something like this in QGIS;
> 
> ​Of course the unique_id will be referencing a value
> from the civic_points "address" but that is that I am
> trying to accomplish. I did it in LibreOffice and Access
> but I would like to consolidate it all into one database
> with one interface, i.e. QGIS. That way I can edit
> features, add assets, and do most of my daily tasks in
> one application.
> Is there an example of this being done in QGIS anywhere?
> Tyler
> 
> 
> 
> On Tue, Sep 13, 2016 at 8:37 AM, Tyler Veinot
> mailto:tylerkvei...@gmail.com>>
> wrote:
> 
> Matthias;
> Thanks, I don't know what I would do without you!
> Coding isn't normally an issue but that tutorial
> didn't quite explain where to put the coding. When I
> opened the UI file in IDLE it looked like XML, and
> there were no other files associated with the form.
> I also opened the "see code" option and it was the
> same looked like XML; it might have been C++ but I
> have no training or experience with C++ so I
> wouldn't know if it looked similar to XML from the
> "untrained eye" point of view.
> 

Re: [Qgis-user] qgsRelationReferenceWidget

2016-09-20 Thread Tyler Veinot
I don't know what I am doing wrong here, I set this up multiple times using
every different relationship I have. I even rebuilt the design using
simpler tables. The drop down doesn't populate and when I try to use the
green "plus" button all I get is a mini dump and a crash. The log file says
in the exception "The thread tried to read from or write to a virtual
address for which it does not have the appropriate access". I do have a
virtual field but I am not writing to it, it is just there to display the
table data in a more appealing way, and I am not writing or using it in the
relationship so I cannot see it being an issue. I can also write data from
within QGIS directly to the tables so I must have permission.
Any thoughts?
Tyler

On Fri, Sep 16, 2016 at 7:44 AM, Tyler Veinot 
wrote:

> Andrew;
> Well that was simple, thank you. I didn't even think to look there; I was
> trying to add a standard push button and associate it with save.
> Now I just have to solve everything else.
> Thanks again.
> Tyler
>
> On Thu, Sep 15, 2016 at 4:22 PM, Andrew  wrote:
>
>> Regarding your second question, in QTDesigner you can change the default
>> buttonBox properties to include a "Save" or "Apply" button.
>>
>>
>> On Thu, Sep 15, 2016 at 8:17 AM, Tyler Veinot 
>> wrote:
>>
>>> Not having much luck with this, I managed to get the
>>> qgsRelationReferenceWidget to show me a list of addresses but I cannot get
>>> it to write the wo_id and unique_id to my table.
>>> On a different note, is there an ability to create a "save"? the "ok"
>>> button closes the form completely. I just want to "save" my work order to
>>> write its values to the wo_table and continue editing.
>>> Tyler
>>>
>>> On Tue, Sep 13, 2016 at 9:35 AM, Tyler Veinot 
>>> wrote:
>>>
 Matthias;
 Ooop's I forgot to add that I was building the form in Qt Designer and
 not from within QGIS, although with this information is really good and is
 showing me things I didn't quite understand before. I am a very visual
 person I find it hard to understand things without seeing it in a diagram
 or some other example. Took me forever to figure out dog gears and
 differential gears until I tore apart my first bicycle and rear end; as
 soon as I seen it I got it.
 This is my relationship defined in QGIS thus far

 When I add an address to the work order I need to write the wo_id of my
 work order and my unique_id of my address to my jtbl_cwo table. So when I,
 or someone, opens a work order it will show them a list of address
 associated to that one work order. Also need to do the same thing with
 primary assets, so the form will look something like this in QGIS;

 ​Of course the unique_id will be referencing a value from the
 civic_points "address" but that is that I am trying to accomplish. I did it
 in LibreOffice and Access but I would like to consolidate it all into one
 database with one interface, i.e. QGIS. That way I can edit features, add
 assets, and do most of my daily tasks in one application.
 Is there an example of this being done in QGIS anywhere?
 Tyler



 On Tue, Sep 13, 2016 at 8:37 AM, Tyler Veinot 
 wrote:

> Matthias;
> Thanks, I don't know what I would do without you! Coding isn't
> normally an issue but that tutorial didn't quite explain where to put the
> coding. When I opened the UI file in IDLE it looked like XML, and there
> were no other files associated with the form. I also opened the "see code"
> option and it was the same looked like XML; it might have been C++ but I
> have no training or experience with C++ so I wouldn't know if it looked
> similar to XML from the "untrained eye" point of view.
> Going to be doing some testing on the versioning bit here this week,
> hope to have something a little more concrete to say about it soon.
> Tyler
>
> On Tue, Sep 13, 2016 at 2:58 AM, Matthias Kuhn 
> wrote:
>
>> Hi Tyler,
>>
>> Here is the blog post I wrote for this feature:
>>
>> http://blog.vitu.ch/10112013-1201/qgis-relations
>> Just configuration, no coding, I hope that helps.
>>
>> Cheers
>> Matthias
>>
>>
>> On 12/09/16 22:56, Tyler Veinot wrote:
>>
>> All;
>> Trying to make a form for QGIS that has a form within a form so that
>> I can link and display entries from another table similar to this 
>> tuorial;
>> https://medspx.fr/blog/Qgis/better_qgis_forms_part_three/
>> I think I need to use qgsValueRelationRefernceWidget but I cannot
>> find any tutorials on it.
>> Thanks;
>> Tyler
>>
>>
>> ___
>> Qgis-user mailing listqgis-u...@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>>
>> __

Re: [Qgis-user] qgsRelationReferenceWidget

2016-09-16 Thread Tyler Veinot
Andrew;
Well that was simple, thank you. I didn't even think to look there; I was
trying to add a standard push button and associate it with save.
Now I just have to solve everything else.
Thanks again.
Tyler

On Thu, Sep 15, 2016 at 4:22 PM, Andrew  wrote:

> Regarding your second question, in QTDesigner you can change the default
> buttonBox properties to include a "Save" or "Apply" button.
>
>
> On Thu, Sep 15, 2016 at 8:17 AM, Tyler Veinot 
> wrote:
>
>> Not having much luck with this, I managed to get the
>> qgsRelationReferenceWidget to show me a list of addresses but I cannot get
>> it to write the wo_id and unique_id to my table.
>> On a different note, is there an ability to create a "save"? the "ok"
>> button closes the form completely. I just want to "save" my work order to
>> write its values to the wo_table and continue editing.
>> Tyler
>>
>> On Tue, Sep 13, 2016 at 9:35 AM, Tyler Veinot 
>> wrote:
>>
>>> Matthias;
>>> Ooop's I forgot to add that I was building the form in Qt Designer and
>>> not from within QGIS, although with this information is really good and is
>>> showing me things I didn't quite understand before. I am a very visual
>>> person I find it hard to understand things without seeing it in a diagram
>>> or some other example. Took me forever to figure out dog gears and
>>> differential gears until I tore apart my first bicycle and rear end; as
>>> soon as I seen it I got it.
>>> This is my relationship defined in QGIS thus far
>>>
>>> When I add an address to the work order I need to write the wo_id of my
>>> work order and my unique_id of my address to my jtbl_cwo table. So when I,
>>> or someone, opens a work order it will show them a list of address
>>> associated to that one work order. Also need to do the same thing with
>>> primary assets, so the form will look something like this in QGIS;
>>>
>>> ​Of course the unique_id will be referencing a value from the
>>> civic_points "address" but that is that I am trying to accomplish. I did it
>>> in LibreOffice and Access but I would like to consolidate it all into one
>>> database with one interface, i.e. QGIS. That way I can edit features, add
>>> assets, and do most of my daily tasks in one application.
>>> Is there an example of this being done in QGIS anywhere?
>>> Tyler
>>>
>>>
>>>
>>> On Tue, Sep 13, 2016 at 8:37 AM, Tyler Veinot 
>>> wrote:
>>>
 Matthias;
 Thanks, I don't know what I would do without you! Coding isn't normally
 an issue but that tutorial didn't quite explain where to put the coding.
 When I opened the UI file in IDLE it looked like XML, and there were no
 other files associated with the form. I also opened the "see code" option
 and it was the same looked like XML; it might have been C++ but I have no
 training or experience with C++ so I wouldn't know if it looked similar to
 XML from the "untrained eye" point of view.
 Going to be doing some testing on the versioning bit here this week,
 hope to have something a little more concrete to say about it soon.
 Tyler

 On Tue, Sep 13, 2016 at 2:58 AM, Matthias Kuhn 
 wrote:

> Hi Tyler,
>
> Here is the blog post I wrote for this feature:
>
> http://blog.vitu.ch/10112013-1201/qgis-relations
> Just configuration, no coding, I hope that helps.
>
> Cheers
> Matthias
>
>
> On 12/09/16 22:56, Tyler Veinot wrote:
>
> All;
> Trying to make a form for QGIS that has a form within a form so that I
> can link and display entries from another table similar to this tuorial;
> https://medspx.fr/blog/Qgis/better_qgis_forms_part_three/
> I think I need to use qgsValueRelationRefernceWidget but I cannot find
> any tutorials on it.
> Thanks;
> Tyler
>
>
> ___
> Qgis-user mailing listqgis-u...@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>


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

Re: [Qgis-user] qgsRelationReferenceWidget

2016-09-15 Thread Andrew
Regarding your second question, in QTDesigner you can change the default
buttonBox properties to include a "Save" or "Apply" button.


On Thu, Sep 15, 2016 at 8:17 AM, Tyler Veinot 
wrote:

> Not having much luck with this, I managed to get the
> qgsRelationReferenceWidget to show me a list of addresses but I cannot get
> it to write the wo_id and unique_id to my table.
> On a different note, is there an ability to create a "save"? the "ok"
> button closes the form completely. I just want to "save" my work order to
> write its values to the wo_table and continue editing.
> Tyler
>
> On Tue, Sep 13, 2016 at 9:35 AM, Tyler Veinot 
> wrote:
>
>> Matthias;
>> Ooop's I forgot to add that I was building the form in Qt Designer and
>> not from within QGIS, although with this information is really good and is
>> showing me things I didn't quite understand before. I am a very visual
>> person I find it hard to understand things without seeing it in a diagram
>> or some other example. Took me forever to figure out dog gears and
>> differential gears until I tore apart my first bicycle and rear end; as
>> soon as I seen it I got it.
>> This is my relationship defined in QGIS thus far
>>
>> When I add an address to the work order I need to write the wo_id of my
>> work order and my unique_id of my address to my jtbl_cwo table. So when I,
>> or someone, opens a work order it will show them a list of address
>> associated to that one work order. Also need to do the same thing with
>> primary assets, so the form will look something like this in QGIS;
>>
>> ​Of course the unique_id will be referencing a value from the
>> civic_points "address" but that is that I am trying to accomplish. I did it
>> in LibreOffice and Access but I would like to consolidate it all into one
>> database with one interface, i.e. QGIS. That way I can edit features, add
>> assets, and do most of my daily tasks in one application.
>> Is there an example of this being done in QGIS anywhere?
>> Tyler
>>
>>
>>
>> On Tue, Sep 13, 2016 at 8:37 AM, Tyler Veinot 
>> wrote:
>>
>>> Matthias;
>>> Thanks, I don't know what I would do without you! Coding isn't normally
>>> an issue but that tutorial didn't quite explain where to put the coding.
>>> When I opened the UI file in IDLE it looked like XML, and there were no
>>> other files associated with the form. I also opened the "see code" option
>>> and it was the same looked like XML; it might have been C++ but I have no
>>> training or experience with C++ so I wouldn't know if it looked similar to
>>> XML from the "untrained eye" point of view.
>>> Going to be doing some testing on the versioning bit here this week,
>>> hope to have something a little more concrete to say about it soon.
>>> Tyler
>>>
>>> On Tue, Sep 13, 2016 at 2:58 AM, Matthias Kuhn 
>>> wrote:
>>>
 Hi Tyler,

 Here is the blog post I wrote for this feature:

 http://blog.vitu.ch/10112013-1201/qgis-relations
 Just configuration, no coding, I hope that helps.

 Cheers
 Matthias


 On 12/09/16 22:56, Tyler Veinot wrote:

 All;
 Trying to make a form for QGIS that has a form within a form so that I
 can link and display entries from another table similar to this tuorial;
 https://medspx.fr/blog/Qgis/better_qgis_forms_part_three/
 I think I need to use qgsValueRelationRefernceWidget but I cannot find
 any tutorials on it.
 Thanks;
 Tyler


 ___
 Qgis-user mailing listqgis-u...@lists.osgeo.org
 List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
 Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user



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

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

Re: [Qgis-user] qgsRelationReferenceWidget

2016-09-15 Thread Tyler Veinot
Not having much luck with this, I managed to get the
qgsRelationReferenceWidget to show me a list of addresses but I cannot get
it to write the wo_id and unique_id to my table.
On a different note, is there an ability to create a "save"? the "ok"
button closes the form completely. I just want to "save" my work order to
write its values to the wo_table and continue editing.
Tyler

On Tue, Sep 13, 2016 at 9:35 AM, Tyler Veinot 
wrote:

> Matthias;
> Ooop's I forgot to add that I was building the form in Qt Designer and not
> from within QGIS, although with this information is really good and is
> showing me things I didn't quite understand before. I am a very visual
> person I find it hard to understand things without seeing it in a diagram
> or some other example. Took me forever to figure out dog gears and
> differential gears until I tore apart my first bicycle and rear end; as
> soon as I seen it I got it.
> This is my relationship defined in QGIS thus far
>
> When I add an address to the work order I need to write the wo_id of my
> work order and my unique_id of my address to my jtbl_cwo table. So when I,
> or someone, opens a work order it will show them a list of address
> associated to that one work order. Also need to do the same thing with
> primary assets, so the form will look something like this in QGIS;
>
> ​Of course the unique_id will be referencing a value from the civic_points
> "address" but that is that I am trying to accomplish. I did it in
> LibreOffice and Access but I would like to consolidate it all into one
> database with one interface, i.e. QGIS. That way I can edit features, add
> assets, and do most of my daily tasks in one application.
> Is there an example of this being done in QGIS anywhere?
> Tyler
>
>
>
> On Tue, Sep 13, 2016 at 8:37 AM, Tyler Veinot 
> wrote:
>
>> Matthias;
>> Thanks, I don't know what I would do without you! Coding isn't normally
>> an issue but that tutorial didn't quite explain where to put the coding.
>> When I opened the UI file in IDLE it looked like XML, and there were no
>> other files associated with the form. I also opened the "see code" option
>> and it was the same looked like XML; it might have been C++ but I have no
>> training or experience with C++ so I wouldn't know if it looked similar to
>> XML from the "untrained eye" point of view.
>> Going to be doing some testing on the versioning bit here this week, hope
>> to have something a little more concrete to say about it soon.
>> Tyler
>>
>> On Tue, Sep 13, 2016 at 2:58 AM, Matthias Kuhn 
>> wrote:
>>
>>> Hi Tyler,
>>>
>>> Here is the blog post I wrote for this feature:
>>>
>>> http://blog.vitu.ch/10112013-1201/qgis-relations
>>> Just configuration, no coding, I hope that helps.
>>>
>>> Cheers
>>> Matthias
>>>
>>>
>>> On 12/09/16 22:56, Tyler Veinot wrote:
>>>
>>> All;
>>> Trying to make a form for QGIS that has a form within a form so that I
>>> can link and display entries from another table similar to this tuorial;
>>> https://medspx.fr/blog/Qgis/better_qgis_forms_part_three/
>>> I think I need to use qgsValueRelationRefernceWidget but I cannot find
>>> any tutorials on it.
>>> Thanks;
>>> Tyler
>>>
>>>
>>> ___
>>> Qgis-user mailing listqgis-u...@lists.osgeo.org
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>>
>>>
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>
>>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgsRelationReferenceWidget

2016-09-13 Thread Tyler Veinot
Matthias;
Ooop's I forgot to add that I was building the form in Qt Designer and not
from within QGIS, although with this information is really good and is
showing me things I didn't quite understand before. I am a very visual
person I find it hard to understand things without seeing it in a diagram
or some other example. Took me forever to figure out dog gears and
differential gears until I tore apart my first bicycle and rear end; as
soon as I seen it I got it.
This is my relationship defined in QGIS thus far

When I add an address to the work order I need to write the wo_id of my
work order and my unique_id of my address to my jtbl_cwo table. So when I,
or someone, opens a work order it will show them a list of address
associated to that one work order. Also need to do the same thing with
primary assets, so the form will look something like this in QGIS;

​Of course the unique_id will be referencing a value from the civic_points
"address" but that is that I am trying to accomplish. I did it in
LibreOffice and Access but I would like to consolidate it all into one
database with one interface, i.e. QGIS. That way I can edit features, add
assets, and do most of my daily tasks in one application.
Is there an example of this being done in QGIS anywhere?
Tyler



On Tue, Sep 13, 2016 at 8:37 AM, Tyler Veinot 
wrote:

> Matthias;
> Thanks, I don't know what I would do without you! Coding isn't normally an
> issue but that tutorial didn't quite explain where to put the coding. When
> I opened the UI file in IDLE it looked like XML, and there were no other
> files associated with the form. I also opened the "see code" option and it
> was the same looked like XML; it might have been C++ but I have no training
> or experience with C++ so I wouldn't know if it looked similar to XML from
> the "untrained eye" point of view.
> Going to be doing some testing on the versioning bit here this week, hope
> to have something a little more concrete to say about it soon.
> Tyler
>
> On Tue, Sep 13, 2016 at 2:58 AM, Matthias Kuhn 
> wrote:
>
>> Hi Tyler,
>>
>> Here is the blog post I wrote for this feature:
>>
>> http://blog.vitu.ch/10112013-1201/qgis-relations
>> Just configuration, no coding, I hope that helps.
>>
>> Cheers
>> Matthias
>>
>>
>> On 12/09/16 22:56, Tyler Veinot wrote:
>>
>> All;
>> Trying to make a form for QGIS that has a form within a form so that I
>> can link and display entries from another table similar to this tuorial;
>> https://medspx.fr/blog/Qgis/better_qgis_forms_part_three/
>> I think I need to use qgsValueRelationRefernceWidget but I cannot find
>> any tutorials on it.
>> Thanks;
>> Tyler
>>
>>
>> ___
>> Qgis-user mailing listqgis-u...@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgsRelationReferenceWidget

2016-09-13 Thread Tyler Veinot
Matthias;
Thanks, I don't know what I would do without you! Coding isn't normally an
issue but that tutorial didn't quite explain where to put the coding. When
I opened the UI file in IDLE it looked like XML, and there were no other
files associated with the form. I also opened the "see code" option and it
was the same looked like XML; it might have been C++ but I have no training
or experience with C++ so I wouldn't know if it looked similar to XML from
the "untrained eye" point of view.
Going to be doing some testing on the versioning bit here this week, hope
to have something a little more concrete to say about it soon.
Tyler

On Tue, Sep 13, 2016 at 2:58 AM, Matthias Kuhn  wrote:

> Hi Tyler,
>
> Here is the blog post I wrote for this feature:
>
> http://blog.vitu.ch/10112013-1201/qgis-relations
> Just configuration, no coding, I hope that helps.
>
> Cheers
> Matthias
>
>
> On 12/09/16 22:56, Tyler Veinot wrote:
>
> All;
> Trying to make a form for QGIS that has a form within a form so that I can
> link and display entries from another table similar to this tuorial;
> https://medspx.fr/blog/Qgis/better_qgis_forms_part_three/
> I think I need to use qgsValueRelationRefernceWidget but I cannot find any
> tutorials on it.
> Thanks;
> Tyler
>
>
> ___
> Qgis-user mailing listqgis-u...@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgsRelationReferenceWidget

2016-09-12 Thread Matthias Kuhn
Hi Tyler,

Here is the blog post I wrote for this feature:

http://blog.vitu.ch/10112013-1201/qgis-relations

Just configuration, no coding, I hope that helps.

Cheers
Matthias

On 12/09/16 22:56, Tyler Veinot wrote:
> All;
> Trying to make a form for QGIS that has a form within a form so that I
> can link and display entries from another table similar to this tuorial;
> https://medspx.fr/blog/Qgis/better_qgis_forms_part_three/
> I think I need to use qgsValueRelationRefernceWidget but I cannot find
> any tutorials on it.
> Thanks;
> Tyler
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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