#ifndef LOGSDIALOG_H #define LOGSDIALOG_H #include #include #include "qcustomplot.h" namespace Ui { class logsDialog; } class logsDialog : public QDialog { Q_OBJECT public: explicit logsDialog(QWidget *parent = 0); ~logsDialog(); private slots: void titleDoubleClick(); void axisLabelDoubleClick(QCPAxis* axis, QCPAxis::SelectablePart part); void legendDoubleClick(QCPLegend* legend, QCPAbstractLegendItem* item); void selectionChanged(); void mousePress(); void mouseWheel(); void removeSelectedGraph(); void removeAllGraphs(); void moveLegend(); void plotLogs(); void plotValue(int index, int plot, int numplots); void plottableItemDoubleClick(QCPAbstractPlottable * plottable, QMouseEvent * event); // void graphClicked(QCPAbstractPlottable *plottable); void on_fileOpen_BT_clicked(); void on_sessions_CB_currentIndexChanged(int index); void on_mapsButton_clicked(); private: QList csvlog; Ui::logsDialog *ui; bool cvsFileParse(); double GetScale(QString channel); QList palette; bool plotLock; QString logFilename; }; #endif // LOGSDIALOG_H