42 p->
Painter->setPen(QPen(QPen::black,1));
46 p->
Painter->drawText(x, y, 0, 0, Qt::DontClip,
Prefix, -1, &r);
50 p->
Painter->drawText(x, y+
y2, 0, 0, Qt::DontClip,
"File=name", -1, &r);
51 if(
x2 < r.width())
x2 = r.width();
57 p->
Painter->drawText(x, y+
y2, 0, 0, Qt::DontClip, pp->
Name, -1, &r);
58 if(
x2 < r.width())
x2 = r.width();
63 p->
Painter->setPen(QPen(QPen::darkGray,3));
88 if(relative) {
cx +=
x;
cy += y; }
89 else {
cx = x-(
x2>>1);
cy = y-(
y2>>1); }
98 n = s.section(
' ',1,1);
100 if(!ok)
return false;
102 n = s.section(
' ',2,2);
104 if(!ok)
return false;
106 Prefix = s.section(
' ',3,3);
107 if(
Prefix.isEmpty())
return false;
111 n = s.section(
'"', i,i);
112 if(n.isEmpty())
break;
115 (n.at(0) ==
'0') ?
false :
true,
118 n.section(
'=', 4,4)));
129 QString
s =
Name+QString::number(
cx)+
" "+QString::number(
cy)+
" ";
146 QString (
"tx = %1; ty = %2;").
155 if(
int(fX) <
cx)
return false;
156 if(
int(fY) <
cy)
return false;
157 if(
int(fX) >
cx+
x2)
return false;
158 if(
int(fY) >
cy+
y2)
return false;
187 if(d->exec() == QDialog::Rejected) {