File: helpwindow.h

package info (click to toggle)
savvycan 220-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,456 kB
  • sloc: cpp: 61,803; sh: 293; javascript: 91; python: 44; makefile: 8
file content (31 lines) | stat: -rw-r--r-- 510 bytes parent folder | download
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
#ifndef HELPWINDOW_H
#define HELPWINDOW_H

#include <Qt>
#include <QDialog>
#include <QSettings>

namespace Ui {
class HelpWindow;
}

class HelpWindow : public QDialog
{
    Q_OBJECT

public:
    explicit HelpWindow(QWidget *parent = 0);
    ~HelpWindow();
    void showHelp(QString help);
    static HelpWindow *getRef();    

private:
    void readSettings();
    void writeSettings();
    void closeEvent(QCloseEvent *event);

    Ui::HelpWindow *ui;
    static HelpWindow *self;
};

#endif // HELPWINDOW_H