I finally found the time. The ui is slightly different to xforms. Here's a screenshot: http://home.t-online.de/home/juergen.sp/branch.png Please let me know, if there are any objections or if I can apply this.
There is one problem left: the branches color does not immediately change on screen. XForms has the following hack: // Make sure that new colour is also displayed ;-) lyxColorHandler->getGCForeground(c); lyxColorHandler->updateColor(c); Don't know what to do in qt. John? BTW: (un)collapsing branches changes the document's state to "changed" (in both frontends). Regards, Jürgen P.S.: I'll be away until thursday or friday.
branch.diff.gz
Description: GNU Zip compressed data