1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 10:53:53 +00:00
openmw/apps/opencs/view/tools/reportsubview.cpp

24 lines
690 B
C++
Raw Normal View History

2012-12-11 14:35:47 +00:00
#include "reportsubview.hpp"
2014-12-06 12:01:55 +00:00
#include "reporttable.hpp"
2013-09-22 11:54:01 +00:00
2012-12-11 14:35:47 +00:00
CSVTools::ReportSubView::ReportSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document)
2014-12-06 12:01:55 +00:00
: CSVDoc::SubView (id)
2012-12-11 14:35:47 +00:00
{
setWidget (mTable = new ReportTable (document, id, false, this));
2013-09-22 11:54:01 +00:00
2014-12-06 12:01:55 +00:00
connect (mTable, SIGNAL (editRequest (const CSMWorld::UniversalId&, const std::string&)),
SIGNAL (focusId (const CSMWorld::UniversalId&, const std::string&)));
2012-12-11 14:35:47 +00:00
}
void CSVTools::ReportSubView::setEditLock (bool locked)
{
// ignored. We don't change document state anyway.
}
2014-12-06 12:01:55 +00:00
void CSVTools::ReportSubView::updateUserSetting (const QString &name, const QStringList &list)
{
2014-12-06 12:01:55 +00:00
mTable->updateUserSetting (name, list);
}