mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
23 lines
511 B
C++
23 lines
511 B
C++
#include "runlogsubview.hpp"
|
|
|
|
#include "../../model/doc/document.hpp"
|
|
|
|
#include <apps/opencs/view/doc/subview.hpp>
|
|
|
|
#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
|
|
}
|