+ fix issue with cursor on viewer widget, prepare code for improved event handling
This commit is contained in:
@@ -111,6 +111,21 @@ void GraphicsView::resizeEvent(QResizeEvent *event)
|
||||
QGraphicsView::resizeEvent(event);
|
||||
}
|
||||
|
||||
|
||||
//QDialog *dialog = new QDialog(0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint);
|
||||
|
||||
////dialog->setWindowOpacity(0.8);
|
||||
//dialog->setWindowTitle(tr("Titel"));
|
||||
//dialog->setLayout(new QVBoxLayout);
|
||||
//dialog->layout()->addWidget(new QLabel(tr("Use mouse wheel to zoom model, and click and drag to rotate model")));
|
||||
//dialog->layout()->addWidget(new QLabel(tr("Move the sun around to change the light position")));
|
||||
//dialog->layout()->addWidget(new QSpinBox);
|
||||
|
||||
//QGraphicsScene* scene = _viewer->scene();
|
||||
//QGraphicsProxyWidget* g1 = scene->addWidget(dialog);
|
||||
//g1->setWindowFlags(Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint);
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class SceneEventFilter::Private
|
||||
|
||||
Reference in New Issue
Block a user