mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:30:05 +00:00
Stub for selecting radar product on successful file load
This commit is contained in:
parent
2000f3acb1
commit
7c44bafeb5
8 changed files with 68 additions and 43 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include <scwx/qt/map/radar_product_layer.hpp>
|
||||
#include <scwx/qt/map/radar_range_layer.hpp>
|
||||
#include <scwx/qt/view/radar_product_view_factory.hpp>
|
||||
#include <scwx/util/time.hpp>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QColor>
|
||||
|
|
@ -246,6 +247,17 @@ void MapWidget::SelectRadarProduct(common::Level2Product product)
|
|||
}
|
||||
}
|
||||
|
||||
void MapWidget::SelectRadarProduct(const std::string& radarId,
|
||||
common::RadarProductGroup group,
|
||||
const std::string& product,
|
||||
std::chrono::system_clock::time_point time)
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(debug)
|
||||
<< logPrefix_ << "SelectRadarProduct(" << radarId << ", "
|
||||
<< common::GetRadarProductGroupName(group) << ", " << product << ", "
|
||||
<< util::TimeString(time) << ")";
|
||||
}
|
||||
|
||||
void MapWidget::SetActive(bool isActive)
|
||||
{
|
||||
p->context_->settings_.isActive_ = isActive;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue