]> SALOME platform Git repositories - modules/gui.git/blobdiff - src/OCCViewer/OCCViewer_Utilities.h
Salome HOME
0023124: EDF 11219 GEOM: Ray tracing in the OCC viewer
[modules/gui.git] / src / OCCViewer / OCCViewer_Utilities.h
index 125c0c4587970fc6ba0ac870fae741ec5d8c9dcc..484494543a2c828449a8cab5504ecd4da83d95ad 100755 (executable)
@@ -55,6 +55,14 @@ public:
               setViewer2DMode( OCCViewer_Viewer* theViewer,
                                const OCCViewer_ViewWindow::Mode2dType& theMode );
 
+  /*!
+   * Find dialog in the current view frame by name
+   * \param theView an OCC view
+   * \param theName name of dialog
+   * \return true/false if dialog is opened/isn't opened
+   */
+  static bool isDialogOpened( OCCViewer_ViewWindow* theView, const QString& theName );
+
 };
 
 #endif // OCCVIEWER_UTILITIES_H