<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=DE link=blue vlink="#606420">
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi Peter,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I have been thinking a bit about the optimization for
constant-width columns, where all columns don't necessarily have the same
width. I have also discussed it with a colleague, and I have some questions
related to it:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>- how much performance benefit does it bring? (the
benefit)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>- what happens if the user looks at the first 10
lines of his file, decides each column has a constant width and in fact at line
100 the time which started at 0.0000 gets to 10.0000 (one more figure), thereby
breaking the assumption? (the risk)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>The thing is, I still haven't found the definitive
GUI approach to accommodate this option, and it can be dangerous. So we have to
weigh the benefit against the risk, and maybe present it differently in the
GUI.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>At the moment, for the UI I'm tending to something as
attached, but I'm not yet sure it is 100% foolproof. I do think it allows to accommodate
all the formats we can reasonably support and to optimize them at the same
time. Feedback is appreciated.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>On a related note, I think we should auto-detect the
delimiter. It should be pretty easy as soon as the user tells us in which line
to find data. But for that we'd need to connect the valueChanged() signal of
the _startLine QSpinBox to a checkFormat() slot of the config widget, which
would need to know the filename we're working on. But it seems that the
filename for which we are configuring is not known in this code. Could we
change that?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>The other option would be to go the whole way to more
automation, and parse the first 10 to 20 lines to try and detect the format
ourselves automatically. But I'd rather keep that for later; we've already
spent so much time on ASCII for 2.0.3…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Nicolas<o:p></o:p></span></font></p>
</div>
<br><table border="0" style="border-collapse: collapse" width="38%" id="table1">
        <tr>
                <td width="468" height="8"><b><font face="Arial" size="1">EUROCOPTER DEUTSCHLAND GmbH</font></b></td>
        </tr>
        <tr>
                <td width="468" height="8"><b><font face="Arial" size="1">Sitz der Gesellschaft / Registered Office: Donauwörth</font></b></td>
        </tr>        
        <tr>
                <td width="468" height="8"><b><font face="Arial" size="1">Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508</font></b></td>
        </tr>
        <tr>
                <td width="468" height="8"><b><font face="Arial" size="1">Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Dr. Lutz Bertling</font></b></td>
        </tr>
        <tr>
                <td width="468" height="8"><b><font face="Arial" size="1">Geschäftsführung / Board of Management:</font></b></td>
        </tr>
        <tr>
                <td width="468" height="8"><b><font face="Arial" size="1">Dr. Wolfgang Schoder, Vorsitzender / CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt</font></b></td>
        </tr>
        <tr>
                <td width="468" height="8" style="border-bottom-style: double; border-bottom-width: 3px"><font face="Arial" size="1"> </font></td>        
        </tr>
</table>
<table border="0" style="border-collapse: collapse" width="688" id="table2" height="8">
        <tr>
                <td width="686" height="8"><font face="Arial" size="1"> </td>                        
        </tr>
        <tr>
                <td width="686" height="8"><font face="Arial" size="1">CONFIDENTIALITY NOTICE</td>                
        </tr>        
        <tr>
                <td width="686" height="8"><font face="Arial" size="1"> </td>                        
        </tr>                
        <tr>
                <td width="686" height="8"><font face="Arial" size="1">This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations. </td>                                 
        </tr>
        <tr>
                <td width="686" height="8"><font face="Arial" size="1">It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication </td>                        
        </tr>
        <tr>
                <td width="686" height="8"><font face="Arial" size="1">or any part of it is prohibited and may be unlawful. </td>                        
        </tr>
        <tr>
                <td width="686" height="8"><font face="Arial" size="1">If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. </td>                        
        </tr>
        <tr>
                <td width="686" height="8"><font face="Arial" size="1">Thank you very much.</td>                                 
        </tr>
        <tr>
                <td width="686" height="8"><font face="Arial" size="1">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 </td>                        
        </tr>                                
        <tr>
                <td width="686" height="8"><font face="Arial" size="1">or other material which might be introduced with this message.</td>                                 
        </tr>
</table><br></body>
</html>