#ifndef HELPPAGE_H #define HELPPAGE_H #include #include #include #include #include "ElaTreeView.h" class HelpPage : public QWidget { Q_OBJECT public: explicit HelpPage(QWidget *parent = nullptr); ~HelpPage(); private: void initUI(); void initTreeView(); void initContentPages(); void loadHelpFile(); void updateContent(const QString §ion); QString extractSection(const QString §ionName); QString markdownToHtml(const QString &markdown); ElaTreeView* m_treeView; QStackedWidget* m_stackedWidget; QLabel* m_titleLabel; QTextBrowser* m_contentBrowser; QString m_helpContent; }; #endif // HELPPAGE_H