_run_stop_button(this)
{
connect(&_run_stop_button, SIGNAL(clicked()),
- this, SIGNAL(run_stop()));
+ this, SLOT(on_run_stop()));
connect(&_device_selector, SIGNAL(currentIndexChanged (int)),
this, SLOT(on_device_selected()));
connect(&_configure_button, SIGNAL(clicked()),
- this, SLOT(configure()));
+ this, SLOT(on_configure()));
_sample_rate_value.setDecimals(0);
_sample_rate_value.setSuffix("Hz");
commit_sample_rate();
}
-void SamplingBar::configure()
+void SamplingBar::on_configure()
{
commit_sample_rate();
update_sample_rate_selector_value();
}
+void SamplingBar::on_run_stop()
+{
+ commit_sample_rate();
+ run_stop();
+}
+
} // namespace toolbars
} // namespace pv