59 #include "QtGLGraphicsView.hh"
70 QtGLGraphicsView::QtGLGraphicsView(QtBaseViewer* _w, QWidget* _parent) :
71 QGraphicsView (_parent),
74 setFocusPolicy(Qt::StrongFocus);
75 setAcceptDrops (
true);
78 void QtGLGraphicsView::resizeEvent(QResizeEvent *_event) {
80 scene()->setSceneRect(QRect(QPoint(0, 0), _event->size()));
81 QGraphicsView::resizeEvent(_event);
82 w_->resizeGL (_event->size().width(), _event->size().height ());
Namespace providing different geometric functions concerning angles.