HelpPage.h
#ifndef HELPPAGE_H
#define HELPPAGE_H
#include "ui/GpgFrontendUI.h"
namespace GpgFrontend::UI {
class HelpPage : public QWidget {
Q_OBJECT
public:
explicit HelpPage(const QString& path, QWidget* parent = nullptr);
QTextBrowser* GetBrowser();
public slots:
void slot_open_url(const QUrl& url);
private:
QTextBrowser* browser_;
QUrl localized_help(const QUrl& path);
};
} // namespace GpgFrontend::UI
#endif // HELPPAGE_H
GpgFrontend::UI::HelpPage::localized_help
QUrl localized_help(const QUrl &path)
HelpPage::localized_help check if the requested file is also available with the locale,...
Definition: HelpPage.cpp:62
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::HelpPage
Definition: HelpPage.h:40
GpgFrontend::UI::HelpPage::HelpPage
HelpPage(const QString &path, QWidget *parent=nullptr)
Construct a new Help Page object.
Definition: HelpPage.cpp:35
GpgFrontend::UI::HelpPage::GetBrowser
QTextBrowser * GetBrowser()
Get the Browser object.
Definition: HelpPage.cpp:85
GpgFrontend::UI::HelpPage::slot_open_url
void slot_open_url(const QUrl &url)
Definition: HelpPage.cpp:50
GpgFrontend::UI::HelpPage::browser_
QTextBrowser * browser_
The textbrowser of the tab.
Definition: HelpPage.h:68