Files
giesCANne/newgraphdialog.h
T
Collin Kidder 4282f6b25c *Very* drastic changes to the graphing system. Now all graphs are done very much like DBC signals. Quite a bit has changed.
This commit compiles but the results are all funky. Just committing to give a good reference point during debugging. Don't
use compiles from this revision. Wait young Jedi...
2016-05-10 22:38:16 -04:00

41 lines
825 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 showEvent(QShowEvent*);
void getParams(GraphParams &);
void setParams(GraphParams &);
void clearParams();
private slots:
void addButtonClicked();
void colorSwatchClick();
void loadMessages();
void loadSignals(int idx);
void bitfieldClicked(int,int);
void handleDataLenUpdate();
void drawBitfield();
void copySignalToParamsUI();
private:
Ui::NewGraphDialog *ui;
DBCHandler *dbcHandler;
int startBit, dataLen;
};
#endif // NEWGRAPHDIALOG_H