projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DecodeTrace: Speed up painting by not copying the annotations
[pulseview.git]
/
pv
/
views
/
trace
/
trace.cpp
diff --git
a/pv/views/trace/trace.cpp
b/pv/views/trace/trace.cpp
index cc91fff5a5aa43de401ec6b64cc4f1cc48d61090..0e15480022c9d83cc82a397b449c490bfd65bc30 100644
(file)
--- a/
pv/views/trace/trace.cpp
+++ b/
pv/views/trace/trace.cpp
@@
-244,16
+244,6
@@
void Trace::populate_popup_form(QWidget *parent, QFormLayout *form)
add_color_option(parent, form);
}
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::set_segment_display_mode(SegmentDisplayMode mode)
{
segment_display_mode_ = mode;
@@
-291,13
+281,13
@@
void Trace::on_popup_closed()
void Trace::on_nameedit_changed(const QString &name)
{
/* This event handler notifies SignalBase that the name changed */
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 */
}
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
}
} // namespace trace