BuildLogViewer/AtAGlance.h
changeset 1 8e9c5760ce6f
child 3 e6d1a78b6db9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BuildLogViewer/AtAGlance.h	Wed Sep 02 19:04:26 2009 -0700
@@ -0,0 +1,32 @@
+#ifndef ATAGLANCE_H
+#define ATAGLANCE_H
+
+#include <QDomElement>
+#include <QWidget>
+
+#include "BuildStatus.h"
+
+/*
+  * This class presents the status for a given build.  It gets the
+  * appropriate data from the model.
+  */
+
+class AtAGlance : public QWidget
+{
+    Q_OBJECT
+
+public:
+    AtAGlance(QString filename, QWidget *parent = 0 );
+    ~AtAGlance();
+
+    void traveAndPopulate();
+    void decideOnLayout();
+private:
+    void traveAndPopulate(QDomElement e);
+
+private:
+    QDomDocument *m_log;
+    BuildStatus *m_buildStatus;
+};
+
+#endif // ATAGLANCE_H