-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
void EntityTypeChanged( const int );
void NeedValidation();
void CriterionChanged( const int, const int );
+ void ThresholdChanged( const int, const int );
void CurrentChanged( int, int );
private slots:
SMESHGUI_FilterDlg( SMESHGUI*, const int );
virtual ~SMESHGUI_FilterDlg();
- void Init( const QList<int>& );
- void Init( const int );
+ void Init( const QList<int>&, const bool setInViewer=true );
+ void Init( const int, const bool setInViewer=true );
void SetSelection();
void SetMesh (SMESH::SMESH_Mesh_var);
void Accepted();
+protected slots:
+ virtual void reject();
+
private slots:
void onOk();
bool onApply();
- void onClose();
void onHelp();
void onDeactivate();
void onSelectionDone();
void onCriterionChanged( const int, const int );
+ void onThresholdChanged( const int, const int );
void onCurrentChanged( int, int );
private:
void construct( const QList<int>& );
- void closeEvent( QCloseEvent* );
void enterEvent( QEvent* );
void keyPressEvent( QKeyEvent* );
QMap< int, int > myApplyToState;
QString myHelpFileName;
+
+ bool myToRestoreSelMode;
+ int mySelModeToRestore;
+ void restoreSelMode();
};
#endif // SMESHGUI_FILTERDLG_H