Files
giesCANne/newgraphdialog.h
T
Collin Kidder d298aea249 Fix to no longer default to new graphs being the first DBC signal loaded.
The previous behavior always loaded that first signal and that made graphing custom things more annoying as the signal parameters all had to be deleted first.
2015-08-18 20:07:04 -04:00

36 lines
678 B
C++

#ifndef NEWGRAPHDIALOG_H
#define NEWGRAPHDIALOG_H
#include <QDialog>
#include "graphingwindow.h"
#include "dbchandler.h"
namespace Ui {
class NewGraphDialog;
}
class NewGraphDialog : public QDialog
{
Q_OBJECT
public:
explicit NewGraphDialog(DBCHandler *handler, QWidget *parent = 0);
~NewGraphDialog();
void getParams(GraphParams &);
void setParams(GraphParams &);
void clearParams();
private slots:
void addButtonClicked();
void colorSwatchClick();
void loadMessages();
void loadSignals(int idx);
void fillFormFromSignal(int idx);
private:
Ui::NewGraphDialog *ui;
DBCHandler *dbcHandler;
};
#endif // NEWGRAPHDIALOG_H