Peter Kümmel wrote:
> > we will need checkboxes or buttons, since the levels can be combined.
> > you can set eg files+version control debug level.
> > 
> > i'm not sure its easy job, it would be fine to use use more horizontal 
> > space of the window
> > for the boxes, eg. two or three columns.
> 
> feel free to visit your friend 'designer' ;)
> But two columns shouldn't be too hard.

i will buy box of beers before ... :)

> >> +void GuiProgressView::levelChanged(QAbstractButton* b)
> >> +{
> >> +  LevelButton* lb = dynamic_cast<LevelButton*>(b);
> >> +  if (lb)
> >> +          lyxerr.level(lb->level);
> > 
> > i crafted special lfun for this since i think we shouldn't set such things
> > directly from ui.
> 
> but it needs a string.

which can contain number, ie convert<string>lb->level

> 
> > 
> >> @@ -19,7 +20,7 @@
> >>  #define LYXDEBUG_H
> >>  
> >>  #include "support/strfwd.h"
> >> -
> >> +#include <vector>
> > 
> > ouch ouch ouch. we have to avoid this since debug.h is included everywhere 
> > and
> > we have to keep it as as tiny as possible.
> 
> is gone now

thanks,
pavel

Reply via email to