+
+ connect(&_cursors.first(), SIGNAL(time_changed()),
+ this, SLOT(marker_time_changed()));
+ connect(&_cursors.second(), SIGNAL(time_changed()),
+ this, SLOT(marker_time_changed()));
+
+ connect(_header, SIGNAL(signals_moved()),
+ this, SLOT(on_signals_moved()));
+
+ connect(_header, SIGNAL(selection_changed()),
+ _ruler, SLOT(clear_selection()));
+ connect(_ruler, SIGNAL(selection_changed()),
+ _header, SLOT(clear_selection()));
+
+ connect(_header, SIGNAL(selection_changed()),
+ this, SIGNAL(selection_changed()));
+ connect(_ruler, SIGNAL(selection_changed()),
+ this, SIGNAL(selection_changed()));
+
+ setViewportMargins(LabelMarginWidth, RulerHeight, 0, 0);