2014-01-09 17:21:29 +00:00
|
|
|
#ifndef USERMANUAL_H
|
|
|
|
#define USERMANUAL_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
#include <QWebPage>
|
|
|
|
|
2014-02-28 04:09:57 +00:00
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class UserManual;
|
2014-01-09 17:21:29 +00:00
|
|
|
}
|
|
|
|
|
2014-02-28 04:09:57 +00:00
|
|
|
class UserManual : public QMainWindow {
|
2014-01-09 17:21:29 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit UserManual(QWidget *parent = 0);
|
|
|
|
~UserManual();
|
|
|
|
|
2014-02-28 04:09:57 +00:00
|
|
|
private
|
|
|
|
slots:
|
2014-01-09 17:21:29 +00:00
|
|
|
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
|