added AD editor (not work yet, just for test)

This commit is contained in:
2010-08-25 03:10:15 +03:00
parent 68784b7e9e
commit d897bb8fa2
27 changed files with 2163 additions and 398 deletions

23
ADeditor/alienmodel.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef ALIENMODEL_H
#define ALIENMODEL_H
#include <QAbstractListModel>
#include "../loader.h"
class AlienModel : public QAbstractListModel
{
Q_OBJECT
public:
explicit AlienModel(QList<tbAlien> aliens, QObject *parent = 0);
int rowCount(const QModelIndex &parent = QModelIndex()) const;
QVariant data(const QModelIndex &index, int role) const;
signals:
public slots:
private:
QList<tbAlien> aliens;
};
#endif // ALIENMODEL_H