2014-09-05 11:49:34 +00:00
|
|
|
#include "runlogsubview.hpp"
|
|
|
|
|
2022-08-19 17:19:42 +00:00
|
|
|
#include "../../model/doc/document.hpp"
|
|
|
|
|
2022-10-19 17:02:00 +00:00
|
|
|
#include <apps/opencs/view/doc/subview.hpp>
|
|
|
|
|
2014-09-05 11:49:34 +00:00
|
|
|
#include <QTextEdit>
|
|
|
|
|
|
|
|
CSVDoc::RunLogSubView::RunLogSubView(const CSMWorld::UniversalId& id, CSMDoc::Document& document)
|
|
|
|
: SubView(id)
|
|
|
|
{
|
|
|
|
QTextEdit* edit = new QTextEdit(this);
|
|
|
|
edit->setDocument(document.getRunLog());
|
|
|
|
edit->setReadOnly(true);
|
|
|
|
|
|
|
|
setWidget(edit);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CSVDoc::RunLogSubView::setEditLock(bool locked)
|
|
|
|
{
|
|
|
|
// ignored since this SubView does not have editing
|
2015-03-11 14:54:45 +00:00
|
|
|
}
|