mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:30:06 +00:00
Add icons and URL shortcuts to help menu
This commit is contained in:
parent
334ca03a88
commit
aaeea156f3
7 changed files with 65 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include <scwx/common/vcp.hpp>
|
||||
#include <scwx/util/logger.hpp>
|
||||
|
||||
#include <QDesktopServices>
|
||||
#include <QFileDialog>
|
||||
#include <QMessageBox>
|
||||
#include <QSplitter>
|
||||
|
|
@ -350,6 +351,23 @@ void MainWindow::on_actionImGuiDebug_triggered()
|
|||
p->imGuiDebugDialog_->show();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionUserManual_triggered()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl {"https://supercell-wx.readthedocs.io/"});
|
||||
}
|
||||
|
||||
void MainWindow::on_actionDiscord_triggered()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl {"https://discord.gg/snH4tNav7g"});
|
||||
}
|
||||
|
||||
void MainWindow::on_actionGitHubRepository_triggered()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl {"https://github.com/dpaulat/supercell-wx"});
|
||||
}
|
||||
|
||||
void MainWindow::on_actionAboutSupercellWx_triggered() {}
|
||||
|
||||
void MainWindow::on_radarSiteSelectButton_clicked()
|
||||
{
|
||||
p->radarSiteDialog_->show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue