"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ui_modules/ParisoMathObject.cpp" between
mathmod-10.1-source.zip and mathmod-11.0-source.zip

About: MathMod is a mathematical modeling software that visualize and animate implicit and parametric surfaces.

ParisoMathObject.cpp  (mathmod-10.1-source):ParisoMathObject.cpp  (mathmod-11.0-source)
/*************************************************************************** /***************************************************************************
* Copyright (C) 2020 by Abderrahman Taha * * Copyright (C) 2021 by Abderrahman Taha *
* * * *
* * * *
* This program is free software;you can redistribute it and/or modify * * This program is free software;you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation;either version 2 of the License, or * * the Free Software Foundation;either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY;without even the implied warranty of * * but WITHOUT ANY WARRANTY;without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
skipping to change at line 35 skipping to change at line 35
NbIsoStruct = NbParamStruct = 0; NbIsoStruct = NbParamStruct = 0;
dotsymbol = "."; dotsymbol = ".";
} }
ParisoMathObject::~ParisoMathObject() {} ParisoMathObject::~ParisoMathObject() {}
void ParisoMathObject::ReadJsonFile(QString JsonFile, QJsonObject &js) void ParisoMathObject::ReadJsonFile(QString JsonFile, QJsonObject &js)
{ {
QJsonParseError err; QJsonParseError err;
QString sortie; QString sortie;
QFile file1(JsonFile); QFile file1(JsonFile);
if (!file1.exists()) if (!file1.exists())
{ {
JsonFile = QFileDialog::getOpenFileName( JsonFile = QFileDialog::getOpenFileName(
nullptr, QObject::tr("Open mathmodcollection.js File"), " ", nullptr, QObject::tr("Open mathmodcollection.js File"), " ",
QObject::tr("Json (*.js)")); QObject::tr("Json (*.js)"));
} }
QFile file(JsonFile); QFile file(JsonFile);
if (file.open(QIODevice::ReadOnly | QIODevice::Text)) if (file.open(QIODevice::ReadOnly | QIODevice::Text))
{ {
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)