Add drawing of paths to debugger

https://codereview.appspot.com/6850082/



git-svn-id: http://skia.googlecode.com/svn/trunk@6532 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/QT/SkImageWidget.h b/debugger/QT/SkImageWidget.h
new file mode 100644
index 0000000..594b21a
--- /dev/null
+++ b/debugger/QT/SkImageWidget.h
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2012 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+
+#ifndef SKIMAGEWIDGET_H_
+#define SKIMAGEWIDGET_H_
+
+#include <QWidget>
+
+class SkDebugger;
+
+class  SkImageWidget : public QWidget {
+    Q_OBJECT
+
+public:
+    SkImageWidget(SkDebugger* debugger);
+
+    void draw() {
+        this->update();
+    }
+
+    static const int kImageWidgetWidth = 256;
+    static const int kImageWidgetHeight = 256;
+
+signals:
+    void drawComplete();
+
+protected:
+    void paintEvent(QPaintEvent* event);
+
+private:
+    SkDebugger *fDebugger;
+};
+
+#endif /* SKIMAGEWIDGET_H_ */