1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:53:50 +00:00
openmw-tes3mp/apps/opencs/view/world/table.hpp

34 lines
523 B
C++
Raw Normal View History

#ifndef CSV_WORLD_TABLE_H
#define CSV_WORLD_TABLE_H
2012-11-30 12:58:10 +00:00
#include <vector>
#include <QTableView>
class QUndoStack;
namespace CSMWorld
{
class Data;
class UniversalId;
}
namespace CSVWorld
{
2012-11-30 12:58:10 +00:00
class CommandDelegate;
///< Table widget
class Table : public QTableView
{
2012-11-30 12:58:10 +00:00
std::vector<CommandDelegate *> mDelegates;
public:
Table (const CSMWorld::UniversalId& id, CSMWorld::Data& data, QUndoStack& undoStack);
2012-11-30 12:58:10 +00:00
void setEditLock (bool locked);
};
}
#endif