Commit b2f8466b authored by nobody's avatar nobody

This commit was manufactured by cvs2svn to create tag

'KDE_3_2_1_RELEASE'.

svn path=/tags/KDE_3_2_1_RELEASE/kdeedu/kmplot/; revision=293317
parents 95c1a430 9cea364d
SUBDIRS = kmplot pics
SUBDIRS = kmplot pics icons
EXTRA_DIST = kpercentage.kdevprj
......
KDE_ICON=AUTO
\ No newline at end of file
......@@ -8,120 +8,122 @@
<rect>
<x>0</x>
<y>0</y>
<width>270</width>
<height>90</height>
<width>281</width>
<height>93</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>270</width>
<height>90</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>270</width>
<height>90</height>
</size>
</property>
<property name="caption">
<string>Step Settings</string>
</property>
<widget class="QLineEdit">
<vbox>
<property name="name">
<cstring>le_sw</cstring>
</property>
<property name="geometry">
<rect>
<x>105</x>
<y>25</y>
<width>40</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>55</y>
<width>130</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>(Default is 1)</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>PushButton1</cstring>
</property>
<property name="geometry">
<rect>
<x>175</x>
<y>15</y>
<width>80</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>PushButton1_2</cstring>
</property>
<property name="geometry">
<rect>
<x>175</x>
<y>50</y>
<width>80</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>80</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>Step:</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property name="hAlign" stdset="0">
</property>
<property name="wordwrap" stdset="0">
</property>
</widget>
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="text">
<string>Step:</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property name="hAlign" stdset="0">
</property>
<property name="wordwrap" stdset="0">
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>le_sw</cstring>
</property>
</widget>
</hbox>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
<property name="text">
<string>(Default is 1)</string>
</property>
</widget>
</vbox>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout2</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton">
<property name="name">
<cstring>PushButton1</cstring>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>PushButton1_2</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</vbox>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>10</width>
<height>0</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<connections>
<connection>
......
......@@ -65,6 +65,7 @@ Name[xx]=xxKmPlotxx
GenericName=Function Plotter
GenericName[bg]=Чертане на функции
GenericName[bs]=Crtač funkcija
GenericName[ca]=Traçador de funcions
GenericName[cy]=Plotydd Ffwythiannau
GenericName[da]=Funktionsplotter
GenericName[de]=Funktionsplotter
......@@ -76,6 +77,7 @@ GenericName[gl]=Utilidade para a representación gráfica de funcións
GenericName[hi]=फंक्शन प्लॉट करने वाला
GenericName[hr]=Crtač funkcija
GenericName[hu]=Függvényábrázoló
GenericName[is]=Teiknar gröf falla
GenericName[it]=Disegno di funzioni
GenericName[ja]=関数プロッター
GenericName[lt]=funkcijinis braižytuvas
......@@ -85,6 +87,7 @@ GenericName[pl]=Wykresy funkcji
GenericName[pt]=Desenho de funções
GenericName[pt_BR]=função plotter
GenericName[ru]=Графопостроитель функций
GenericName[sk]=Kreslenie funkcií
GenericName[sl]=Risanje funkcij
GenericName[sr]=Цртач функција
GenericName[sv]=Funktionsritare
......
......@@ -47,12 +47,15 @@ int main( int argc, char **argv )
"kmplot",
I18N_NOOP( "KmPlot" ),
KP_VERSION, description, KAboutData::License_GPL,
"(c) 2000-2002, Klaus-Dieter Mller",
"(c) 2000-2002, Klaus-Dieter Möller",
0, 0,
"submit@bugs.kde.org" );
aboutData.addAuthor(
"Klaus-Dieter Mller", 0 ,
"Klaus-Dieter Möller", 0 ,
"kd.moeller@t-online.de" );
aboutData.addCredit("David Vignoni",
I18N_NOOP("SVG icon" ),
"david80v@tin.it");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
......
......@@ -381,7 +381,9 @@ void Parser::primary()
for(i=0; i<ufanz; ++i)
{ if(ufkt[i].fname[0]==0) continue;
if(match(ufkt[i].fname.latin1()))
{ primary();
{ if(i==ixa) {err=9; return;}
primary();
addtoken(UFKT);
addfptr(&ufkt[i]);
return;
......@@ -590,6 +592,10 @@ int Parser::errmsg()
case 8: KMessageBox::error(0, i18n("Parser error at position %1:\n"
"Name of function not free").arg(QString::number(errpos)), "KmPlot");
break;
case 9: KMessageBox::error(0, i18n("Parser error at position %1:\n"
"recursive function not allowed").arg(QString::number(errpos)), "KmPlot");
break;
}
return err;
......
......@@ -108,6 +108,7 @@ public:
// 6 => Speicherberlauf
// 7 => Stackberlauf
// 8 => Funktionsname bereits vergeben
// 9 => rekursiver Funktionsaufruf
errpos, // Fehlerposition
ufanz; // max. Anzahl benutzer-
// definierter Funktionen
......
picsdir = $(kde_datadir)/kmplot/toolbar
pics_DATA = kfkt.png ksys1.png ksys2.png ksys3.png scaling.png coords.png
KDE_ICON = kmplot
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment