1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 14:23:53 +00:00
openmw/apps/opencs/view/doc/runlogsubview.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
511 B
C++
Raw Normal View History

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
}