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
|
/**
* Changes:
* 12-4-07, Mark Larkin, Removed destructor. No need to delete QObjects. Also removed
* setAllPtrsToNull function.
*
* 24-05-07,Nigel Brown(EMBL): simplified file searching mechanism; removed
* filePath, executablePath members; made helpFileName static; removed
* executablePath argument to constructor.
*
* 06-06-07,Nigel Brown(EMBL): loadHelpInformation() now returns string *.
*/
#ifndef HELPDISPLAYWIDGET_H
#define HELPDISPLAYWIDGET_H
#include <QDialog>
#include <string>
#include "clustalW/general/clustalw.h"
#include "ClustalQtParams.h"
class QPushButton;
class QTextEdit;
class QVBoxLayout;
class HelpDisplayWidget : public QDialog
{
Q_OBJECT
public:
HelpDisplayWidget(char helpPointer);
protected:
private slots:
void accept();
private:
string *loadHelpInformation(char helpPointer);
QVBoxLayout* mainLayout;
QTextEdit *helpText;
QPushButton* okButton;
QString title;
static const std::string helpFileName;
static const int MinLineEditWidth = 250;
};
#endif
//HELPDISPLAYWIDGET_H
|