2013-07-08 13:12:50 +02:00
|
|
|
|
|
|
|
#include "regionmapsubview.hpp"
|
|
|
|
|
2014-04-10 22:12:09 +02:00
|
|
|
#include "regionmap.hpp"
|
2013-07-08 13:12:50 +02:00
|
|
|
|
|
|
|
CSVWorld::RegionMapSubView::RegionMapSubView (CSMWorld::UniversalId universalId,
|
|
|
|
CSMDoc::Document& document)
|
|
|
|
: CSVDoc::SubView (universalId)
|
|
|
|
{
|
2014-04-10 22:12:09 +02:00
|
|
|
mRegionMap = new RegionMap (document.getData().getTableModel (universalId), this);
|
2013-07-08 13:12:50 +02:00
|
|
|
|
2014-04-10 22:12:09 +02:00
|
|
|
setWidget (mRegionMap);
|
2013-07-08 13:12:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void CSVWorld::RegionMapSubView::setEditLock (bool locked)
|
|
|
|
{
|
2014-04-10 22:12:09 +02:00
|
|
|
mRegionMap->setEditLock (locked);
|
2013-07-08 13:12:50 +02:00
|
|
|
}
|