1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 10:53:51 +00:00
openmw-tes3mp/apps/opencs/view/render/unpagedworldspacewidget.hpp

45 lines
838 B
C++
Raw Normal View History

#ifndef OPENCS_VIEW_UNPAGEDWORLDSPACEWIDGET_H
#define OPENCS_VIEW_UNPAGEDWORLDSPACEWIDGET_H
2014-03-06 12:02:21 +00:00
#include <string>
#include "worldspacewidget.hpp"
2014-03-06 12:02:21 +00:00
class QModelIndex;
namespace CSMDoc
{
class Document;
}
namespace CSMWorld
{
class IdTable;
}
namespace CSVRender
{
class UnpagedWorldspaceWidget : public WorldspaceWidget
{
Q_OBJECT
2014-03-06 12:02:21 +00:00
std::string mCellId;
CSMWorld::IdTable *mCellsModel;
void update();
public:
2014-03-06 12:02:21 +00:00
UnpagedWorldspaceWidget (const std::string& cellId, CSMDoc::Document& document,
QWidget *parent);
private slots:
void cellDataChanged (const QModelIndex& topLeft, const QModelIndex& bottomRight);
void cellRowsAboutToBeRemoved (const QModelIndex& parent, int start, int end);
};
}
#endif