Bo Peng wrote:
Edwin:
I think what you need to do is
0. adjust include.ui, I am really bad at using qt designer.
1. in on_composePB_clicked() (the compose button), create a new dialog
2. read the parameter definition file and add items to this dialog
3. validation and parameter handling can be copied from InsetListingsParams
4. return a string to the include dialog
actually i was actually planning to not fiddly with parameter strings,
and therefore avoid the more parameters box
instead the idea would be to have a "All Options..." button which would
popup a dialog that allows settings the parameters much as one sets
widget options in qt's designer.
this dialog could then ultimately be reused for all packages
what do you think?
your patch is definitely a step in the right direction, thanks for that!