|
|
@ -90,7 +90,11 @@ public:
|
|
|
|
int columnCount() const;
|
|
|
|
int columnCount() const;
|
|
|
|
|
|
|
|
|
|
|
|
TileModel::TNodeTileType getTileType();
|
|
|
|
TileModel::TNodeTileType getTileType();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool removeChildren( int position, int count );
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
|
|
|
|
void reindex();
|
|
|
|
TileModel::TNodeTileType m_nodeTileType;
|
|
|
|
TileModel::TNodeTileType m_nodeTileType;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -102,6 +106,8 @@ public:
|
|
|
|
QVariant data(int column, int role) const;
|
|
|
|
QVariant data(int column, int role) const;
|
|
|
|
int columnCount() const;
|
|
|
|
int columnCount() const;
|
|
|
|
void setTileFilename(TileModel::TTileChannel channel, QString filename);
|
|
|
|
void setTileFilename(TileModel::TTileChannel channel, QString filename);
|
|
|
|
|
|
|
|
void setId( int id ){ m_tileId = id; }
|
|
|
|
|
|
|
|
int id() const{ return m_tileId; }
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
int m_tileId;
|
|
|
|
int m_tileId;
|
|
|
|
QMap<TileModel::TTileChannel, QString> m_tileFilename;
|
|
|
|
QMap<TileModel::TTileChannel, QString> m_tileFilename;
|
|
|
|