Changeset 259 in flair-src for trunk/tools/FlairGCS/src/UsSensorPlot.h
- Timestamp:
- 07/25/18 17:27:17 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/FlairGCS/src/UsSensorPlot.h
r221 r259 16 16 class QMouseEvent; 17 17 class QwtPlotMarker; 18 class QScrollBar; 18 19 19 20 class UsSensorPlot : public DataRemote { … … 33 34 void alignScales(void); 34 35 float xmin_orig, xmax_orig, ymin_orig, ymax_orig; 36 QScrollBar* scrollbar; 35 37 36 38 QwtPlotCurve *datas; 37 39 QwtPlotMarker *firstPeakStart,*firstPeakEnd,*secondPeakStart,*secondPeakEnd; 38 40 QString datasType; 39 bool datas_first_update;40 41 double *dx; 41 double *dy; 42 43 struct measure_t { 44 double *dy; 45 uint16_t firstPeakStartIndex; 46 uint16_t firstPeakEndIndex; 47 uint16_t secondPeakStartIndex; 48 uint16_t secondPeakEndIndex; 49 }; 50 QList<measure_t> measures; 51 52 42 53 uint32_t nbSamples; 54 bool scrolling; 43 55 44 56 bool eventFilter(QObject *, QEvent *); … … 46 58 void setXAxisScale(float xmin, float xmax); 47 59 void BufEvent(char **buf, int *buf_size, uint16_t period, bool big_endian); 60 void plotMeasure(int index); 61 62 private slots: 63 void scrollBarMoved(int value); 48 64 }; 49 65
Note:
See TracChangeset
for help on using the changeset viewer.