diff options
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); } |