[Kst] .kst file format
George Staikos
staikos at kde.org
Mon Jun 14 19:11:40 CEST 2004
On Monday 14 June 2004 10:34, C. Barth Netterfield wrote:
> On Thursday 10 June 2004 8:53 pm, George Staikos wrote:
> > I spent some time debugging Kst files and why the old ones don't load
> > properly. There is no code that picks up plots and places them in a
> > "default view". I think this will be conceptually hard to implement with
> > the current <window> implementation. It presently looks like this:
> >
> > <plot>
> > </plot>
> > <window>
> > <plot>foo</plot>
> > </window>
>
> This is the behavior consistent with how all of the other objects are
> treated by .kst.
>
> I think it is in fact easy to be backwards compatible.
>
> In loading make a PlotList of all plots which have been loaded.
>
> At the end of loading put
>
> if (no windows have been defined) {
> make a default window
> attach all plots to it
> }
What about the case where a Kst file has windows defined and plots defined,
but some plots are not contained in any window?
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst
mailing list