Zhenkai Zhu | c5c79b6 | 2012-05-30 15:06:29 -0700 | [diff] [blame] | 1 | #include "digesttreeviewer.h" |
2 | #include "digesttreescene.h" | ||||
3 | #include <QtGui> | ||||
4 | |||||
5 | DigestTreeViewer::DigestTreeViewer(QWidget *parent) | ||||
6 | : QGraphicsView(parent) | ||||
7 | { | ||||
8 | DigestTreeScene *scene = new DigestTreeScene(this); | ||||
9 | setScene(scene); | ||||
Zhenkai Zhu | eeff966 | 2012-05-30 17:02:49 -0700 | [diff] [blame^] | 10 | scene->plot(); |
11 | scene->plot(); | ||||
Zhenkai Zhu | c5c79b6 | 2012-05-30 15:06:29 -0700 | [diff] [blame] | 12 | } |