connect(aViewer, SIGNAL(keyRelease(QKeyEvent*)),
this, SIGNAL(keyRelease(QKeyEvent*)));
+
+ connect(aViewer, SIGNAL(selectionChanged()), this, SIGNAL(selectionChanged()));
+ connect(aViewer, SIGNAL(contextMenuRequested(QContextMenuEvent*)),
+ this, SIGNAL(contextMenuRequested(QContextMenuEvent*)));
+
} else {
XGUI_Viewer* aViewer = myWorkshop->mainWindow()->viewer();
this, SLOT(onKeyPress(XGUI_ViewWindow*, QKeyEvent*)));
connect(aViewer, SIGNAL(keyRelease(XGUI_ViewWindow*, QKeyEvent*)),
this, SLOT(onKeyRelease(XGUI_ViewWindow*, QKeyEvent*)));
+
+ connect(aViewer, SIGNAL(selectionChanged()), this, SIGNAL(selectionChanged()));
+ connect(aViewer, SIGNAL(contextMenuRequested(QContextMenuEvent*)),
+ this, SIGNAL(contextMenuRequested(QContextMenuEvent*)));
}
}