- bool OnGUIEvent(int theCommandID, QAD_Desktop * parent)
- {
- return SMESHGUI::OnGUIEvent(theCommandID, parent);
- }
-
- bool OnKeyPress(QKeyEvent * pe, QAD_Desktop * parent,
- QAD_StudyFrame * studyFrame)
- {
- return SMESHGUI::OnKeyPress(pe, parent, studyFrame);
- }
-
- bool OnMousePress(QMouseEvent * pe, QAD_Desktop * parent,
- QAD_StudyFrame * studyFrame)
- {
- return SMESHGUI::OnMousePress(pe, parent, studyFrame);
- }
-
- bool OnMouseMove(QMouseEvent * pe, QAD_Desktop * parent,
- QAD_StudyFrame * studyFrame)
- {
- return SMESHGUI::OnMouseMove(pe, parent, studyFrame);
- }
-
- bool SetSettings(QAD_Desktop * parent)
- {
- return SMESHGUI::SetSettings(parent);
- }
-
- bool customPopup(QAD_Desktop * parent, QPopupMenu * popup,
- const QString & theContext, const QString & theParent,
- const QString & theObject)
- {
- return SMESHGUI::CustomPopup(parent, popup, theContext, theParent,
- theObject);
- }
-
- void definePopup(QString & theContext, QString & theParent,
- QString & theObject)
- {
- SMESHGUI::DefinePopup(theContext, theParent, theObject);
- }
-
- bool activeStudyChanged(QAD_Desktop * parent)
- {
- SMESHGUI::activeStudyChanged(parent);
- }
-
- void buildPresentation(const Handle(SALOME_InteractiveObject) & theIO)
- {
- SMESHGUI::BuildPresentation(theIO);
- }
-
- void supportedViewType(int *buffer, int bufferSize)
- {
- if (!buffer || !bufferSize)
- return;
- buffer[0] = (int)VIEW_VTK;
- }
-
- void deactivate()
- {
- if ( SMESHGUI::GetSMESHGUI() ) {
- SMESHGUI::GetSMESHGUI()->EmitSignalCloseAllDialogs();
- }
- }