#include <qgshelpviewer.h>
Definition at line 27 of file qgshelpviewer.h.
Public Slots | |
| void | setContext (const QString &contextId) |
| void | fileExit () |
Public Member Functions | |
| QgsHelpViewer (QWidget *parent=0, Qt::WFlags fl=0) | |
| ~QgsHelpViewer () | |
| void | showContent (QString path, QString doc) |
| QgsHelpViewer (const QString &contextId=QString::null, QWidget *parent=0, Qt::WFlags=0) | |
| ~QgsHelpViewer () | |
Protected Member Functions | |
| void | moveEvent (QMoveEvent *event) |
| void | resizeEvent (QResizeEvent *event) |
Private Member Functions | |
| void | restorePosition () |
| void | saveWindowLocation () |
| void | loadContext (const QString &contextId) |
| void | loadContextFromSqlite (const QString &contextId) |
| int | connectDb (const QString &helpDbPath) |
Private Attributes | |
| sqlite3 * | db |
| QgsHelpViewer::QgsHelpViewer | ( | QWidget * | parent = 0, |
|
| Qt::WFlags | fl = 0 | |||
| ) |
Definition at line 24 of file qgshelpviewer.cpp.
| QgsHelpViewer::~QgsHelpViewer | ( | ) |
Definition at line 33 of file qgshelpviewer.cpp.
| QgsHelpViewer::QgsHelpViewer | ( | const QString & | contextId = QString::null, |
|
| QWidget * | parent = 0, |
|||
| Qt::WFlags | = 0 | |||
| ) |
| QgsHelpViewer::~QgsHelpViewer | ( | ) |
| void QgsHelpViewer::showContent | ( | QString | path, | |
| QString | doc | |||
| ) |
Definition at line 37 of file qgshelpviewer.cpp.
| void QgsHelpViewer::setContext | ( | const QString & | contextId | ) | [slot] |
| void QgsHelpViewer::fileExit | ( | ) | [slot] |
Definition at line 58 of file qgshelpviewer.cpp.
| void QgsHelpViewer::moveEvent | ( | QMoveEvent * | event | ) | [protected] |
| void QgsHelpViewer::resizeEvent | ( | QResizeEvent * | event | ) | [protected] |
| void QgsHelpViewer::restorePosition | ( | ) | [private] |
| void QgsHelpViewer::saveWindowLocation | ( | ) | [private] |
| void QgsHelpViewer::loadContext | ( | const QString & | contextId | ) | [private] |
Definition at line 97 of file qgshelpviewer.cpp.
References name(), and QgsApplication::pkgDataPath().
Referenced by QgsHelpViewer(), and setContext().
| void QgsHelpViewer::loadContextFromSqlite | ( | const QString & | contextId | ) | [private] |
Definition at line 163 of file qgshelpviewer.cpp.
References connectDb(), db, QgsApplication::pkgDataPath(), sqlite3_close, sqlite3_column_text, sqlite3_errmsg, sqlite3_finalize, sqlite3_prepare, sqlite3_step, SQLITE_OK, and SQLITE_ROW.
| int QgsHelpViewer::connectDb | ( | const QString & | helpDbPath | ) | [private] |
Definition at line 204 of file qgshelpviewer.cpp.
References db, sqlite3_open, and SQLITE_ERROR.
Referenced by loadContextFromSqlite().
sqlite3* QgsHelpViewer::db [private] |
Definition at line 43 of file qgshelpviewer.h.
Referenced by connectDb(), and loadContextFromSqlite().
1.5.1