diff --git a/scwx-qt/res/icons/font-awesome-6/square-minus-regular.svg b/scwx-qt/res/icons/font-awesome-6/square-minus-regular.svg
new file mode 100644
index 00000000..96878b75
--- /dev/null
+++ b/scwx-qt/res/icons/font-awesome-6/square-minus-regular.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/scwx-qt/res/icons/font-awesome-6/square-plus-regular.svg b/scwx-qt/res/icons/font-awesome-6/square-plus-regular.svg
new file mode 100644
index 00000000..8cd77e62
--- /dev/null
+++ b/scwx-qt/res/icons/font-awesome-6/square-plus-regular.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/scwx-qt/scwx-qt.qrc b/scwx-qt/scwx-qt.qrc
index 6c53610b..d3386855 100644
--- a/scwx-qt/scwx-qt.qrc
+++ b/scwx-qt/scwx-qt.qrc
@@ -11,5 +11,7 @@
res/config/radar_sites.json
res/fonts/din1451alt.ttf
res/fonts/din1451alt_g.ttf
+ res/icons/font-awesome-6/square-minus-regular.svg
+ res/icons/font-awesome-6/square-plus-regular.svg
diff --git a/scwx-qt/source/scwx/qt/main/main_window.cpp b/scwx-qt/source/scwx/qt/main/main_window.cpp
index f28a9688..484ad01a 100644
--- a/scwx-qt/source/scwx/qt/main/main_window.cpp
+++ b/scwx-qt/source/scwx/qt/main/main_window.cpp
@@ -285,6 +285,16 @@ void MainWindow::on_actionExit_triggered()
close();
}
+void MainWindow::on_resourceTreeCollapseAllButton_clicked()
+{
+ ui->resourceTreeView->collapseAll();
+}
+
+void MainWindow::on_resourceTreeExpandAllButton_clicked()
+{
+ ui->resourceTreeView->expandAll();
+}
+
void MainWindowImpl::ConfigureMapLayout()
{
auto generalSettings = manager::SettingsManager::general_settings();
diff --git a/scwx-qt/source/scwx/qt/main/main_window.hpp b/scwx-qt/source/scwx/qt/main/main_window.hpp
index c885bb77..bd313a79 100644
--- a/scwx-qt/source/scwx/qt/main/main_window.hpp
+++ b/scwx-qt/source/scwx/qt/main/main_window.hpp
@@ -31,6 +31,8 @@ public:
private slots:
void on_actionOpen_triggered();
void on_actionExit_triggered();
+ void on_resourceTreeCollapseAllButton_clicked();
+ void on_resourceTreeExpandAllButton_clicked();
private:
std::unique_ptr p;
diff --git a/scwx-qt/source/scwx/qt/main/main_window.ui b/scwx-qt/source/scwx/qt/main/main_window.ui
index f5f1c23e..ae1e3782 100644
--- a/scwx-qt/source/scwx/qt/main/main_window.ui
+++ b/scwx-qt/source/scwx/qt/main/main_window.ui
@@ -234,6 +234,65 @@
+ -
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
-
+
+
+ Qt::Horizontal
+
+
+
+ 193
+ 20
+
+
+
+
+ -
+
+
+ Expand All
+
+
+
+ :/res/icons/font-awesome-6/square-plus-regular.svg:/res/icons/font-awesome-6/square-plus-regular.svg
+
+
+
+ -
+
+
+ Collapse All
+
+
+
+ :/res/icons/font-awesome-6/square-minus-regular.svg:/res/icons/font-awesome-6/square-minus-regular.svg
+
+
+
+
+
+
-
@@ -269,6 +328,8 @@
-
+
+
+