[Kst] branches/work/kst/portto4/kst
C. Barth Netterfield
netterfield at astro.utoronto.ca
Mon Jun 2 16:43:39 CEST 2008
Names now have two parts -
descriptiveName: designed to be short, but not necessarily unique. It can
*change dynamically* with changes to the object or with changes to the
objects inputs, or it can be set statically manually. eg: "Azimuth" for a
datavector, or Azimuth/Mean for the scalar mean of Azimuth. If
descriptiveName happens to be unique, you can refer to objects by it in
Equations and labels (when the label is reparsed it will be replaced by the
full name.)
shortName: designed to be short, static, and always unique. For these, I use
a single character type delimiter, and then a serial number, which increments
by order of creation. So the 12th vector created would be V12, or the 30th
scalar would be X30. You can always refer to objects by it. (when the label
is reparsed it will be replaced by the full name.)
The UI uses the Full Name, which combines the two names. The currently open
question is: how should they be combined?
Currently it does descriptiveName:shortName, so
i) Azimuth/Mean:X30
This is pretty ugly!
Other options:
ii) X30:Azimuth/Mean
iii) X30: Azimuth/Mean
iv) Azimuth/Mean: X30
v) Azimuth/Mean X30
vi) Azimuth/Mean (X30)
I'm leaning toward (vi) with (iii) a close second.
What does anyone else think?
Note: the UI will provide tooltips over eg, objectselectors, which give more
complete descriptions of the objects. I have this coded up for vectors, but
haven't committed it yet.
cbn
On Monday 02 June 2008 04:30:01 am Brisset, Nicolas wrote:
> I've tried kst2 quickly after that commit, and I see a lot of names with
> :X[i] where [i] is mostly a random number. I hope that's not intended to
> stay like that, because frankly I find that it makes things look more
> complicated than they should. But considering that it's a work in progress,
> and knowing how you pay attention to usability I guess that's just an
> intermediate status ?
>
> Nicolas
>
> > -----Message d'origine-----
> > De : Barth Netterfield [mailto:netterfield at astro.utoronto.ca]
> > Envoyé : Thursday, May 29, 2008 5:19 AM
> > À : kde-commits at kde.org
> > Cc : kst at kde.org
> > Objet : [Kst] branches/work/kst/portto4/kst
> >
> > SVN commit 814004 by netterfield:
> >
> > The last vestiges of the old republic have been swept away...
> > That is to say - good by old tags, hello new dynamic names.
> >
> > This certainly introduces new bugs.
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
More information about the Kst
mailing list