> still think that an autogenerated properties dialog will be even better
> though...

This is exactly what I proposed.

> the information you have put now in ParValidator::ParValidator() could
> be parsed to build the dialog

Yes.

> if there are a lot of parameters as with listing i am sure they can be
> grouped to have a better overview

You can certainly group things.

The whole idea is not that difficult, we simply need a few text files
with fields like

parameter name, group name, type, hint, default value, validation
type, validation parameter

Then, a property list like what qt designer has can be generated using
this list. The user can change the options and the dialog would return
an option list. Some code can be borrowed from InsetListingsParams.

However, this is very Qt/Gui intensive and I certainly do not have the
needed knowledge to do it. As a matter of fact, I asked help for
similar things when I design the listing dialog but everyone was busy.

Cheers,
Bo

Reply via email to