Commit | Line | Data |
---|---|---|
cf76e892 JPM |
1 | // |
2 | // help.h: Built-in help system | |
3 | // | |
4 | // by James Hammons | |
5 | // (C) 2011 Underground Software | |
6 | // | |
7 | ||
8 | #ifndef __HELP_H__ | |
9 | #define __HELP_H__ | |
10 | ||
8646ea44 | 11 | #include <QtWidgets/QtWidgets> |
cf76e892 JPM |
12 | |
13 | class HelpWindow: public QWidget | |
14 | { | |
15 | public: | |
16 | HelpWindow(QWidget * parent = 0); | |
17 | ||
18 | protected: | |
19 | void keyPressEvent(QKeyEvent *); | |
20 | ||
21 | private: | |
22 | QVBoxLayout * layout; | |
23 | QTextBrowser * text; | |
24 | }; | |
25 | ||
26 | #endif // __HELP_H__ |