+ segment_selector_->setMinimum(1);
+ segment_selector_->hide();
+ connect(&session_, SIGNAL(new_segment(int)),
+ this, SLOT(on_new_segment(int)));
+
+ connect(&session_, SIGNAL(segment_completed(int)),
+ view_, SLOT(on_segment_completed(int)));
+
+ connect(segment_selector_, SIGNAL(valueChanged(int)),
+ this, SLOT(on_segment_selected(int)));
+ connect(view_, SIGNAL(segment_changed(int)),
+ this, SLOT(on_segment_changed(int)));
+
+ connect(this, SIGNAL(segment_selected(int)),
+ view_, SLOT(on_segment_changed(int)));
+
+ connect(view_, SIGNAL(segment_display_mode_changed(bool)),
+ this, SLOT(on_segment_display_mode_changed(bool)));
+