mirror of
https://github.com/YACReader/yacreader
synced 2025-05-25 18:00:46 -04:00
29 lines
655 B
C++
29 lines
655 B
C++
#ifndef HELP_ABOUT_DIALOG_H
|
|
#define HELP_ABOUT_DIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
class QTabWidget;
|
|
class QTextBrowser;
|
|
|
|
class HelpAboutDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
HelpAboutDialog(QWidget *parent = 0);
|
|
HelpAboutDialog(const QString &pathAbout, const QString &pathHelp, QWidget *parent = 0);
|
|
public slots:
|
|
void loadAboutInformation(const QString &path);
|
|
void loadHelp(const QString &path);
|
|
|
|
private:
|
|
QTabWidget *tabWidget;
|
|
QTextBrowser *aboutText;
|
|
QTextBrowser *helpText;
|
|
QTextBrowser *systemInfoText;
|
|
QString fileToString(const QString &path);
|
|
void loadSystemInfo();
|
|
};
|
|
|
|
#endif // HELP_ABOUT_DIALOG_H
|