[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kmplot
From: David Saxton <david () bluehaze ! org>
Date: 2006-07-14 13:38:46
Message-ID: 1152884326.713358.14644.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 562263 by saxton:
Added option of whether or not to draw tangent+normal when tracing.
M +2 -3 TODO
M +8 -3 kmplot/kmplot.kcfg
M +9 -2 kmplot/settingspagegeneral.ui
M +1 -5 kmplot/view.cpp
--- trunk/KDE/kdeedu/kmplot/TODO #562262:562263
@@ -13,14 +13,13 @@
* get slope for a x-point
* Value table
* #52887, need to calculate with complex numbers (do we? it wouldn't directly solve \
the problem for #52887... - david)
-* Selectable options for trace mode:
- * Tangent to current point (pipesmoker)
- * Osculating circle
* Printing (pipesmoker)
- different paper sizes
* An export dialog where you can set the size and enable/disable monocrome.
* More printing options.
* Move Coordinate System toolbar buttons to one drop-down list
+* More image export options (e.g. encapsulated postscript would be nice for latex).
+* Make line styles work with implicit equations.
IN PROGRESS
=========================
--- trunk/KDE/kdeedu/kmplot/kmplot/kmplot.kcfg #562262:562263
@@ -26,7 +26,7 @@
<label>Checked if arrows are visible</label>
<whatsthis>Check this box if axes should have arrows.</whatsthis>
<default>true</default>
- </entry>
+ </entry>
<entry name="GridLineWidth" type="Double">
<label>Grid Line Width</label>
<whatsthis>Enter the width of the grid lines.</whatsthis>
@@ -199,10 +199,15 @@
<whatsthis>The value the zoom-in tool should use</whatsthis>
<default>20</default>
</entry>
- <entry name="zoomOutStep" type="Int">
+ <entry name="zoomOutStep" type="Int">
<label>Zoom-out step</label>
<whatsthis>The value the zoom-out tool should use</whatsthis>
<default>25</default>
- </entry>
+ </entry>
+ <entry name="DetailedTracing" type="Bool">
+ <label>Extra detail when tracing</label>
+ <whatsthis>Whether to show extra detail such as the tangent and normal when \
tracing a plot.</whatsthis> + <default>false</default>
+ </entry>
</group>
</kcfg>
--- trunk/KDE/kdeedu/kmplot/kmplot/settingspagegeneral.ui #562262:562263
@@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>261</width>
- <height>282</height>
+ <width>342</width>
+ <height>348</height>
</rect>
</property>
<property name="windowTitle" >
@@ -140,6 +140,13 @@
</widget>
</item>
<item>
+ <widget class="QCheckBox" name="kcfg_DetailedTracing" >
+ <property name="text" >
+ <string>Draw tangent and normal when tracing</string>
+ </property>
+ </widget>
+ </item>
+ <item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
--- trunk/KDE/kdeedu/kmplot/kmplot/view.cpp #562262:562263
@@ -2277,7 +2277,7 @@
}
//END calculate curvature, normal
- if ( k > 1e-5 )
+ if ( k > 1e-5 && Settings::detailedTracing() )
{
p.save();
@@ -2325,10 +2325,6 @@
functionColor.setAlpha( 63 );
pen.setColor( functionColor );
}
- else
- {
- // Curve is practically straight
- }
}
else
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic