mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:20:04 +00:00
Add radar wireframe debug menu selection
This commit is contained in:
parent
77e02b76b1
commit
f010ea8fad
7 changed files with 53 additions and 5 deletions
|
|
@ -644,6 +644,11 @@ void MainWindow::on_actionDumpRadarProductRecords_triggered()
|
|||
manager::RadarProductManager::DumpRecords();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionRadarWireframe_triggered(bool checked)
|
||||
{
|
||||
p->activeMap_->SetRadarWireframeEnabled(checked);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionUserManual_triggered()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl {"https://supercell-wx.readthedocs.io/"});
|
||||
|
|
@ -1487,6 +1492,9 @@ void MainWindowImpl::UpdateRadarProductSettings()
|
|||
mainWindow_->ui->smoothRadarDataCheckBox->setCheckState(
|
||||
activeMap_->GetSmoothingEnabled() ? Qt::CheckState::Checked :
|
||||
Qt::CheckState::Unchecked);
|
||||
|
||||
mainWindow_->ui->actionRadarWireframe->setChecked(
|
||||
activeMap_->GetRadarWireframeEnabled());
|
||||
}
|
||||
|
||||
void MainWindowImpl::UpdateRadarSite()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue