Fixing problems that aesalon has does nothing but raise more questions . . .
[aesalon.git] / gui / src / session / GraphWidget.h
blobf35cec923c79f2dee0be0ed32cad6358620a68bc
1 #ifndef AESALON_GUI_SESSION_GRAPH_WIDGET_H
2 #define AESALON_GUI_SESSION_GRAPH_WIDGET_H
4 #include <QWidget>
6 #include "GraphDataEngine.h"
8 class GraphWidget : public QWidget { Q_OBJECT
9 private:
10 GraphDataEngine *data_engine;
11 QImage *current_image;
12 public:
13 GraphWidget(QWidget *parent);
14 virtual ~GraphWidget();
15 protected:
16 virtual void paintEvent(QPaintEvent *event);
17 public slots:
18 void set_data_engine(GraphDataEngine *data_engine);
19 void update_image(QImage *new_image);
22 #endif