Files
edgetx-gx12/companion/src/logsdialog.h
T
romoloman@github.comandromoloman@github.com 53f48dc487 Allow selection of fields for GE export
2013-12-29 18:19:14 +01:00

50 lines
1.1 KiB
C++

#ifndef LOGSDIALOG_H
#define LOGSDIALOG_H
#include <QtCore>
#include <QtGui>
#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<QStringList> csvlog;
Ui::logsDialog *ui;
bool cvsFileParse();
double GetScale(QString channel);
QList<QColor> palette;
bool plotLock;
QString logFilename;
};
#endif // LOGSDIALOG_H