#ifndef ORBITHUB_USER_GUIDE_DIALOG_H #define ORBITHUB_USER_GUIDE_DIALOG_H #include #include #include class QListWidget; class QTextBrowser; class QUrl; class UserGuideDialog : public QDialog { Q_OBJECT public: explicit UserGuideDialog(QWidget* parent = nullptr); private: struct Section { QString title; QString anchor; QString markdown; }; void loadSections(); void showSection(int index); void onAnchorClicked(const QUrl& url); QListWidget* m_sectionList; QTextBrowser* m_browser; QVector
m_sections; }; #endif