"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ui_modules/parametersoptions.h" 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.

parametersoptions.h  (mathmod-10.1-source):parametersoptions.h  (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 45 skipping to change at line 45
QStringList listeTextures; QStringList listeTextures;
QStringList listePigments; QStringList listePigments;
}; };
class Parametersoptions : public QWidget class Parametersoptions : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
Parametersoptions(QWidget *parent = nullptr); Parametersoptions(QWidget *parent = nullptr);
QString dotsymbol; QString dotsymbol = ".";
QString model; QString model = "CloseIso_2";
QString filecollection = "mathmodcollection.js";
QString fileconfig = "mathmodconfig.js";
QString advancedmodels = "advancedmodels.js";
QString fullpath; QString fullpath;
QString filecollection;
QString fileconfig;
QString advancedmodels;
QJsonObject JConfig, Collection, IsoParam; QJsonObject JConfig, Collection, IsoParam;
QPalette mypalette, mypalette2, darkpalette; QPalette mypalette, mypalette2, darkpalette;
QApplication *MainApp; QApplication *MainApp;
int ControlX; int ControlX = 20;
int ControlY; int ControlY = 20;
int GlwinX; int GlwinX = 575;
int GlwinY; int GlwinY = 20;
int ControlW; int ControlW = 538;
int ControlH; int ControlH = 700;
int GlwinW; int GlwinW = 780;
int GlwinH; int GlwinH = 700;
float Specular[4]; int Specular[4]={50,50,50,100};
int Threads[3]; int Ambient[4]={50,50,50,100};
int CalculFactor[3]; int Diffuse[4]={80,80,80,100};
int Shininess; int Shininess=110;
int IsoMaxGrid; int Threads[3]={8,1,64};
int ParMaxGrid; int CalculFactor[3]={4,4,4};
int InitParGrid; int IsoMaxGrid = 305;
int InitIsoGrid; int ParMaxGrid = 505;
int InitParGrid = 50;
int InitIsoGrid = 40;
public slots: public slots:
void ReadConfigFile(QString, QJsonObject &); void ReadConfigFile(QString, QJsonObject &);
void ReadJsonFile(QString, QJsonObject &); void ReadJsonFile(QString, QJsonObject &);
void ReadCollectionFile(QString, QJsonObject &); void ReadCollectionFile(QString, QJsonObject &);
void SetStyleAndTheme(QApplication &, QString, QString); void SetStyleAndTheme(QApplication &, QString, QString);
void slot_about_clicked(); void slot_about_clicked();
void GuiUpdate(); void GuiUpdate();
void maxisogri_valueChanged(int); void maxisogri_valueChanged(int);
void maxpargri_valueChanged(int); void maxpargri_valueChanged(int);
void on_loadconfig_clicked(); void on_loadconfig_clicked();
 End of changes. 4 change blocks. 
23 lines changed or deleted 24 lines changed or added

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