[Kst] [Bug 120325] Default curve width in kst settings

Andrew Walker arwalker at sumusltd.com
Thu May 4 18:59:25 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=120325         
arwalker sumusltd com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From arwalker sumusltd com  2006-05-04 18:59 -------
SVN commit 537382 by arwalker:

BUG:120325 Set default line width from data wizard.

 M  +2 -1      datawizard.ui  
 M  +2 -0      datawizard.ui.h  


--- trunk/extragear/graphics/kst/src/libkstapp/datawizard.ui #537381:537382
 @ -1,4 +1,4  @
-<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
+<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
 <class>DataWizard</class>
 <widget class="QWizard">
     <property name="name">
 @ -1488,6 +1488,7  @
 </tabstops>
 <includes>
     <include location="local" impldecl="in implementation">qaccel.h</include>
+    <include location="local" impldecl="in implementation">kstsettings.h</include>
     <include location="local" impldecl="in implementation">kstcolorsequence.h</include>
     <include location="local" impldecl="in implementation">kstvcurve.h</include>
     <include location="local" impldecl="in implementation">kstuinames.h</include>
--- trunk/extragear/graphics/kst/src/libkstapp/datawizard.ui.h #537381:537382
 @ -775,6 +775,7  @
 	    }
 	    colors.append(color);
 	    KstVCurvePtr c = new KstVCurve(name, xv, *it, 0L, 0L, 0L, 0L, color);
+            c->setLineWidth(KstSettings::globalSettings()->defaultLineWeight);
 	    if (_drawBoth->isChecked()) {
 		c->setHasPoints(true);
 		c->pointType = ptype++ % KSTPOINT_MAXTYPE;
 @ -858,6 +859,7  @
 		    c = new KstVCurve(KST::suggestCurveName(name, true), p->vX(), p->vY(), 0L, 0L, 0L, 0L, colors[indexColor]);
 		    indexColor++;
 		}
+                c->setLineWidth(KstSettings::globalSettings()->defaultLineWeight);
 		if (_drawBoth->isChecked()) {
 		    c->setHasPoints(true);
 		    c->pointType = ptype++ % KSTPOINT_MAXTYPE;


More information about the Kst mailing list