Jean-Marc Lasgouttes wrote: > Juergen> What do you think? > > I think that it is possible to iterate over the QListView entries with > first/nextSibling, and that it is easy to iterate over a lyxtextclass > (using the built-in operator) and extract the list of layouts that > have TocLevel >= 0. > > If you prefer to apply your patch nevertheless, I'll handle that > later.
I think I prefer this for now. The above sounds very sensible, but I do not understand the toclevel thing completely. Please feel free to adjust it to your plans. Jürgen > JMarc