GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
HelpPage.h
1
29#ifndef HELPPAGE_H
30#define HELPPAGE_H
31
32#include "ui/GpgFrontendUI.h"
33
34namespace GpgFrontend::UI {
35
40class HelpPage : public QWidget {
41 Q_OBJECT
42 public:
49 explicit HelpPage(const QString& path, QWidget* parent = nullptr);
50
56 QTextBrowser* GetBrowser();
57
58 public slots:
59
65 void slot_open_url(const QUrl& url);
66
67 private:
68 QTextBrowser* browser_;
69 QUrl localized_help(const QUrl& path);
70};
71
72} // namespace GpgFrontend::UI
73
74#endif // HELPPAGE_H
Definition: HelpPage.h:40
HelpPage(const QString &path, QWidget *parent=nullptr)
Construct a new Help Page object.
Definition: HelpPage.cpp:35
QUrl localized_help(const QUrl &path)
HelpPage::localized_help check if the requested file is also available with the locale,...
Definition: HelpPage.cpp:62
void slot_open_url(const QUrl &url)
Definition: HelpPage.cpp:50
QTextBrowser * GetBrowser()
Get the Browser object.
Definition: HelpPage.cpp:85
QTextBrowser * browser_
The textbrowser of the tab.
Definition: HelpPage.h:68
Definition: VerifyDetailsDialog.cpp:33