Open GoogleCodeExporter opened 9 years ago
Is this project still active ? Can I expect some support ?
Original comment by sheiksad...@gmail.com
on 26 Nov 2012 at 6:33
Be reassured, the projects are still actively used/maintained internally: many
internal applications (with a long-term support) are relying on guidata and
guiqwt libraries.
The open-source project sometimes lack of support, depending on our
availability.
I'll take a look at your request personnally, as soon as I can.
Original comment by pierre.raybaut
on 26 Nov 2012 at 7:03
Ok, I took a look at your sample code.
To answer your questions/comments:
1. Yes, it is possible to make custom datasets and to use class inheritance as
you did in your example which is well written.
2. The thing is that the property mechanism within guidata ("set_prop",
"ValueProp", ...) has not been implemented to support inheritance. In TestGroup
class, the two instances of ParameterUIItem share the same item objects as
they were constructed once and for all when the ParameterUI class was defined.
The fact that these item objects are the same is not a problem knowing how
things work in guidata internals. However, the fact that the property ('prop')
is the same object is an issue here as the value of the BoolItem is stored in a
shared property object... hence the side effects you experienced.
This is just a quick overlook. I may have misunderstood some of the internals
at stake here. I'll have to dig further.
Original comment by pierre.raybaut
on 26 Nov 2012 at 9:37
Thanks for considering the issue.
So, while the property mechanism as it is now doesn't support inheritance, the
other variables (eg. FloatItem) will still hold independent data per
instantiation (which is some how internally taken care of)?
Original comment by sheiksad...@gmail.com
on 27 Nov 2012 at 2:30
Original issue reported on code.google.com by
sheiksad...@gmail.com
on 12 Nov 2012 at 5:33Attachments: