mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 10:56:42 +00:00 
			
		
		
		
	- move SizeHintWidget out to separate files - remove redundant logic in view.cpp - remove sizehint from dialogue subview - add tooltip hints in user preferences
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			301 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			301 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include "sizehint.hpp"
 | 
						|
 | 
						|
CSVDoc::SizeHintWidget::SizeHintWidget(QWidget *parent) : QWidget(parent)
 | 
						|
{}
 | 
						|
 | 
						|
CSVDoc::SizeHintWidget::~SizeHintWidget()
 | 
						|
{}
 | 
						|
 | 
						|
QSize CSVDoc::SizeHintWidget::sizeHint() const
 | 
						|
{
 | 
						|
    return mSize;
 | 
						|
}
 | 
						|
 | 
						|
void CSVDoc::SizeHintWidget::setSizeHint(const QSize &size)
 | 
						|
{
 | 
						|
    mSize = size;
 | 
						|
}
 |