summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-window.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-12-14 21:41:46 +0100
committerStanislaw Halik <sthalik@misaki.pl>2021-12-14 21:43:03 +0100
commitd30123f938c3bb9b8e556eedabccc265818dc06a (patch)
treeda25c33b8a146592538925f936979bbbb8633b90 /opentrack/main-window.hpp
parentd3b86b83f3a9d64cc0c7b9562a2ad8ae37dd16f5 (diff)
gui, opentrack: initial support for embeddable module dialogs
Diffstat (limited to 'opentrack/main-window.hpp')
-rw-r--r--opentrack/main-window.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/opentrack/main-window.hpp b/opentrack/main-window.hpp
index 9ffb7019..cec76b7a 100644
--- a/opentrack/main-window.hpp
+++ b/opentrack/main-window.hpp
@@ -103,9 +103,12 @@ class main_window final : public QMainWindow, private State
void closeEvent(QCloseEvent *event) override;
bool event(QEvent *event) override;
- void show_tracker_settings();
- void show_proto_settings();
- void show_filter_settings();
+ void show_tracker_settings_(bool show);
+ void show_proto_settings_(bool show);
+ void show_filter_settings_(bool show);
+ void show_tracker_settings() { show_tracker_settings_(true); }
+ void show_proto_settings() { show_proto_settings_(true); }
+ void show_filter_settings() { show_filter_settings_(true); }
void show_options_dialog();
void show_mapping_window();