Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KmPlot
Commits
62bbfa8f
Commit
62bbfa8f
authored
Nov 20, 2014
by
Laurent Montel
Browse files
kdelibs4support--
parent
33a566d8
Changes
7
Hide whitespace changes
Inline
Side-by-side
kmplot/CMakeLists.txt
View file @
62bbfa8f
add_definitions
(
-DTRANSLATION_DOMAIN=\"kmplot\"
)
########### next target ###############
...
...
kmplot/functioneditor.cpp
View file @
62bbfa8f
...
...
@@ -724,7 +724,7 @@ void FunctionEditor::saveFunction( Function * tempFunction )
Settings
::
setDefaultEquationForm
(
Settings
::
EnumDefaultEquationForm
::
Function
);
else
Settings
::
setDefaultEquationForm
(
Settings
::
EnumDefaultEquationForm
::
Implicit
);
Settings
::
self
()
->
writeConfig
();
Settings
::
self
()
->
save
();
MainDlg
::
self
()
->
requestSaveCurrentState
();
functionListItem
->
update
();
...
...
kmplot/kmplot.cpp
View file @
62bbfa8f
...
...
@@ -180,7 +180,7 @@ void KmPlot::fileNew()
void
KmPlot
::
applyNewToolbarConfig
()
{
applyMainWindowSettings
(
K
Global
::
c
onfig
()
->
group
(
QString
()
));
applyMainWindowSettings
(
K
SharedConfig
::
openC
onfig
()
->
group
(
QString
()
));
}
void
KmPlot
::
fileOpen
()
...
...
kmplot/kmplot.kcfg
View file @
62bbfa8f
...
...
@@ -4,7 +4,7 @@
xsi:schemaLocation=
"http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd"
>
<include>
kglo
ba
l
se
ttings.h
</include>
<include>
QFontData
base
</include>
<kcfgfile
name=
"kmplotrc"
/>
<group
name=
"Coordinate System"
>
...
...
@@ -107,17 +107,17 @@
<entry
name=
"AxesFont"
type=
"Font"
>
<label>
Font of the axis labels
</label>
<whatsthis>
Choose a font for the axis labels.
</whatsthis>
<default
code=
"true"
>
KGlobalSettings
::
g
eneralFont
(
)
</default>
<default
code=
"true"
>
QFontDatabase::systemFont(QFontDatabase
::
G
eneralFont)
</default>
</entry>
<entry
name=
"HeaderTableFont"
type=
"Font"
>
<label>
Font of the printed header table
</label>
<whatsthis>
Choose a font for the table printed at the top of the page.
</whatsthis>
<default
code=
"true"
>
KGlobalSettings
::
g
eneralFont
(
)
</default>
<default
code=
"true"
>
QFontDatabase::systemFont(QFontDatabase
::
G
eneralFont)
</default>
</entry>
<entry
name=
"LabelFont"
type=
"Font"
>
<label>
Font of diagram labels
</label>
<whatsthis>
Choose a font for diagram labels.
</whatsthis>
<default
code=
"true"
>
KGlobalSettings
::
g
eneralFont
(
)
</default>
<default
code=
"true"
>
QFontDatabase::systemFont(QFontDatabase
::
G
eneralFont)
</default>
</entry>
</group>
...
...
kmplot/maindlg.cpp
View file @
62bbfa8f
...
...
@@ -178,7 +178,7 @@ MainDlg::MainDlg(QWidget *parentWidget, QObject *parent, const QStringList& ) :
setupActions
();
XParser
::
self
()
->
constants
()
->
load
();
kmplotio
=
new
KmPlotIO
();
m_config
=
K
Global
::
c
onfig
();
m_config
=
K
SharedConfig
::
openC
onfig
();
m_recentFiles
->
loadEntries
(
m_config
->
group
(
QString
()
)
);
...
...
kmplot/parser.cpp
View file @
62bbfa8f
...
...
@@ -1463,7 +1463,7 @@ ExpressionSanitizer::ExpressionSanitizer( Parser * parser )
:
m_parser
(
parser
)
{
m_str
=
0l
;
m_decimalSymbol
=
K
Glob
al
::
lo
c
al
e
()
->
decimalSymbol
();
m_decimalSymbol
=
K
Loc
al
e
::
g
lo
b
al
()
->
decimalSymbol
();
}
...
...
kmplot/view.cpp
View file @
62bbfa8f
...
...
@@ -3571,7 +3571,7 @@ void View::mouseReleaseEvent ( QMouseEvent * e )
case
Translating
:
doDrawPlot
=
true
;
Settings
::
self
()
->
writeConfig
();
Settings
::
self
()
->
save
();
MainDlg
::
self
()
->
requestSaveCurrentState
();
break
;
...
...
@@ -3729,7 +3729,7 @@ void View::animateZoom( const QRectF & _newCoords )
Settings
::
setXMax
(
Parser
::
number
(
m_xmax
)
);
Settings
::
setYMin
(
Parser
::
number
(
m_ymin
)
);
Settings
::
setYMax
(
Parser
::
number
(
m_ymax
)
);
Settings
::
self
()
->
writeConfig
();
Settings
::
self
()
->
save
();
MainDlg
::
self
()
->
coordsDialog
()
->
updateXYRange
();
MainDlg
::
self
()
->
requestSaveCurrentState
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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