SMESHGUI_VTKUtils.cxx \
SMESHGUI_Selection.cxx \
SMESHGUI_CreatePolyhedralVolumeDlg.cxx \
+ SMESHGUI_Dialog.cxx \
SMESHGUI_Operation.cxx
LIB_MOC = \
SMESHGUI_SewingDlg.h \
SMESHGUI_PrecisionDlg.h \
SMESHGUI_MergeNodesDlg.h \
+ SMESHGUI_Dialog.h \
SMESHGUI_CreatePolyhedralVolumeDlg.h \
SMESHGUI_Operation.h
if( pId!=-1 )
parentId = popupMgr()->actionId( action( pId ) );
- if( !popupMgr()->contains( popupMgr()->actionId( action( id ) ) ) )
+// if( !popupMgr()->contains( popupMgr()->actionId( action( id ) ) ) )
popupMgr()->insert( action( id ), parentId, 0 );
QChar lc = QtxPopupMgr::Selection::defEquality();
--- /dev/null
+
+#include <SMESHGUI_Dialog.h>
+#include <SMESHGUI_Utils.h>
+#include <SMESHGUI.h>
+
+#include <SUIT_Desktop.h>
+
+SMESHGUI_Dialog::SMESHGUI_Dialog( SMESHGUI* theModule, const bool modal, const bool allowResize,
+ const int flags )
+: SalomeApp_Dialog( SMESH::GetDesktop( theModule ), "", modal, allowResize, flags )
+{
+}
+
+SMESHGUI_Dialog::~SMESHGUI_Dialog()
+{
+}
+
--- /dev/null
+
+#ifndef SMESHGUI_DIALOG_H
+#define SMESHGUI_DIALOG_H
+
+#include <SalomeApp_Dialog.h>
+
+class SMESHGUI;
+
+class SMESHGUI_Dialog : public SalomeApp_Dialog
+{
+ Q_OBJECT
+
+public:
+ SMESHGUI_Dialog( SMESHGUI*, const bool = false, const bool = false, const int = OK | Cancel | Apply );
+ virtual ~SMESHGUI_Dialog();
+};
+
+#endif