incunabulum / guidata

Python library generating graphical user interfaces for easy dataset editing and display / From code.google.com
Other
0 stars 0 forks source link

PB with dictItem #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

if you test this scipt :

import guidata
_app = guidata.qapplication() # not required if a QApplication has already been 
created

import guidata.dataset.datatypes as dt
import guidata.dataset.dataitems as di

class Processing(dt.DataSet):
    """Example"""
    dico = {}
    dico["P1"]=(10,23)
    dico["P2"]=(12,45)
    a = di.FloatItem("Parameter #1", default=2.3)
    b = di.IntItem("Parameter #2", min=0, max=10, default=5)
    type = di.ChoiceItem("Processing algorithm",
                         ("type 1", "type 2", "type 3"))
    toto = di.DictItem("test", default=dico)

param = Processing()
param.edit()

when you edit the dict item value the windows with the value is behind all over 
windo and not editable ...

Sylm,

Original issue reported on code.google.com by sylvain....@ensta-bretagne.fr on 3 Jun 2013 at 7:13