Integrated help into the system. Most all the sub-screens that are actually complete
and working have integrated help now. Press F1 to bring up help for a given window.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#ifndef HELPWINDOW_H
|
||||
#define HELPWINDOW_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QtHelp>
|
||||
|
||||
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;
|
||||
QHelpEngineCore *m_helpEngine;
|
||||
};
|
||||
|
||||
#endif // HELPWINDOW_H
|
||||
Reference in New Issue
Block a user