Andre Poenitz wrote: > Do they use anything from QDocument? I think it is no problem to move them outside, as they're quite general and they could probably used for all LineEdit+Combobox combinations who are outputting/showing LyXLengths (btw. this simplifies the code by at least one line per widget (3 lines per widget in qdocument)). I simply don't know yet where the best place is. Perhaps lengthcombo.C, as this is included by all of those dialogs.
For now, this could go in as is. I will move it out and make it used by other dialogs later, if possible. Jürgen.