// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
#ifndef SMESHGUI_MeshPatternDlg_H
#define SMESHGUI_MeshPatternDlg_H
+#include "SMESH_SMESHGUI.hxx"
+
#include <qdialog.h>
// IDL Headers
class QLineEdit;
class SMESHGUI_SpinBox;
class QPushButton;
-class SALOME_Selection;
+class LightApp_SelectionMgr;
class QRadioButton;
class QCheckBox;
class QButtonGroup;
class SMESHGUI_PatternWidget;
class vtkUnstructuredGrid;
class SALOME_Actor;
+class SVTK_ViewWindow;
+class SVTK_Selector;
+class SMESHGUI;
/*
Class : SMESHGUI_MeshPatternDlg
Description : Dialog to specify filters for VTK viewer
*/
-class SMESHGUI_MeshPatternDlg : public QDialog
+class SMESHGUI_EXPORT SMESHGUI_MeshPatternDlg : public QDialog
{
Q_OBJECT
enum { Mesh, Object, Vertex1, Vertex2, Ids };
public:
- SMESHGUI_MeshPatternDlg( QWidget*,
- SALOME_Selection*,
+ SMESHGUI_MeshPatternDlg( SMESHGUI*,
const char* = 0 );
virtual ~SMESHGUI_MeshPatternDlg();
- void Init( SALOME_Selection* );
+ void Init();
private slots:
void onOk();
bool onApply();
void onClose();
+ void onHelp();
void onDeactivate();
QString autoExtension( const QString& theFileName ) const;
void closeEvent( QCloseEvent* e ) ;
void enterEvent ( QEvent * ) ;
+ void keyPressEvent(QKeyEvent*);
bool isValid( const bool theMess = true );
void resetSelInput();
bool isRefine() const;
QPushButton* myOkBtn;
QPushButton* myApplyBtn;
QPushButton* myCloseBtn;
+ QPushButton* myHelpBtn;
QButtonGroup* myTypeGrp;
QRadioButton* mySwitch2d;
QPushButton* myNewBtn;
QCheckBox* myReverseChk;
+ QCheckBox* myCreatePolygonsChk;
+ QCheckBox* myCreatePolyedrsChk;
SMESHGUI_PatternWidget* myPicture2d;
QFrame* myPicture3d;
QLabel* myPreview3d;
QCheckBox* myPreviewChk;
-
- SALOME_Selection* mySelection;
+
+ SMESHGUI* mySMESHGUI;
+ SVTK_Selector* mySelector;
+ LightApp_SelectionMgr* mySelectionMgr;
int mySelInput;
int myNbPoints;
int myType;
SMESHGUI_CreatePatternDlg* myCreationDlg;
SMESH::SMESH_Pattern_var myPattern;
SALOME_Actor* myPreviewActor;
+
+ QString myHelpFileName;
};
#endif
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-