mirror of
				https://github.com/RetroShare/RetroShare.git
				synced 2025-10-30 22:29:00 -04:00 
			
		
		
		
	 0b78ed6ff8
			
		
	
	
		0b78ed6ff8
		
	
	
	
	
		
			
			git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			322 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			322 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include "Viewer.h"
 | |
| #include "Scene.h"
 | |
| #include <QResizeEvent>
 | |
| 
 | |
| using namespace std;
 | |
| 
 | |
| Viewer::Viewer(QWidget *parent) : QGraphicsView(parent)
 | |
| {
 | |
| }
 | |
| 
 | |
| 
 | |
| Viewer::~Viewer()
 | |
| {
 | |
| }
 | |
| 
 | |
| 
 | |
| void Viewer::resizeEvent(QResizeEvent* event)
 | |
| {
 | |
| QGraphicsView::resizeEvent(event);
 | |
| 
 | |
| if (scene() != 0) ((Scene*) scene())->groessenanpassung(event);
 | |
| }
 |