diff --git a/CHANGELOG.md b/CHANGELOG.md index d816b76d..9735f306 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## [UNRELEASED] · YYYY-MM-DD ### ✨ Added - Add a "Save Memory" setting that evicts inactive datasets from RAM and reloads them on demand ([#647](https://github.com/cbrnr/mnelab/pull/647) by [Clemens Brunner](https://github.com/cbrnr)) +- Add icons for "Change Reference", "Interpolate Bad Channels", and "Documentation" actions ([#650](https://github.com/cbrnr/mnelab/pull/650) by [Clemens Brunner](https://github.com/cbrnr)) ### 🔧 Fixed - Enforce minimum sidebar and info widget widths so they can no longer be hidden ([#642](https://github.com/cbrnr/mnelab/pull/642) by [Clemens Brunner](https://github.com/cbrnr)) diff --git a/src/mnelab/icons/dark/actions/change-reference.svg b/src/mnelab/icons/dark/actions/change-reference.svg new file mode 100644 index 00000000..b682828b --- /dev/null +++ b/src/mnelab/icons/dark/actions/change-reference.svg @@ -0,0 +1 @@ + diff --git a/src/mnelab/icons/dark/actions/documentation.svg b/src/mnelab/icons/dark/actions/documentation.svg new file mode 100644 index 00000000..5c13d3a1 --- /dev/null +++ b/src/mnelab/icons/dark/actions/documentation.svg @@ -0,0 +1 @@ + diff --git a/src/mnelab/icons/dark/actions/interpolate-bads.svg b/src/mnelab/icons/dark/actions/interpolate-bads.svg new file mode 100644 index 00000000..7cacae04 --- /dev/null +++ b/src/mnelab/icons/dark/actions/interpolate-bads.svg @@ -0,0 +1 @@ + diff --git a/src/mnelab/icons/light/actions/change-reference.svg b/src/mnelab/icons/light/actions/change-reference.svg new file mode 100644 index 00000000..cf9f766a --- /dev/null +++ b/src/mnelab/icons/light/actions/change-reference.svg @@ -0,0 +1 @@ + diff --git a/src/mnelab/icons/light/actions/documentation.svg b/src/mnelab/icons/light/actions/documentation.svg new file mode 100644 index 00000000..4ec0c580 --- /dev/null +++ b/src/mnelab/icons/light/actions/documentation.svg @@ -0,0 +1 @@ + diff --git a/src/mnelab/icons/light/actions/interpolate-bads.svg b/src/mnelab/icons/light/actions/interpolate-bads.svg new file mode 100644 index 00000000..3dfca95b --- /dev/null +++ b/src/mnelab/icons/light/actions/interpolate-bads.svg @@ -0,0 +1 @@ + diff --git a/src/mnelab/mainwindow.py b/src/mnelab/mainwindow.py index 79f44552..77162d49 100644 --- a/src/mnelab/mainwindow.py +++ b/src/mnelab/mainwindow.py @@ -226,7 +226,7 @@ def __init__(self, model: Model): ) channels_menu.addSeparator() self.all_actions["change_ref"] = channels_menu.addAction( - QIcon.fromTheme("placeholder"), + QIcon.fromTheme("change-reference"), "Change &Reference...", self.change_reference, ) @@ -242,7 +242,7 @@ def __init__(self, model: Model): lambda: self.export_file(model.export_bads, "Export bad channels", "*.csv"), ) self.all_actions["interpolate_bads"] = channels_menu.addAction( - QIcon.fromTheme("placeholder"), + QIcon.fromTheme("interpolate-bads"), "Interpolate Bad Channels", self.interpolate_bads, ) @@ -453,7 +453,7 @@ def __init__(self, model: Model): ) help_menu.addSeparator() self.all_actions["documentation"] = help_menu.addAction( - QIcon.fromTheme("placeholder"), + QIcon.fromTheme("documentation"), "&Documentation", self.show_documentation, )