commit | c5c79b69c772d47a5d9d419ba7957bf0dbfe81ce | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Wed May 30 15:06:29 2012 -0700 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Wed May 30 15:06:29 2012 -0700 |
tree | b0cfa98c7320ab9b902e534a47ce8921cc572f09 | |
parent | 8eea4a6fc8dde7a138eb22af64924e9a9d7252ff [diff] [blame] |
draws tree
diff --git a/demo/digesttreeviewer.cpp b/demo/digesttreeviewer.cpp new file mode 100644 index 0000000..cb52a9e --- /dev/null +++ b/demo/digesttreeviewer.cpp
@@ -0,0 +1,10 @@ +#include "digesttreeviewer.h" +#include "digesttreescene.h" +#include <QtGui> + +DigestTreeViewer::DigestTreeViewer(QWidget *parent) + : QGraphicsView(parent) +{ + DigestTreeScene *scene = new DigestTreeScene(this); + setScene(scene); +}