93 QString s =
"\t<\""+
Var+
"\" "+
Color.name()+
96 " "+QString::number(
yAxisNo)+
">";
99 s +=
"\n\t "+pm->save();
110 if(s.at(0) !=
'<')
return false;
111 if(s.at(s.length()-1) !=
'>')
return false;
112 s = s.mid(1, s.length()-2);
114 Var = s.section(
'"',1,1);
117 n = s.section(
' ',1,1);
118 Color.setNamedColor(n);
119 if(!
Color.isValid())
return false;
121 n = s.section(
' ',2,2);
122 Thick = n.toInt(&ok);
123 if(!ok)
return false;
125 n = s.section(
' ',3,3);
127 if(!ok)
return false;
129 n = s.section(
' ',4,4);
131 if(!ok)
return false;
133 n = s.section(
' ',5,5);
134 Style = n.toInt(&ok);
135 if(!ok)
return false;
137 n = s.section(
' ',6,6);
138 if(n.isEmpty())
return true;
140 if(!ok)
return false;
151 if(pp == 0)
return -1;
157 int countX =
cPointsX.getFirst()->count;
173 dx = x - int(*(pp++));
174 dy = y - int(*(pp++));
176 if(dx < -5)
continue;
178 if(dy < -5)
continue;
205 if(dx < -5) {
if(x < dx2-5)
continue; }
206 else {
if(x > 5)
if(x > dx2+5)
continue; }
209 if(dy < -5) {
if(y < dy2-5)
continue; }
210 else {
if(y > 5)
if(y > dy2+5)
continue; }
217 A -= 25*(dx2*dx2 + dy2*dy2);
219 if(A <= 0)
return z*countX;
243 pg->
Markers.append(pm->sameNewOne(pg));
void drawStarSymbols(int, int, float *)
Q3PtrList< Marker > Markers
void paintLines(ViewPainter *, int, int)
void drawArrowSymbols(int, int, float *)
bool load(const QString &)
void drawCircleSymbols(int, int, float *)
int getSelected(int, int)
void drawLines(int, int, float *)
void paint(ViewPainter *, int, int)
#define GRAPHSTYLE_CIRCLE
Graph(const QString &_Line="")
Q3PtrList< DataX > cPointsX