- enhancement: add link to EGE website, if locale is zh_CN
This commit is contained in:
parent
4eac9756cd
commit
21083cbb6a
2
NEWS.md
2
NEWS.md
|
@ -3,6 +3,8 @@ Version 0.6.8
|
||||||
- fix: add mutex lock to prevent editor crash in rare conditions
|
- fix: add mutex lock to prevent editor crash in rare conditions
|
||||||
- fix: In the create project dialog, the browser button doesn't work
|
- fix: In the create project dialog, the browser button doesn't work
|
||||||
- enhancement: use QStyle to implement the dark style, and better control of the style's look and feel
|
- enhancement: use QStyle to implement the dark style, and better control of the style's look and feel
|
||||||
|
- enhancement: add link to C/C++ reference website in the help menu
|
||||||
|
- enhancement: add link to EGE website, if locale is zh_CN
|
||||||
|
|
||||||
Version 0.6.7
|
Version 0.6.7
|
||||||
- fix: messages send to the gdb process's standard error are not received
|
- fix: messages send to the gdb process's standard error are not received
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -185,6 +185,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
connect(ui->menuProject, &QMenu::aboutToShow,
|
connect(ui->menuProject, &QMenu::aboutToShow,
|
||||||
this, &MainWindow::updateProjectActions);
|
this, &MainWindow::updateProjectActions);
|
||||||
|
|
||||||
|
ui->actionEGE_Manual->setVisible(pSettings->environment().language()=="zh_CN");
|
||||||
|
|
||||||
buildContextMenus();
|
buildContextMenus();
|
||||||
|
|
||||||
|
@ -4297,3 +4298,9 @@ void MainWindow::on_actionC_C_Reference_triggered()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void MainWindow::on_actionEGE_Manual_triggered()
|
||||||
|
{
|
||||||
|
QDesktopServices::openUrl(QUrl("https://xege.org/ege-open-source"));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -405,6 +405,8 @@ private slots:
|
||||||
|
|
||||||
void on_actionC_C_Reference_triggered();
|
void on_actionC_C_Reference_triggered();
|
||||||
|
|
||||||
|
void on_actionEGE_Manual_triggered();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::MainWindow *ui;
|
Ui::MainWindow *ui;
|
||||||
EditorList *mEditorList;
|
EditorList *mEditorList;
|
||||||
|
|
|
@ -972,6 +972,7 @@
|
||||||
<string>Help</string>
|
<string>Help</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionC_C_Reference"/>
|
<addaction name="actionC_C_Reference"/>
|
||||||
|
<addaction name="actionEGE_Manual"/>
|
||||||
<addaction name="actionAbout"/>
|
<addaction name="actionAbout"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuRefactor">
|
<widget class="QMenu" name="menuRefactor">
|
||||||
|
@ -1861,6 +1862,11 @@
|
||||||
<string>C/C++ Reference</string>
|
<string>C/C++ Reference</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionEGE_Manual">
|
||||||
|
<property name="text">
|
||||||
|
<string>EGE Manual</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
<customwidget>
|
<customwidget>
|
||||||
|
|
Loading…
Reference in New Issue