parametersoptions.h (mathmod-11.0-source) | : | parametersoptions.h (mathmod-11.1-source) | ||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
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 = "CloseIso_2"; | QString model = "CloseIso_2"; | |||
QString filecollection = "mathmodcollection.js"; | QString filecollection = "mathmodcollection.js"; | |||
QString fileconfig = "mathmodconfig.js"; | QString fileconfig = "mathmodconfig.js"; | |||
QString fileconfig2 = ""; | ||||
QString advancedmodels = "advancedmodels.js"; | QString advancedmodels = "advancedmodels.js"; | |||
QString fullpath; | QString fullpath; | |||
QJsonObject JConfig, Collection, IsoParam; | QJsonObject JConfig, Collection, IsoParam; | |||
QPalette mypalette, mypalette2, darkpalette; | QPalette mypalette, mypalette2, darkpalette; | |||
QApplication *MainApp; | QApplication *MainApp; | |||
int ControlX = 20; | int ControlX = 20; | |||
int ControlY = 20; | int ControlY = 20; | |||
int GlwinX = 575; | int GlwinX = 575; | |||
int GlwinY = 20; | int GlwinY = 20; | |||
int ControlW = 538; | int ControlW = 538; | |||
int ControlH = 700; | int ControlH = 700; | |||
int GlwinW = 780; | int GlwinW = 780; | |||
int GlwinH = 700; | int GlwinH = 700; | |||
int Specular[4]={50,50,50,100}; | int Specular[4]={50,50,50,100}; | |||
int Ambient[4]={50,50,50,100}; | int Ambient[4]={50,50,50,100}; | |||
int Diffuse[4]={80,80,80,100}; | int Diffuse[4]={80,80,80,100}; | |||
int Shininess=110; | int Shininess=110; | |||
bool glFrontFacingSupport=true; | ||||
int Threads[3]={8,1,64}; | int Threads[3]={8,1,64}; | |||
int CalculFactor[3]={4,4,4}; | int CalculFactor[3]={4,4,4}; | |||
int IsoMaxGrid = 305; | int IsoMaxGrid = 305; | |||
int ParMaxGrid = 505; | int ParMaxGrid = 505; | |||
int InitParGrid = 50; | int InitParGrid = 50; | |||
int InitIsoGrid = 40; | 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 &); | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |