summaryrefslogtreecommitdiffhomepage
path: root/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-neuralnet/ftnoir_tracker_neuralnet.cpp')
-rw-r--r--tracker-neuralnet/ftnoir_tracker_neuralnet.cpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp b/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp
index b56b4e96..59e17063 100644
--- a/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp
+++ b/tracker-neuralnet/ftnoir_tracker_neuralnet.cpp
@@ -747,10 +747,19 @@ NeuralNetDialog::NeuralNetDialog() :
tracker_status_poll_timer_.start();
}
+void NeuralNetDialog::save()
+{
+ settings_.b->save();
+}
+
+void NeuralNetDialog::reload()
+{
+ settings_.b->reload();
+}
void NeuralNetDialog::doOK()
{
- settings_.b->save();
+ save();
close();
}
@@ -793,6 +802,15 @@ void NeuralNetDialog::unregister_tracker()
ui_.tcalib_button->setEnabled(false);
}
+bool NeuralNetDialog::embeddable() noexcept
+{
+ return true;
+}
+
+void NeuralNetDialog::set_buttons_visible(bool x)
+{
+ ui_.buttonBox->setVisible(x);
+}
void NeuralNetDialog::status_poll()
{