Files
giesCANne/re/newgraphdialog.h
T
Collin Kidder 9302c18c33 Integrated help into the system. Most all the sub-screens that are actually complete
and working have integrated help now. Press F1 to bring up help for a given window.
2017-11-30 21:02:16 -05:00

43 lines
881 B
C++

#ifndef NEWGRAPHDIALOG_H
#define NEWGRAPHDIALOG_H
#include <QDialog>
#include "graphingwindow.h"
#include "dbc/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:
bool eventFilter(QObject *obj, QEvent *event);
Ui::NewGraphDialog *ui;
DBCHandler *dbcHandler;
int startBit, dataLen;
};
#endif // NEWGRAPHDIALOG_H