Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Education
KmPlot
Commits
833c2309
Commit
833c2309
authored
Apr 07, 2004
by
Matthias Messmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
invoking help now
svn path=/trunk/kdeedu/kmplot/; revision=301974
parent
40e1d0a3
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
57 additions
and
9 deletions
+57
-9
kmplot/keditfunction.cpp
kmplot/keditfunction.cpp
+7
-1
kmplot/keditfunction.h
kmplot/keditfunction.h
+2
-1
kmplot/keditparametric.cpp
kmplot/keditparametric.cpp
+7
-1
kmplot/keditparametric.h
kmplot/keditparametric.h
+2
-1
kmplot/keditpolar.cpp
kmplot/keditpolar.cpp
+7
-1
kmplot/keditpolar.h
kmplot/keditpolar.h
+2
-1
kmplot/qeditfunction.ui
kmplot/qeditfunction.ui
+10
-1
kmplot/qeditparametric.ui
kmplot/qeditparametric.ui
+10
-1
kmplot/qeditpolar.ui
kmplot/qeditpolar.ui
+10
-1
No files found.
kmplot/keditfunction.cpp
View file @
833c2309
...
...
@@ -26,6 +26,7 @@
#include <qcheckbox.h>
// KDE includes
#include <kapplication.h>
#include <kcolorbutton.h>
#include <knuminput.h>
#include <klineedit.h>
...
...
@@ -66,7 +67,7 @@ void KEditFunction::clearWidgets()
min
->
clear
();
max
->
clear
();
kIntNumInputLineWidth
->
setValue
(
m_parser
->
dicke0
);
kColorButtonColor
->
setColor
(
m_parser
->
fktext
[
m_parser
->
getNextIndex
()
].
farbe
0
);
kColorButtonColor
->
setColor
(
m_parser
->
fktext
[
m_parser
->
getNextIndex
()
].
farbe
);
}
/**
...
...
@@ -139,3 +140,8 @@ const QString KEditFunction::functionItem()
{
return
kLineEditYFunction
->
text
();
}
void
KEditFunction
::
slotHelp
()
{
kapp
->
invokeHelp
(
""
,
"kmplot"
);
}
kmplot/keditfunction.h
View file @
833c2309
...
...
@@ -46,8 +46,9 @@ class KEditFunction : public QEditFunction
XParser
*
m_parser
;
int
m_index
;
protected:
protected
slots
:
virtual
void
accept
();
void
slotHelp
();
};
#endif
kmplot/keditparametric.cpp
View file @
833c2309
...
...
@@ -28,6 +28,7 @@
#include <qwhatsthis.h>
// KDE includes
#include <kapplication.h>
#include <kcolorbutton.h>
#include <knuminput.h>
#include <klineedit.h>
...
...
@@ -69,7 +70,7 @@ void KEditParametric::clearWidgets()
min
->
clear
();
max
->
clear
();
kIntNumInputLineWidth
->
setValue
(
m_parser
->
dicke0
);
kColorButtonColor
->
setColor
(
m_parser
->
fktext
[
m_parser
->
getNextIndex
()
].
farbe
0
);
kColorButtonColor
->
setColor
(
m_parser
->
fktext
[
m_parser
->
getNextIndex
()
].
farbe
);
}
/**
...
...
@@ -205,3 +206,8 @@ const QString KEditParametric::functionItem()
{
return
xFunction
()
+
";"
+
yFunction
();
}
void
KEditParametric
::
slotHelp
()
{
kapp
->
invokeHelp
(
""
,
"kmplot"
);
}
kmplot/keditparametric.h
View file @
833c2309
...
...
@@ -50,8 +50,9 @@ class KEditParametric : public QEditParametric
XParser
*
m_parser
;
int
m_x_index
,
m_y_index
;
protected:
protected
slots
:
virtual
void
accept
();
void
slotHelp
();
};
#endif
kmplot/keditpolar.cpp
View file @
833c2309
...
...
@@ -28,6 +28,7 @@
#include <qwhatsthis.h>
// KDE includes
#include <kapplication.h>
#include <kcolorbutton.h>
#include <knuminput.h>
#include <klineedit.h>
...
...
@@ -66,7 +67,7 @@ void KEditPolar::clearWidgets()
min
->
clear
();
max
->
clear
();
kIntNumInputLineWidth
->
setValue
(
m_parser
->
dicke0
);
kColorButtonColor
->
setColor
(
m_parser
->
fktext
[
m_parser
->
getNextIndex
()
].
farbe
0
);
kColorButtonColor
->
setColor
(
m_parser
->
fktext
[
m_parser
->
getNextIndex
()
].
farbe
);
}
/**
...
...
@@ -135,3 +136,8 @@ const QString KEditPolar::functionItem()
{
return
"r"
+
kLineEditYFunction
->
text
();
}
void
KEditPolar
::
slotHelp
()
{
kapp
->
invokeHelp
(
""
,
"kmplot"
);
}
kmplot/keditpolar.h
View file @
833c2309
...
...
@@ -47,8 +47,9 @@ class KEditPolar : public QEditPolar
XParser
*
m_parser
;
int
m_index
;
protected:
protected
slots
:
virtual
void
accept
();
void
slotHelp
();
};
#endif
kmplot/qeditfunction.ui
View file @
833c2309
...
...
@@ -9,7 +9,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
293
</width>
<height>
45
3
</height>
<height>
45
5
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
...
...
@@ -400,6 +400,12 @@ Example: f(x)=x^2</string>
<receiver>
max
</receiver>
<slot>
setEnabled(bool)
</slot>
</connection>
<connection>
<sender>
buttonHelp
</sender>
<signal>
clicked()
</signal>
<receiver>
QEditFunction
</receiver>
<slot>
slotHelp()
</slot>
</connection>
</connections>
<tabstops>
<tabstop>
kLineEditYFunction
</tabstop>
...
...
@@ -415,6 +421,9 @@ Example: f(x)=x^2</string>
<tabstop>
buttonCancel
</tabstop>
<tabstop>
buttonHelp
</tabstop>
</tabstops>
<slots>
<slot>
slotHelp()
</slot>
</slots>
<layoutdefaults
spacing=
"6"
margin=
"11"
/>
<includehints>
<includehint>
klineedit.h
</includehint>
...
...
kmplot/qeditparametric.ui
View file @
833c2309
...
...
@@ -9,7 +9,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
293
</width>
<height>
43
2
</height>
<height>
43
4
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
...
...
@@ -511,6 +511,12 @@ Example: sin(t)</string>
<receiver>
textLabelYF
</receiver>
<slot>
setText(const QString
&
)
</slot>
</connection>
<connection>
<sender>
buttonHelp
</sender>
<signal>
clicked()
</signal>
<receiver>
QEditParametric
</receiver>
<slot>
slotHelp()
</slot>
</connection>
</connections>
<tabstops>
<tabstop>
kLineEditName
</tabstop>
...
...
@@ -526,6 +532,9 @@ Example: sin(t)</string>
<tabstop>
buttonCancel
</tabstop>
<tabstop>
buttonHelp
</tabstop>
</tabstops>
<slots>
<slot>
slotHelp()
</slot>
</slots>
<layoutdefaults
spacing=
"6"
margin=
"11"
/>
<includehints>
<includehint>
klineedit.h
</includehint>
...
...
kmplot/qeditpolar.ui
View file @
833c2309
...
...
@@ -9,7 +9,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
282
</width>
<height>
39
7
</height>
<height>
39
9
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
...
...
@@ -377,6 +377,12 @@ Example: loop(angle)=ln(angle)</string>
<receiver>
max
</receiver>
<slot>
setEnabled(bool)
</slot>
</connection>
<connection>
<sender>
buttonHelp
</sender>
<signal>
clicked()
</signal>
<receiver>
QEditPolar
</receiver>
<slot>
slotHelp()
</slot>
</connection>
</connections>
<tabstops>
<tabstop>
kLineEditYFunction
</tabstop>
...
...
@@ -390,6 +396,9 @@ Example: loop(angle)=ln(angle)</string>
<tabstop>
buttonCancel
</tabstop>
<tabstop>
buttonHelp
</tabstop>
</tabstops>
<slots>
<slot>
slotHelp()
</slot>
</slots>
<layoutdefaults
spacing=
"6"
margin=
"11"
/>
<includehints>
<includehint>
klineedit.h
</includehint>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment