[Kst] extragear/graphics/kst/src/libkstapp
Andrew Walker
arwalker at sumusltd.com
Thu May 4 18:59:13 CEST 2006
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