[Kst] Re: branches/work/kst/portto4/kst/src/datasources/ascii

Peter Kümmel syntheticpp at gmx.net
Thu Jan 27 14:30:30 CET 2011


On 27.01.2011 14:12, Brisset, Nicolas wrote:
>> SVN commit 1217468 by kuemmel:
>>
>> Fixed column width is the third column layout
> OK, now I get it!

Ah, I wondered why you've wanted to change the file format ;)

> 
> I have thought about it and I think your approach is better indeed:
> 1) it makes compatibility with old files trivial (we only add an option
> wrt constant width, which defaults to no assumption and should be safe
> for all)
> 2) the corner case of files with all columns of the same constant width
> and a delimiter (like the one I added to sample_data/) can probably be
> optimized  just as well with delimiter=; and each column has its own
> constant width. Instead of getting the width value from the dialog, we
> get it from parsing the first line, but then at the beginning of each
> read we only have to look it up once in the place we store it.

Exactly this column layout was the reason why I've introduced the new option.

> 
> I'll continue thinking about it and doing some tests, but right now it
> seems to work well. Leave it like that...
> Have you actually done the code to store the two radio buttons already?

The units and vector? Seems units doesn't work, it is not editable.
Is the unit code ready?

Peter


> 
> Nicolas
> 
> 
> Eurocopter Deutschland GmbH
> Sitz der Gesellschaft/Registered Office: Donauwoerth
> Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
> Geschaeftsfuehrung/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. 
> 
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
> 


More information about the Kst mailing list