add_color_option(parent, form);
}
-void Trace::set_name(QString name)
-{
- base_->set_name(name);
-}
-
-void Trace::set_color(QColor color)
-{
- base_->set_color(color);
-}
-
void Trace::set_segment_display_mode(SegmentDisplayMode mode)
{
segment_display_mode_ = mode;
void Trace::on_nameedit_changed(const QString &name)
{
/* This event handler notifies SignalBase that the name changed */
- set_name(name);
+ base_->set_name(name);
}
void Trace::on_coloredit_changed(const QColor &color)
{
/* This event handler notifies SignalBase that the color changed */
- set_color(color);
+ base_->set_color(color);
}
} // namespace trace
*/
shared_ptr<data::SignalBase> base() const;
- /**
- * Sets the name of the signal.
- */
- virtual void set_name(QString name);
-
- /**
- * Set the color of the signal.
- */
- virtual void set_color(QColor color);
-
/**
* Configures the segment display mode to use.
*/