mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-18 18:38:51 +00:00
Add "Documentation" button to the "help" menu (#2381)
This commit is contained in:
parent
9e346275c5
commit
63d3acb8a2
@ -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.
|
**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
|
**Steps:** Help -> Report an issue
|
||||||
|
|
||||||
|
Documentation
|
||||||
|
---------------------------------------
|
||||||
|
**Description:** Clicking this option will open the user documentation of Cutter in your browser.
|
||||||
|
|
||||||
|
**Steps:** Help -> Documentation
|
||||||
|
@ -232,6 +232,7 @@ void MainWindow::initUI()
|
|||||||
|
|
||||||
connect(ui->actionSaveLayout, &QAction::triggered, this, &MainWindow::saveNamedLayout);
|
connect(ui->actionSaveLayout, &QAction::triggered, this, &MainWindow::saveNamedLayout);
|
||||||
connect(ui->actionManageLayouts, &QAction::triggered, this, &MainWindow::manageLayouts);
|
connect(ui->actionManageLayouts, &QAction::triggered, this, &MainWindow::manageLayouts);
|
||||||
|
connect(ui->actionDocumentation, &QAction::triggered, this, &MainWindow::documentationClicked);
|
||||||
|
|
||||||
/* Setup plugins interfaces */
|
/* Setup plugins interfaces */
|
||||||
for (auto &plugin : Plugins()->getPlugins()) {
|
for (auto &plugin : Plugins()->getPlugins()) {
|
||||||
@ -1579,6 +1580,11 @@ void MainWindow::on_actionIssue_triggered()
|
|||||||
openIssue();
|
openIssue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::documentationClicked()
|
||||||
|
{
|
||||||
|
QDesktopServices::openUrl(QUrl("https://cutter.re/docs/user-docs"));
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionRefresh_Panels_triggered()
|
void MainWindow::on_actionRefresh_Panels_triggered()
|
||||||
{
|
{
|
||||||
this->refreshAll();
|
this->refreshAll();
|
||||||
|
@ -164,6 +164,7 @@ public slots:
|
|||||||
private slots:
|
private slots:
|
||||||
void on_actionAbout_triggered();
|
void on_actionAbout_triggered();
|
||||||
void on_actionIssue_triggered();
|
void on_actionIssue_triggered();
|
||||||
|
void documentationClicked();
|
||||||
void addExtraGraph();
|
void addExtraGraph();
|
||||||
void addExtraHexdump();
|
void addExtraHexdump();
|
||||||
void addExtraDisassembly();
|
void addExtraDisassembly();
|
||||||
|
@ -131,6 +131,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<addaction name="actionAbout"/>
|
<addaction name="actionAbout"/>
|
||||||
<addaction name="actionIssue"/>
|
<addaction name="actionIssue"/>
|
||||||
|
<addaction name="actionDocumentation"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuEdit">
|
<widget class="QMenu" name="menuEdit">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
|
Loading…
Reference in New Issue
Block a user