summaryrefslogtreecommitdiffhomepage
path: root/tracker-neuralnet/ftnoir_tracker_neuralnet.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-01-04 13:08:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-01-23 14:16:33 +0100
commitd9a88a7a56f0ba41f2505b9b5756a4a0c26fa786 (patch)
tree78fafeecbec98cd7ed9a8044edf6e20cca6416d6 /tracker-neuralnet/ftnoir_tracker_neuralnet.h
parent8ff5c1a349781810a9166128e7840e0ee281e8ae (diff)
[MERGE] tracker/nn: make dialog embeddable
Diffstat (limited to 'tracker-neuralnet/ftnoir_tracker_neuralnet.h')
-rw-r--r--tracker-neuralnet/ftnoir_tracker_neuralnet.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tracker-neuralnet/ftnoir_tracker_neuralnet.h b/tracker-neuralnet/ftnoir_tracker_neuralnet.h
index 9e0374da..3548335e 100644
--- a/tracker-neuralnet/ftnoir_tracker_neuralnet.h
+++ b/tracker-neuralnet/ftnoir_tracker_neuralnet.h
@@ -166,6 +166,9 @@ public:
NeuralNetDialog();
void register_tracker(ITracker * x) override;
void unregister_tracker() override;
+
+ bool embeddable() noexcept override;
+ void set_buttons_visible(bool x) override;
private:
void make_fps_combobox();
void make_resolution_combobox();
@@ -180,6 +183,8 @@ private:
NeuralNetTracker* tracker_ = nullptr;
private Q_SLOTS:
+ void save() override;
+ void reload() override;
void doOK();
void doCancel();
void camera_settings();