21 #include <QtGui/QApplication> 22 #include <QtConcurrentRun> 24 #include <qapplication.h> 26 #include <sensor_msgs/LaserScan.h> 29 #include <qwt_series_data.h> 30 #include <qwt_symbol.h> 39 connect(currentThread, SIGNAL(valueChanged()),
this, SLOT(
replot()));
42 this->appearance = -1;
48 QPen pen1(Qt::gray, 1, Qt::SolidLine);
49 QPen pen2(Qt::red, 1, Qt::SolidLine);
50 QPen pen3(Qt::green, 1, Qt::SolidLine);
51 QPen pen4(Qt::red, 3, Qt::SolidLine);
52 QPen pen5(Qt::red, 3, Qt::SolidLine);
54 if (this->appearance != appearance)
120 plot_flat->setAxisScale(QwtPlot::yLeft, 0,6);
145 plot_flat->resize(this->width(),this->height());
222 if ((showData & 1) != 0)
231 if ((showData & 2) != 0)
240 if ((showData & 4) != 0)
249 if ((showData & 8) != 0)
258 if ((showData & 16) != 0)
279 plot_flat->resize(this->width(),this->height());
281 QWidget::resizeEvent(event);
unsigned int data_field_size