#ifndef FLOORPLANLISTMODEL_H
#define FLOORPLANLISTMODEL_H
#include <QAbstractListModel>
#include <QStringList>
#include <QNetworkAccessManager>
#include <QUrl>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QtGui>
#include <QDomDocument>

class floorplanlistmodel : public QAbstractListModel
{
    Q_OBJECT
public:
    floorplanlistmodel(const QStringList &nameString,const QPixmap p[],QObject *parent = 0);

    int rowCount ( const QModelIndex & parent = QModelIndex() ) const;
    QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const ;

    void setStrings(const QStringList & strings);
private:
    QStringList nameString;
    QPixmap _p[150];
    QPixmap arrow;

};

#endif // FLOORPLANLISTMODEL_H
