Dear Jason:<br>
<br>
Your Plan looks good. why don't you move it to a beta site. let us test it and get back to you. Not many might use it.<br>
<br>
Best and Good Work'<br>
<br>
Robert<br><br><div><span class="gmail_quote">On 9/5/06, <b class="gmail_sendername">Jason Harris</b> &lt;<a href="mailto:kstars@30doradus.org">kstars@30doradus.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>After my failed attempt to replace KPlotWidget, I decided to at least give it<br>some love :).&nbsp;&nbsp;Since several programs use this class, I want to give people a<br>chance to comment or object before I commit.&nbsp;&nbsp;If there are no objections, I
<br>will update all kdeedu programs which use KPlotWidget to the new API.<br><br>The changes:<br><br>KPlotWidget:<br>+ get rid of explicit buffering, since this is handled internally by Qt4.<br>+ Reorganize paint code; renamed drawBox() to drawAxes(), and recalcPixRect()
<br>to setPixRect().<br>+ Adding TopAxis and RightAxis.&nbsp;&nbsp;Adding a secondary Data space so these two<br>axes can optionally show different limits than LeftAxis and BottomAxis.<br><br>KPlotAxis:<br>+ Each Axis now handles the calculation of its own tickmarks (rather than
<br>KPlotWidget doing it).&nbsp;&nbsp;The major and minor tickmark positions are stored in<br>two QList&lt;double&gt;'s.<br>+ Simplified redundant visibility variables.&nbsp;&nbsp;Each Axis now has a Visibility<br>flag (controlling the drawing of the axis line and the tickmarks), and its
<br>own ShowTickLabels flag.&nbsp;&nbsp;The Axis label is drawn if it exists.<br>+ I will also likely rework the tick label formatting code.&nbsp;&nbsp;Rather than three<br>separate functions for the field width, format char, and precision, I want to
<br>have a QString that encodes the formatting, such as &quot;7.2g&quot; for field width=7,<br>format='g' and precision=2.&nbsp;&nbsp;This will also allow more flexibility.&nbsp;&nbsp;For<br>example, a format string &quot;hh:mm&quot; could be used for expressing time values, or
<br>&quot;dms&quot; for angle values.<br><br>Let me hear your feedback; I'll be finishing it up over the next few days and<br>then will make sure all kdeedu apps work with the new API (unless you tell me<br>to leave yours alone).&nbsp;&nbsp;Are there apps outside kdeedu using KPlotWidget?
<br><br>thanks,<br>Jason<br>--<br>KStars: <a href="http://edu.kde.org/kstars">http://edu.kde.org/kstars</a><br>Community Forums: <a href="http://kstars.30doradus.org">http://kstars.30doradus.org</a><br>_______________________________________________
<br>kde-edu mailing list<br><a href="mailto:kde-edu@mail.kde.org">kde-edu@mail.kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-edu">https://mail.kde.org/mailman/listinfo/kde-edu</a><br></blockquote></div>
<br><br clear="all"><br>-- <br> Mr.Robert S. Neasham, Jr.