Init version
This commit is contained in:
86
DEC_GUI/createdialogs.h
Normal file
86
DEC_GUI/createdialogs.h
Normal file
@@ -0,0 +1,86 @@
|
||||
#ifndef CREATEDIALOGS_H
|
||||
#define CREATEDIALOGS_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QString>
|
||||
#include <QRadioButton>
|
||||
#include <QLineEdit>
|
||||
#include <QComboBox>
|
||||
#include <QGroupBox>
|
||||
#include <QTextEdit>
|
||||
#include <QSpinBox>
|
||||
#include <QCheckBox>
|
||||
#include <QHBoxLayout>
|
||||
#include <QScrollArea>
|
||||
|
||||
class CreateDialogs : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CreateDialogs(QWidget *parent, int flag, QString winLabel);
|
||||
void createChooseModelDialog();
|
||||
void clearLayout(QLayout *layout);
|
||||
bool checkDerRep2014_button();
|
||||
bool checkDerRepRFBR_button();
|
||||
bool checkKolch_button();
|
||||
bool checkInOutBreed_bitton();
|
||||
bool checkAgressor_button();
|
||||
void createDerReport2014SettingDialog(QString winLabel);
|
||||
void createDerReportSettingDialog();
|
||||
void createBreedSettingsDialog();
|
||||
int getNumLociVal();
|
||||
int getSizeNum();
|
||||
QString getPopName();
|
||||
double getFounderVal();
|
||||
int getSepPopInd();
|
||||
int getEvolTime();
|
||||
double getPerDiffLoci();
|
||||
bool checkLoci();
|
||||
bool checkPopName();
|
||||
std::vector<std::string> getInitHomoGen();
|
||||
std::vector<std::string> getInitAncientGen();
|
||||
int getInitPopSize();
|
||||
int getMaxGen();
|
||||
double getBetweenRatio();
|
||||
int getMaxIndivids();
|
||||
int getRange();
|
||||
int getPrecision();
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
void addLociLine();
|
||||
void preprocessScript();
|
||||
|
||||
|
||||
private:
|
||||
QRadioButton *derevyankoReport2014_button;
|
||||
QRadioButton *inOutBreeding01_button;
|
||||
QRadioButton *derevyankoReportRFBR2013_01_button;
|
||||
QRadioButton *KolchShindyalov_button;
|
||||
QRadioButton *agressor_button;
|
||||
QLineEdit *geneSeqEditLine;
|
||||
QLineEdit *popNameEditLine;
|
||||
QDoubleSpinBox *founderSpinBox;
|
||||
QComboBox *popNames;
|
||||
QSpinBox *evol_time;
|
||||
int locisNum;
|
||||
QVector<QLineEdit*> locisEditLines;
|
||||
QVBoxLayout *gBoxLayout;
|
||||
QGroupBox *seqEditLineBox;
|
||||
QSpinBox *numLociSpin;
|
||||
QSpinBox *sexNumSpin;
|
||||
QDoubleSpinBox *perDiffLociSpin;
|
||||
QScrollArea *locisLinesArea;
|
||||
int winFlag;
|
||||
QSpinBox *maxGen_Spin;
|
||||
QSpinBox *initPopSize_Spin;
|
||||
QDoubleSpinBox *ratioBetweenPops_doubleSpin;
|
||||
QSpinBox *maxIndivid_Spin;
|
||||
QSpinBox *range_Spin;
|
||||
QSpinBox *precision_Spin;
|
||||
//QDoubleSpinBox *percentDiffLociSpin;
|
||||
|
||||
};
|
||||
|
||||
#endif // CREATEDIALOGS_H
|
||||
Reference in New Issue
Block a user