mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
23 lines
322 B
C++
23 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);
|
||
|
}
|