Fixing problems that aesalon has does nothing but raise more questions . . .
[aesalon.git] / gui / src / session / Graph.cpp
blobc646f8fc4872c2c0a74728ef95ef26d35dc36072
1 #include <QPainter>
2 #include "Graph.h"
3 #include "Graph.moc"
5 Graph::Graph(QWidget *parent) : QWidget(parent) {
6 graph_widget = new QWidget(this);
7 graph_widget->setEnabled(false);
10 Graph::~Graph() {
14 void Graph::update_graph(QImage *image) {
15 QPainter painter(graph_widget);
17 painter.drawImage(0, 0, *image);