46 lines
807 B
C++
Executable File
46 lines
807 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Online Help Viewer Add Dialog
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Astrid Müller, SGAS, 2018-04-10
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "logger.h"
|
|
|
|
#include <LtsWidgets/lts_dialog.h>
|
|
|
|
namespace Ui
|
|
{
|
|
class OnlineHelpViewerDialog;
|
|
}
|
|
|
|
namespace OnlineHelp
|
|
{
|
|
class OnlineHelpViewerDialog : public LtsWidgets::LtsDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit OnlineHelpViewerDialog(bool isMain = false);
|
|
~OnlineHelpViewerDialog();
|
|
bool init(const QString &fileName = QString());
|
|
|
|
private slots:
|
|
void onContextMenuRequested(const QPoint &position);
|
|
void onContextdMenuForwardRequested();
|
|
void onContextdMenuBackRequested();
|
|
void onContextdMenuReloadRequested();
|
|
|
|
private:
|
|
void retranslate() override;
|
|
|
|
Ui::OnlineHelpViewerDialog *m_ui;
|
|
NGL::INGLLogger &m_logger;
|
|
};
|
|
|
|
}
|