- 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: 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: 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
|
||||
- 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,
|
||||
this, &MainWindow::updateProjectActions);
|
||||
|
||||
ui->actionEGE_Manual->setVisible(pSettings->environment().language()=="zh_CN");
|
||||
|
||||
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_actionEGE_Manual_triggered();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
EditorList *mEditorList;
|
||||
|
|
|
@ -972,6 +972,7 @@
|
|||
<string>Help</string>
|
||||
</property>
|
||||
<addaction name="actionC_C_Reference"/>
|
||||
<addaction name="actionEGE_Manual"/>
|
||||
<addaction name="actionAbout"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuRefactor">
|
||||
|
@ -1861,6 +1862,11 @@
|
|||
<string>C/C++ Reference</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionEGE_Manual">
|
||||
<property name="text">
|
||||
<string>EGE Manual</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
|
Loading…
Reference in New Issue