~ubuntu-branches/ubuntu/trusty/clustalx/trusty

« back to all changes in this revision

Viewing changes to BootstrapTreeDialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy, Steffen Moeller, Charles Plessy
  • Date: 2009-10-21 13:25:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20091021132544-r4hbcnjxp354wxh0
Tags: 2.0.12-1
* New upstream release (LP: #423648, #393769):
  - Uses Qt instead of lesstif.
  - Includes new code for UPGMA guide trees.
  - Includes iterative alignment facility.

[ Steffen Moeller ]
* New upstream release.
* Updated watch file (Closes: #550893).
* Removed LICENSE from debian/clustalx.docs
* rename to clustalx seems no longer required in debian/rules
* moved clustalx.1 into debian folder (eases working with svn-buildpackage)
* added German translation to desktop file

[ Charles Plessy ]
* Updated my email address.
* debian/copyright made machine-readable.
* Added various informations in debian/upstream-metadata.yaml.
* Switched to Debhelper 7.
  (debian/rules, debian/control, debian/patches, debian/compat)
* Removed useless Debhelper file debian/clustalx.dirs.
* Updated package description.
* Hardcoded the localisation of accessory files in /usr/share/clustalx.
  (debian/patches/hardcode-accessory-file-locations.patch)
* Documented in debian/README.source that the documentation for quilt
  is in /usr/share/doc/quilt.
* Added upstream changelog downloaded from upstream website
  (debian/rules, debian/CHANGELOG.upstream).
* Incremented Standards-Version to reflect conformance with Policy 3.8.3
  (debian/control, no other changes needed).
* Updated homepage in debian/clustalw.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Changes:
 
3
 * 12-4-07, Mark Larkin, Removed destructor. No need to delete QObjects. Also removed
 
4
 * setAllPtrsToNull function. 
 
5
 */
 
6
#ifndef BOOTSTRAPTREEDIALOG_H
 
7
#define BOOTSTRAPTREEDIALOG_H
 
8
 
 
9
#include <QDialog>
 
10
#include <memory>
 
11
#include "ClustalQtParams.h"
 
12
 
 
13
class QPushButton;
 
14
class QGroupBox;
 
15
class QComboBox;
 
16
class QLabel;
 
17
class QCheckBox;
 
18
class QVBoxLayout;
 
19
class QGridLayout;
 
20
class QLineEdit;
 
21
 
 
22
class BootstrapTreeDialog : public QDialog
 
23
{
 
24
    Q_OBJECT
 
25
public:
 
26
    BootstrapTreeDialog(QString seqFileName); 
 
27
    clustalw::TreeNames getNames();
 
28
protected:
 
29
 
 
30
 
 
31
private slots:
 
32
    void accept();
 
33
    void cancel();
 
34
    void browseClustal();
 
35
    void browseNexus();
 
36
    void browsePhylip();
 
37
private:
 
38
    void browse(QLineEdit* lineEditName);
 
39
    void setUpLayout();
 
40
    void setAllPtrsToNull(); 
 
41
    QString getPathFromFileName(QString fileName);  
 
42
    
 
43
    QVBoxLayout* mainLayout;
 
44
    QGridLayout* fileLayout;
 
45
    
 
46
    QPushButton* okButton;
 
47
    QPushButton* bootstrapCancelButton;
 
48
    QPushButton* clustalTreeBrowseButton;
 
49
    QPushButton* phylipTreeBrowseButton;
 
50
    QPushButton* nexusTreeBrowseButton;
 
51
    
 
52
    QGroupBox* fileBox;
 
53
    
 
54
    QLabel* randomNumberGenSeedLabel;
 
55
    QLabel* numBootstrapTrialsLabel;
 
56
    QLabel* clustalTreeNameLabel;
 
57
    QLabel* phylipTreeNameLabel;
 
58
    QLabel* nexusTreeNameLabel;
 
59
        
 
60
    QLineEdit* randomNumberGenSeed;
 
61
    QLineEdit* numBootstrapTrials;
 
62
    QLineEdit* clustalTreeName;
 
63
    QLineEdit* phylipTreeName;
 
64
    QLineEdit* nexusTreeName;
 
65
    
 
66
    QString title;
 
67
    
 
68
    QString filePath;
 
69
    
 
70
    auto_ptr<clustalw::TreeNames> treeFileNames; 
 
71
    static const int MinLineEditWidth = 250; 
 
72
};
 
73
 
 
74
#endif