[Kst] ASCII reader

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Tue Oct 23 21:12:58 UTC 2012


> > UI:
> > -The ascii config dialog does not fit on a 1366x768 screen - its too
> > tall.  It should be made wider and shorter.
> OK, some fiddling with designer.
Peter has done some tweaking. I think we still have some points to discuss on that dialog, like for instance the fact that I think time/date options should go to a dedicated group plus some other details.
I actually like doing this UI tweaking, I can finalize it when we have clarified all the implementation bits and tricks.

> > -The purpose of the QDateTime format string field in the axis tab is
> > not clear.  It doesn't seem to have anything to do with how the plot
> > appears (everything else in the dialog does - since it is the plot
> > dialog).  Is this a copy of the field in the ascii config dialog?
> You could define the format of the time, e.g. suppressing the year at the
> printed time, e.g.:
> 17:00.01 [min]
> by selecting "QDateTime format string" in the combobox and using the string
> "hh:mm:ss"
OK, now I get it. It wasn't clear to me either. The options in the ASCII config dialog tell Kst how to turn the ASCII strings into C time (or whatever the internal representation is) and is specific to ASCII. This part in the plot dialog tells Kst how to interpret/display the values and applies to all data, regardless of the file type is was read from, possibly with less options than ASCII will soon have.
In fact, this raises 2 questions:
1) in the numerous options available from the "Display as" dropdown, how many are really used and how many could be superseded by the "free" formatting string Peter added? Personally, I can't even guess what most of them mean: JD, MJD, RJD: ???
2) Kst should be smart enough to pre-select the appropriate X-axis settings when time/date are configured when reading the file. This probably means checking supportsTime() from the wizard, and setting axes accordingly when creating the plots. Then the whole complexity will be hidden to the user, unless he wants to do something special.

Nicolas

EUROCOPTER DEUTSCHLAND GmbH
Sitz der Gesellschaft / Registered Office: Donauwörth
Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschäftsführung / Board of Management:
Dr. Wolfgang Schoder, Vorsitzender / CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt


CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations.
It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication
or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication.
Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses
or other material which might be introduced with this message.


More information about the Kst mailing list