-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinterface.h
More file actions
131 lines (101 loc) · 2.83 KB
/
interface.h
File metadata and controls
131 lines (101 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#ifndef INTERFACE_H
#define INTERFACE_H
#include <QWidget>
#include <QDebug>
#include<QKeySequence>
#include"ui_interface.h"
#include"read_file.h"
#include <iostream>
#include"rmsd.h"
#include"dialogdatset.h"
#include"global.h"
#include "dialogeditdat.h"
#include "borderdelegate.h"
#include<QHeaderView>
#include<tableitemdelegate.h>
//#include"mainwindow.h"
using namespace Eigen;
using namespace std;
namespace Ui {
class interFace;
}
class interFace : public QWidget, private Ui::interFace
{
Q_OBJECT
public:
explicit interFace(QWidget *parent = nullptr);
~interFace();
//####################################
QString path ="";
QString fname;
//#####################################
public slots:
void plotdata(QVector<double>, QVector<double>);
private slots:
void setupPlot();
void setupTable();
void readSettings();
void saveSettings();
void setupSummmaryTabel();
void setparameters();
void setupResultsTable();
// void datasetchanged(const QString& );
// void RDboxchanged(int);
void contextMenu(const QPoint&);
void on_openButton_clicked();
void getNamefromPath();
void deletspectrum();
void deleteAll();
void on_pushButton_clicked();
void ShowContextMenu(const QPoint & );
void slotSelectionChange();
bool eventFilter(QObject *, QEvent *);
void stayOntab1(bool & );
void on_backButton_clicked();
void outPut(QList<VectorXd> );
void outPutlabels(QStringList );
void protIndex(MatrixXi );
void plotRefit(VectorXd );
void showNRMSD(double );
void progress(int);
void on_clearButton_clicked();
void keyPressEvent(QKeyEvent *event);
// void on_copy_selectedrowButton_clicked();
void outputSummary(VectorXd &);
void summaryContextMenu(const QPoint& pos);
void copy();
void copysummary();
void on_scaleButton_clicked();
// void on_xValbutton_clicked();
// void XvaloutPut(QList<QList<double> > );
// void setupXValTable();
void NMRSDlist(QList<double> );
void outPutProteins(QStringList );
void on_addDatasetButton_clicked();
void on_pushButton_2_clicked();
// void on_editButton_clicked();
void disable();
void enable();
private:
//Ui::interFace *ui;
int plotindex=0;
int Htindex=1;
bool ftype;
bool RandD=0;
int solutionRowIndex=0;
int protInd=0;
int RMSDIndex=0;
QStringList labels;
MatrixXi protNumber;
int progIndex=25;
bool Xvalbool=0;
QStringList protlist;
int rmsdplacementindex=0;
// QMenu myMenu;
bool menubool=false;
//########################
// QStandardItemModel *mModel;
// SpectraTableModel *mModel;
QSortFilterProxyModel *pModel;
};
#endif // INTERFACE_H