Files
giesCANne/helpwindow.h
T
Collin Kidder ca9b83ddc9 Switched from QtHelp to using straight HTML files for help.
This is because AppImage (for linux) is readonly and QtHelp requires
write access. But, HTML files shouldn't.
2019-08-18 18:52:15 -04:00

32 lines
510 B
C++

#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