Hi,
yes there is:
import guidata
import guidata.dataset.datatypes as dt
import guidata.dataset.dataitems as di
class Processing(dt.DataSet):
"""Example"""
a = di.FloatItem("Parameter #1", default=2.3)
b = di.IntItem("Parameter #2", min=0, max=10, default=5)
autotext = ""
text = di.TextItem("Expl",default=autotext)
type = di.ChoiceItem("Processing algorithm",
("type 1", "type 2", "type 3"))
app = guidata.qapplication()
param = Processing()
param.edit()
param.text = "my text"
param.type = ("my_type 1", "my_type 2", "mai_thai 3")
param.edit()
Post by Sadique SheikI would like to have a ChoiceItem (dropdown list) the content of
which are to be populated dynamically (or atleast during the
__init__). Is there any possibility to do that ?
Thanks
Sadique
I am also interested by this feature.
So is there a solution to update a ChoiceItem dynamically
Cheers
Fred
--
You received this message because you are subscribed to the Google
Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.