diff options
author | Michael L Dickens <mlk@alum.mit.edu> | 2013-01-07 08:42:36 -0500 |
---|---|---|
committer | Michael L Dickens <mlk@alum.mit.edu> | 2013-01-07 08:42:36 -0500 |
commit | 1d72dbaf448cb4a398223835b69b71ae3d2a6c22 (patch) | |
tree | 2e84446576313fe2df21fd982364073dc76e8a26 /gr-qtgui/lib/DisplayPlot.cc | |
parent | c03114f9861920b246c36bb7e6b2098dadacd60e (diff) | |
parent | 6ac84d93d4e41a68f9e2885ffc403ed2e0e11a27 (diff) |
Merge branch 'next' into fix_build_dir_order_next
Diffstat (limited to 'gr-qtgui/lib/DisplayPlot.cc')
-rw-r--r-- | gr-qtgui/lib/DisplayPlot.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gr-qtgui/lib/DisplayPlot.cc b/gr-qtgui/lib/DisplayPlot.cc index a91ac721f1..bf1c198897 100644 --- a/gr-qtgui/lib/DisplayPlot.cc +++ b/gr-qtgui/lib/DisplayPlot.cc @@ -60,11 +60,11 @@ DisplayPlot::DisplayPlot(int nplots, QWidget* parent) #if QWT_VERSION < 0x060000 connect(_picker, SIGNAL(selected(const QwtDoublePoint &)), - this, SLOT(OnPickerPointSelected(const QwtDoublePoint &))); + this, SLOT(onPickerPointSelected(const QwtDoublePoint &))); #else _picker->setStateMachine(new QwtPickerDblClickPointMachine()); connect(_picker, SIGNAL(selected(const QPointF &)), - this, SLOT(OnPickerPointSelected6(const QPointF &))); + this, SLOT(onPickerPointSelected6(const QPointF &))); #endif // Configure magnify on mouse wheel @@ -83,7 +83,7 @@ DisplayPlot::DisplayPlot(int nplots, QWidget* parent) insertLegend(legendDisplay); connect(this, SIGNAL(legendChecked(QwtPlotItem *, bool)), - this, SLOT(LegendEntryChecked(QwtPlotItem *, bool))); + this, SLOT(legendEntryChecked(QwtPlotItem *, bool))); } DisplayPlot::~DisplayPlot() @@ -390,24 +390,24 @@ DisplayPlot::resizeSlot( QSize *s ) resize(s->width()-10, s->height()-10); } -void DisplayPlot::LegendEntryChecked(QwtPlotItem* plotItem, bool on) +void DisplayPlot::legendEntryChecked(QwtPlotItem* plotItem, bool on) { plotItem->setVisible(!on); replot(); } void -DisplayPlot::OnPickerPointSelected(const QwtDoublePoint & p) +DisplayPlot::onPickerPointSelected(const QwtDoublePoint & p) { QPointF point = p; - //fprintf(stderr,"OnPickerPointSelected %f %f\n", point.x(), point.y()); + //fprintf(stderr,"onPickerPointSelected %f %f\n", point.x(), point.y()); emit plotPointSelected(point); } void -DisplayPlot::OnPickerPointSelected6(const QPointF & p) +DisplayPlot::onPickerPointSelected6(const QPointF & p) { QPointF point = p; - //fprintf(stderr,"OnPickerPointSelected %f %f\n", point.x(), point.y()); + //fprintf(stderr,"onPickerPointSelected %f %f\n", point.x(), point.y()); emit plotPointSelected(point); } |