diff host/host.cpp @ 6:b046af03c719

* Added image window stuff
author cannam
date Fri, 10 Nov 2006 17:46:44 +0000
parents 86914ea77b7b
children b30fcffc5000
line wrap: on
line diff
--- a/host/host.cpp	Mon Nov 06 20:12:38 2006 +0000
+++ b/host/host.cpp	Fri Nov 10 17:46:44 2006 +0000
@@ -12,6 +12,7 @@
 
 #include "Processor.h"
 #include "SimpleXMLRuleLoader.h"
+#include "ImageWindow.h"
 
 #include <cmath>
 #include <cassert>
@@ -51,8 +52,14 @@
         return 1;
     }
 
+    ImageWindow window;
+    window.show();
+
     Processor processor(target);
 
+    QObject::connect(&processor, SIGNAL(showImage(QString)),
+                     &window, SLOT(showImage(QString)));
+
     SimpleXMLRuleLoader loader;
     if (!loader.loadFile(processor, "test.xml")) {
         std::cerr << "ERROR: Failed to load test XML file" << std::endl;