1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00
OpenMW/apps/opencs/view/world/tablesubview.hpp

55 lines
1.2 KiB
C++
Raw Normal View History

#ifndef CSV_WORLD_TABLESUBVIEW_H
#define CSV_WORLD_TABLESUBVIEW_H
2012-12-11 13:22:43 +01:00
#include "../doc/subview.hpp"
class QModelIndex;
2014-01-20 16:17:49 +01:00
namespace CSMWorld
{
class IdTable;
}
2012-12-11 13:22:43 +01:00
namespace CSMDoc
{
class Document;
}
namespace CSVWorld
{
class Table;
2013-07-25 14:29:56 +02:00
class TableBottomBox;
2013-07-26 12:42:15 +02:00
class CreatorFactoryBase;
2012-12-11 13:22:43 +01:00
class TableSubView : public CSVDoc::SubView
{
Q_OBJECT
Table *mTable;
2013-07-25 14:29:56 +02:00
TableBottomBox *mBottom;
public:
TableSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document,
const CreatorFactoryBase& creatorFactory, bool sorting);
2013-07-25 14:29:56 +02:00
virtual void setEditLock (bool locked);
2013-07-25 14:29:56 +02:00
virtual void updateEditorSetting (const QString& key, const QString& value);
virtual void setStatusBar (bool show);
2014-01-19 11:44:47 +01:00
signals:
2014-01-21 08:27:29 +01:00
void cloneRequest(const std::string&,
const CSMWorld::UniversalId::Type,
const CSMWorld::UniversalId::ArgumentType);
private slots:
void editRequest (int row);
2014-01-21 08:27:29 +01:00
void cloneRequest (const CSMWorld::UniversalId& toClone);
};
}
#endif