mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
605cff32a5
Our usermanual is based on webkit, and thats not supported in Qt for Android. We should probably replace it with a Android native webview somehow. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
32 lines
516 B
C++
32 lines
516 B
C++
#ifndef USERMANUAL_H
|
|
#define USERMANUAL_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QWebPage>
|
|
|
|
namespace Ui
|
|
{
|
|
class UserManual;
|
|
}
|
|
|
|
class UserManual : public QMainWindow {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit UserManual(QWidget *parent = 0);
|
|
~UserManual();
|
|
|
|
private
|
|
slots:
|
|
void showSearchPanel();
|
|
void hideSearchPanel();
|
|
void searchTextChanged(QString);
|
|
void searchNext();
|
|
void searchPrev();
|
|
void linkClickedSlot(QUrl url);
|
|
|
|
private:
|
|
Ui::UserManual *ui;
|
|
void search(QString, QWebPage::FindFlags);
|
|
};
|
|
#endif // USERMANUAL_H
|