[Kst] branches/kst/1.2/kst/kst
George Staikos
staikos at kde.org
Mon Feb 13 18:48:43 CET 2006
SVN commit 509092 by staikos:
patch from Barth to fix legend loading bugs
M +1 -0 kstvcurve.cpp
M +2 -0 kstviewlegend.cpp
M +1 -0 kstviewlegend.h
--- branches/kst/1.2/kst/kst/kstvcurve.cpp #509091:509092
@@ -195,6 +195,7 @@
_type = "Curve";
Color = in_color;
setTagName(in_tag);
+ updateParsedLegendTag();
}
--- branches/kst/1.2/kst/kst/kstviewlegend.cpp #509091:509092
@@ -89,6 +89,8 @@
_absFontSize = _fontSize+KstSettings::globalSettings()->plotFontSize;
_layoutActions &= ~(MoveTo | Copy | CopyTo);
_standardActions |= Delete | Edit;
+ _legendMargin = 5;
+
QStringList ctaglist;
// read the properties
--- branches/kst/1.2/kst/kst/kstviewlegend.h #509091:509092
@@ -36,6 +36,7 @@
Q_PROPERTY(QString font READ fontName WRITE setFontName)
Q_PROPERTY(int fontSize READ fontSize WRITE setFontSize)
Q_PROPERTY(bool transparent READ transparent WRITE setTransparent)
+ Q_PROPERTY(int legendMargin READ legendMargin WRITE setLegendMargin)
Q_PROPERTY(bool vertical READ vertical WRITE setVertical)
public:
KstViewLegend();
More information about the Kst
mailing list