diff --git a/docs/source/user-docs/menus/menu-bar/help-menu.rst b/docs/source/user-docs/menus/menu-bar/help-menu.rst index dc4b399f..4bbe2529 100644 --- a/docs/source/user-docs/menus/menu-bar/help-menu.rst +++ b/docs/source/user-docs/menus/menu-bar/help-menu.rst @@ -11,4 +11,10 @@ Report an Issue ---------------------------------------- **Description:** Quickly report an issue to Cutter's GitHub repository. Clicking this option will navigate your browser to the new-issue page in Cutter's GitHub repository. It will also automatically fill relevant information inside the issue template. -**Steps:** Help -> Report an issue \ No newline at end of file +**Steps:** Help -> Report an issue + +Documentation +--------------------------------------- +**Description:** Clicking this option will open the user documentation of Cutter in your browser. + +**Steps:** Help -> Documentation diff --git a/src/core/MainWindow.cpp b/src/core/MainWindow.cpp index 944b69a4..28e02bbf 100644 --- a/src/core/MainWindow.cpp +++ b/src/core/MainWindow.cpp @@ -232,6 +232,7 @@ void MainWindow::initUI() connect(ui->actionSaveLayout, &QAction::triggered, this, &MainWindow::saveNamedLayout); connect(ui->actionManageLayouts, &QAction::triggered, this, &MainWindow::manageLayouts); + connect(ui->actionDocumentation, &QAction::triggered, this, &MainWindow::documentationClicked); /* Setup plugins interfaces */ for (auto &plugin : Plugins()->getPlugins()) { @@ -1579,6 +1580,11 @@ void MainWindow::on_actionIssue_triggered() openIssue(); } +void MainWindow::documentationClicked() +{ + QDesktopServices::openUrl(QUrl("https://cutter.re/docs/user-docs")); +} + void MainWindow::on_actionRefresh_Panels_triggered() { this->refreshAll(); diff --git a/src/core/MainWindow.h b/src/core/MainWindow.h index 3bfd783e..f5aeb0d7 100644 --- a/src/core/MainWindow.h +++ b/src/core/MainWindow.h @@ -164,6 +164,7 @@ public slots: private slots: void on_actionAbout_triggered(); void on_actionIssue_triggered(); + void documentationClicked(); void addExtraGraph(); void addExtraHexdump(); void addExtraDisassembly(); diff --git a/src/core/MainWindow.ui b/src/core/MainWindow.ui index 6ea2249e..222e379e 100644 --- a/src/core/MainWindow.ui +++ b/src/core/MainWindow.ui @@ -131,6 +131,7 @@ +