this, SLOT(h_scroll_value_changed(int)));
connect(verticalScrollBar(), SIGNAL(valueChanged(int)),
this, SLOT(v_scroll_value_changed(int)));
+
+ connect(&_session, SIGNAL(signals_changed()),
+ this, SLOT(signals_changed()));
connect(&_session, SIGNAL(data_updated()),
this, SLOT(data_updated()));
_viewport->update();
}
+void View::signals_changed()
+{
+ reset_signal_layout();
+}
+
void View::data_updated()
{
// Get the new data length
// Repaint the view
_viewport->update();
-
- /// @todo: Call this only once when the signals are first created.
- reset_signal_layout();
}
void View::marker_time_changed()
void h_scroll_value_changed(int value);
void v_scroll_value_changed(int value);
+ void signals_changed();
void data_updated();
void marker_time_changed();