mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
34 lines
523 B
C++
34 lines
523 B
C++
#ifndef CSV_WORLD_TABLE_H
|
|
#define CSV_WORLD_TABLE_H
|
|
|
|
#include <vector>
|
|
|
|
#include <QTableView>
|
|
|
|
class QUndoStack;
|
|
|
|
namespace CSMWorld
|
|
{
|
|
class Data;
|
|
class UniversalId;
|
|
}
|
|
|
|
namespace CSVWorld
|
|
{
|
|
class CommandDelegate;
|
|
|
|
///< Table widget
|
|
class Table : public QTableView
|
|
{
|
|
std::vector<CommandDelegate *> mDelegates;
|
|
|
|
public:
|
|
|
|
Table (const CSMWorld::UniversalId& id, CSMWorld::Data& data, QUndoStack& undoStack);
|
|
|
|
void setEditLock (bool locked);
|
|
};
|
|
}
|
|
|
|
#endif
|