BuildLogViewer/AtAGlance.h
author John Kern <johnk@symbian.org>
Thu, 26 Aug 2010 14:34:34 -0700
changeset 40 edc0144719a1
parent 3 e6d1a78b6db9
permissions -rwxr-xr-x
removed invariant from data() and rowCount(). Performance should be ok now.

#ifndef ATAGLANCE_H
#define ATAGLANCE_H

#include <QDomElement>
#include <QWidget>

#include "BuildStatus.h"
#include "ui_BuildResults.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:
    Ui::BuildResultsForm *ui;
    QDomDocument *m_log;
    BuildStatus *m_buildStatus;
};

#endif // ATAGLANCE_H