2005-11-06 00:15:35 +00:00
|
|
|
#ifndef QGSHELPVIEWER_H
|
|
|
|
#define QGSHELPVIEWER_H
|
2005-12-30 04:56:31 +00:00
|
|
|
# include "ui_qgshelpviewerbase.h"
|
2005-11-06 00:15:35 +00:00
|
|
|
class QString;
|
|
|
|
class sqlite3;
|
2005-12-30 04:56:31 +00:00
|
|
|
class QgsHelpViewer : public QDialog, private Ui::QgsHelpViewerBase
|
2005-11-06 00:15:35 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
QgsHelpViewer(const QString &contextId=QString::null, QWidget *parent=0, const char *name=0);
|
|
|
|
~QgsHelpViewer();
|
|
|
|
public slots:
|
|
|
|
void setContext(const QString &contextId);
|
|
|
|
void fileExit();
|
|
|
|
private:
|
|
|
|
void loadContext(const QString &contextId);
|
|
|
|
int connectDb(const QString &helpDbPath);
|
|
|
|
sqlite3 *db;
|
|
|
|
};
|
|
|
|
#endif // QGSHELPVIEWER_H
|