File: SaveSeqFile.h

package info (click to toggle)
clustalx 2.1%2Blgpl-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,332 kB
  • ctags: 3,424
  • sloc: cpp: 40,050; sh: 163; xml: 102; makefile: 11
file content (83 lines) | stat: -rw-r--r-- 1,681 bytes parent folder | download | duplicates (5)
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
/**
 * Changes: 
 * 12-4-07, Mark Larkin, Removed destructor. No need to delete QObjects. 
 */
#ifndef SAVESEQFILE_H
#define SAVESEQFILE_H

#include <QDialog>
#include "ClustalQtParams.h"

class QPushButton;
class QGroupBox;
class QComboBox;
class QLabel;
class QCheckBox;
class QVBoxLayout;
class QGridLayout;
class QLineEdit;

class SaveSeqFile : public QDialog
{
    Q_OBJECT
public:
    SaveSeqFile(QString inputFileName, int type, rangeParams params);
    QString getFileName(){return fileName;}
protected:


private slots:
    void accept();
    void cancel();
    void browse();
    void changeUseRange();
private:
    void setUpLayout();
    void setUpRadioButtons(); 
    void setUpOtherParams();   
    
    QVBoxLayout* mainLayout;
    QGridLayout* grid;
    QGridLayout* otherParamLayout;
    
    QPushButton* okButton;
    QPushButton* cancelButton;
    QPushButton* browseButton;
    QGroupBox* fileGridBox;
    QGroupBox* otherParams;
    QGroupBox* verticalBox;
    
    QCheckBox* clustal;
    QCheckBox* gcg;
    QCheckBox* gde;
    QCheckBox* fasta;
    QCheckBox* nbrf;
    QCheckBox* phylip;
    QCheckBox* nexus;
    QCheckBox* useRangeInfo; 
    
    QComboBox* gdeOutputCase;
    QComboBox* clustalSequenceNumbers;
    QComboBox* rangeNumbers;
    
    QLabel* gdeOutputCaseLabel;
    QLabel* clustalSequenceNumbersLabel;
    QLabel* rangeFromLabel;
    QLabel* rangeToLabel;
    QLabel* rangeNumbersLabel;
    QLabel* saveAsLabel;
    
    QLineEdit* rangeFrom;
    QLineEdit* rangeTo;
    QLineEdit* saveAs;
    
    int type;
    QString title;
    QString label;
    
    QString fileName;
    
    int firstSeq, lastSeq, firstRes, lastRes;
};

#endif