[Scribus] Params, again.

el Sismógrafo , S.L. sismi
Thu Mar 11 13:55:24 CET 2004


What about having a function that takes a list of tuples, each of which 
contains two values describing an entry field (one for the label, one for the 
entry, like

GetParams([("name:","name"),("age:","age")])

which dynamically constructs a modal dialog and returns a dictionnairy with 
the entry field name as key and the user input as value as soon as "OK" is 
pressed.

would be a bit of a hack but work fine for getting user params. And the end 
user needn't have PyQt installed.




More information about the scribus mailing list