mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:50:06 +00:00
Added a basic location marker manager.
This commit is contained in:
parent
84233868d6
commit
19415cd0a1
16 changed files with 806 additions and 44 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include <scwx/qt/ui/level2_settings_widget.hpp>
|
||||
#include <scwx/qt/ui/level3_products_widget.hpp>
|
||||
#include <scwx/qt/ui/placefile_dialog.hpp>
|
||||
#include <scwx/qt/ui/marker_dialog.hpp>
|
||||
#include <scwx/qt/ui/radar_site_dialog.hpp>
|
||||
#include <scwx/qt/ui/settings_dialog.hpp>
|
||||
#include <scwx/qt/ui/update_dialog.hpp>
|
||||
|
|
@ -87,6 +88,7 @@ public:
|
|||
imGuiDebugDialog_ {nullptr},
|
||||
layerDialog_ {nullptr},
|
||||
placefileDialog_ {nullptr},
|
||||
markerDialog_ {nullptr},
|
||||
radarSiteDialog_ {nullptr},
|
||||
settingsDialog_ {nullptr},
|
||||
updateDialog_ {nullptr},
|
||||
|
|
@ -205,6 +207,7 @@ public:
|
|||
ui::ImGuiDebugDialog* imGuiDebugDialog_;
|
||||
ui::LayerDialog* layerDialog_;
|
||||
ui::PlacefileDialog* placefileDialog_;
|
||||
ui::MarkerDialog* markerDialog_;
|
||||
ui::RadarSiteDialog* radarSiteDialog_;
|
||||
ui::SettingsDialog* settingsDialog_;
|
||||
ui::UpdateDialog* updateDialog_;
|
||||
|
|
@ -306,6 +309,9 @@ MainWindow::MainWindow(QWidget* parent) :
|
|||
// Placefile Manager Dialog
|
||||
p->placefileDialog_ = new ui::PlacefileDialog(this);
|
||||
|
||||
// Marker Manager Dialog
|
||||
p->markerDialog_ = new ui::MarkerDialog(this);
|
||||
|
||||
// Layer Dialog
|
||||
p->layerDialog_ = new ui::LayerDialog(this);
|
||||
|
||||
|
|
@ -613,6 +619,11 @@ void MainWindow::on_actionPlacefileManager_triggered()
|
|||
p->placefileDialog_->show();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionMarkerManager_triggered()
|
||||
{
|
||||
p->markerDialog_->show();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionLayerManager_triggered()
|
||||
{
|
||||
p->layerDialog_->show();
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ private slots:
|
|||
void on_actionRadarRange_triggered(bool checked);
|
||||
void on_actionRadarSites_triggered(bool checked);
|
||||
void on_actionPlacefileManager_triggered();
|
||||
void on_actionMarkerManager_triggered();
|
||||
void on_actionLayerManager_triggered();
|
||||
void on_actionImGuiDebug_triggered();
|
||||
void on_actionDumpLayerList_triggered();
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1024</width>
|
||||
<height>33</height>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuFile">
|
||||
|
|
@ -104,6 +104,7 @@
|
|||
</property>
|
||||
<addaction name="actionPlacefileManager"/>
|
||||
<addaction name="actionLayerManager"/>
|
||||
<addaction name="actionMarkerManager"/>
|
||||
</widget>
|
||||
<addaction name="menuFile"/>
|
||||
<addaction name="menuView"/>
|
||||
|
|
@ -152,8 +153,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>190</width>
|
||||
<height>686</height>
|
||||
<width>205</width>
|
||||
<height>701</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||||
|
|
@ -487,6 +488,15 @@
|
|||
<string>&GPS Info</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionMarkerManager">
|
||||
<property name="icon">
|
||||
<iconset resource="../../../../scwx-qt.qrc">
|
||||
<normaloff>:/res/icons/font-awesome-6/house-solid.svg</normaloff>:/res/icons/font-awesome-6/house-solid.svg</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Location &Marker Manager</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../../../../scwx-qt.qrc"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue