[Kst] A few (not so trivial) questions...

George Staikos staikos at kde.org
Tue Jan 17 16:54:46 CET 2006

On Tuesday 17 January 2006 10:32, Brisset, Nicolas wrote:

> 1) context information: many people have data files with some context
> information in them (experiment date, system configuration, any other
> relevant information) and it would probably make sense to be able to use
> it somewhere in kst. I know the datasource API provides a place to put
> metadata, but I'm not aware of what one can actually do with it ? It
> would be nice to e.g. add a window or text frame with metadata
> (especially in the printed output). One possible use would be to have
> window top labels (like plot top labels, but above all plots) which
> would display it. But that clearly needs to be refined as some
> datasource might produce fairly large amounts of metadata... And maybe
> we need to distinguish between per-field metadata (unit, comment, etc)
> and per-file metadata (experiment date, weather conditions, etc...)
> Basically, our need in the short term would be to be able to add 1 or 2
> lines of context information read from the data file (up to 80 chars
> each) somewhere at the top of the page. I don't know how to do that now
> more or less automatically, but if some of you have ideas I'm interested

  That's what metadata is there for and I'm very happy to add support for it.  
I haven't yet, because I didn't get a concrete example of a use case and a 
need.  Please file a feature request for this.

George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/

More information about the Kst mailing list