File: HelpDisplayWidget.h

package info (click to toggle)
clustalx 2.1%2Blgpl-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 3,324 kB
  • sloc: cpp: 40,050; sh: 163; xml: 102; makefile: 16
file content (49 lines) | stat: -rw-r--r-- 1,073 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
/**
 * 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