Bo Peng wrote: > Dear all, > > I have spent another two days on the InsetListings patch, trying to > make the GUI more usable. What I get is a validation system that > reports to QInclude, QListings and QDocument exactly what is wrong > with the params string (through exception). With the attached patch, > one can type ? to get a list of parameters, type lx to get a list of > parameters starting with lx, and type language=Py to get a list of > allowed languages starting with Py. > > The biggest problem I had was that QTextEdit does not seem to support > QValidator so I had to validate on textChanged() manually (through > validate_listings_params() SLOT function). I also had trouble with > designer to get prettier interfaces especially when TextLayoutUi.ui > does not have enough space for the listings groupbox. I would > appreciate it if our qt experts can examine and improve the qt part of > this patch. > > With this validation system in place, I will stop working on this > feature until I get an OK to proceed. > > Cheers, > Bo > >
//290 + LFUN_LISTING_INSERT, // Herbert 20011110, bpeng 20070502 ;) Peter