Changeset 159 for Evidence/Edd/Edd.h
- Timestamp:
- 02/04/10 15:26:55 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Evidence/Edd/Edd.h
r152 r159 46 46 47 47 private slots: 48 void Update(DimInfo *, int, Q String, QByteArray, QString);48 void Update(DimInfo *, int, QByteArray, QString); 49 49 void contextMenuEvent(QContextMenuEvent *); 50 50 void MenuOpenHistory(); 51 51 void MenuCopyService(); 52 void MenuCopyData(); 52 53 }; 53 54 54 55 // Graph class for history display 55 class Edd_Plot: public QwtPlot, public DimClient{56 class Edd_Plot: public QwtPlot, public EvidenceHistory { 56 57 Q_OBJECT 57 58 58 59 struct PlotItem { 59 DimInfo *Data;60 60 DimInfo *LiveData; 61 61 QwtPlotCurve *Signal; 62 int *x;63 double *y;64 int Count;65 62 double Smallest; 66 63 double Largest; 67 QList<struct EvidenceHistoryItem> Live; 64 int SizeLimit; 65 QVector<double> x; 66 QVector<double> y; 68 67 }; 69 68 … … 93 92 private slots: 94 93 void UpdatePlot(); 95 void Update(DimInfo* Info, int, Q String, QByteArray, QString);94 void Update(DimInfo* Info, int, QByteArray, QString); 96 95 97 96 void HandleZoom(const QwtDoubleRect &); … … 106 105 }; 107 106 107 // Text history class 108 class Edd_TextHist: public QTextEdit, public EvidenceHistory { 109 Q_OBJECT 110 111 QString StatusTip; 112 DimStampedInfo *Service; 113 114 public: 115 Edd_TextHist(QString, QWidget * = NULL); 116 ~Edd_TextHist(); 117 118 private slots: 119 void Update(DimInfo* Info, int, QByteArray, QString); 120 }; 121 108 122 // Textout indicator for DIM service 109 class Edd_Textout: public QTextEdit, public DimClient{123 class Edd_Textout: public QTextEdit, public EvidenceHistory { 110 124 Q_OBJECT 111 125 … … 119 133 120 134 private slots: 121 void Update(DimInfo* Info, int, Q String, QByteArray, QString);135 void Update(DimInfo* Info, int, QByteArray, QString); 122 136 }; 123 137 … … 143 157 void MenuAbout(); 144 158 void MenuNewHistory(); 159 void StartDIMBrowser(); 145 160 146 161 signals: 147 void YEP(DimInfo *, int, Q String = QString(), QByteArray = QByteArray(), QString = QString());162 void YEP(DimInfo *, int, QByteArray = QByteArray(), QString = QString()); 148 163 }; 149 164
Note:
See TracChangeset
for help on using the changeset viewer.