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
|
/**
* Changes:
* 12-4-07, Mark Larkin, Removed destructor. No need to delete QObjects. Also removed
* setAllPtrsToNull function.
*/
#ifndef BOOTSTRAPTREEDIALOG_H
#define BOOTSTRAPTREEDIALOG_H
#include <QDialog>
#include <memory>
#include "ClustalQtParams.h"
class QPushButton;
class QGroupBox;
class QComboBox;
class QLabel;
class QCheckBox;
class QVBoxLayout;
class QGridLayout;
class QLineEdit;
class BootstrapTreeDialog : public QDialog
{
Q_OBJECT
public:
BootstrapTreeDialog(QString seqFileName);
clustalw::TreeNames getNames();
protected:
private slots:
void accept();
void cancel();
void browseClustal();
void browseNexus();
void browsePhylip();
private:
void browse(QLineEdit* lineEditName);
void setUpLayout();
void setAllPtrsToNull();
QString getPathFromFileName(QString fileName);
QVBoxLayout* mainLayout;
QGridLayout* fileLayout;
QPushButton* okButton;
QPushButton* bootstrapCancelButton;
QPushButton* clustalTreeBrowseButton;
QPushButton* phylipTreeBrowseButton;
QPushButton* nexusTreeBrowseButton;
QGroupBox* fileBox;
QLabel* randomNumberGenSeedLabel;
QLabel* numBootstrapTrialsLabel;
QLabel* clustalTreeNameLabel;
QLabel* phylipTreeNameLabel;
QLabel* nexusTreeNameLabel;
QLineEdit* randomNumberGenSeed;
QLineEdit* numBootstrapTrials;
QLineEdit* clustalTreeName;
QLineEdit* phylipTreeName;
QLineEdit* nexusTreeName;
QString title;
QString filePath;
auto_ptr<clustalw::TreeNames> treeFileNames;
static const int MinLineEditWidth = 250;
};
#endif
|