mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 10:56:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			No EOL
		
	
	
		
			432 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			No EOL
		
	
	
		
			432 B
		
	
	
	
		
			C++
		
	
	
	
	
	
 | 
						|
#include "runlogsubview.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
 | 
						|
} |