aroberge / easygui_qt

Inspired by easygui, designed for PyQt
BSD 3-Clause "New" or "Revised" License
59 stars 18 forks source link

get_many_strings() return orderDict,which is not good for use #30

Open royqh1979 opened 5 years ago

royqh1979 commented 5 years ago

Now get_many_strings return an OrderedDict as the result, which is no easy to use if the labels is long or descriptive. For example, If I have import easygui_qt as easy values=easy.get_many_strings("Please input lengths of the triangle",lables=("length of a=","length of b=","length of c=") I must use values["length of a="] / values["length of b=“] to retrive the results of the input,which is not so easy for use.

I wonder if we could add index/value pairs to the returned OrderedDict, so we can use values[0]/values[1] to retrieve results?