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
|
#ifndef PAIRWISEPARAMS_H
#define PAIRWISEPARAMS_H
#include <QDialog>
#include <QComboBox>
class QPushButton;
class QGroupBox;
class QRadioButton;
class QLabel;
class QButtonGroup;
class QTabWidget;
class QLineEdit;
class QHBoxLayout;
class QVBoxLayout;
class QGridLayout;
class QShowEvent;
class PairwiseParams : public QDialog
{
Q_OBJECT
public:
PairwiseParams();
protected:
void showEvent(QShowEvent* event);
private slots:
void accept();
void slowBrowseProtein();
void slowBrowseDNA();
void userProteinClicked();
void userDNAClicked();
private:
void setUpSlowTab();
void setUpSlowTextAreas();
void setUpSlowProteinWeightMat();
void setUpSlowDNAWeightMat();
void setUpFastTab();
void setInitialProteinMat();
void setInitialDNAMat();
void radioSetUsingUserProtein();
void setSlowInitialTextParams();
void setFastInitialTextParams();
QTabWidget* tabWidget;
QPushButton* okButton;
QComboBox* slowOrQuick;
QGroupBox* loadDNAGroup;
QGroupBox* loadProteinGroup;
QGroupBox* slowPairwiseTab;
QGroupBox* fastPairwiseTab;
QVBoxLayout* mainLayout;
QVBoxLayout* slowTabLayout;
QGridLayout* slowGapLayout;
QGridLayout* protMatLayout;
QGridLayout* dnaMatLayout;
QGridLayout* fastTabLayout;
QHBoxLayout* horizLayoutAA;
QHBoxLayout* horizLayoutDNA;
// Slow first
QGroupBox* slowGapParams;
QLabel* slowGapOpenLabel;
QLabel* slowGapExtendLabel;
QLineEdit* slowGapOpen;
QLineEdit* slowGapExtend;
QString slowAAMatrixPath;
QString slowDNAMatrixPath;
std::string aaMatrixFile;
std::string dnaMatrixFile;
QPushButton* slowLoadProtMat;
QPushButton* slowLoadDNAMat;
QGroupBox* slowProtMatGroup;
QButtonGroup* slowProteinWeightMat;
QRadioButton* slowProtBlosum30;
QRadioButton* slowProtPAM350;
QRadioButton* slowProtGonnet250;
QRadioButton* slowProtIdentity;
QRadioButton* slowProtAAUserMat;
QGroupBox* slowDNAMatGroup;
QButtonGroup* slowDNAWeightMat;
QRadioButton* slowDNAIUB;
QRadioButton* slowDNAClustalw;
QRadioButton* slowDNAUser;
// Fast
QGroupBox* fastParams;
QLineEdit* fastGapPenalty;
QLineEdit* fastKTupSize;
QLineEdit* fastTopDiagonals;
QLineEdit* fastWindowSize;
QLabel* fastGapPenaltyLabel;
QLabel* fastKTupSizeLabel;
QLabel* fastTopDiagonalsLabel;
QLabel* fastWindowSizeLabel;
QLabel* userProteinMatrix;
QLabel* userDNAMatrix;
bool proteinMatLoaded;
bool dnaMatLoaded;
};
#endif
|