Files
yacreader/custom_widgets/help_about_dialog.h
luisangelsm 3709b6e737
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
Format includes using clang-format
2026-03-13 18:21:38 +01:00

38 lines
847 B
C++

#ifndef HELP_ABOUT_DIALOG_H
#define HELP_ABOUT_DIALOG_H
#include "themable.h"
#include <QDialog>
class QTabWidget;
class QTextBrowser;
class HelpAboutDialog : public QDialog, protected Themable
{
Q_OBJECT
protected:
void applyTheme(const Theme &theme) override;
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();
void applyHtmlTheme();
QString aboutHtmlContent;
QString helpHtmlContent;
};
#endif // HELP_ABOUT_DIALOG_H