X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSMESHGUI%2FSMESHGUI_FilterDlg.h;h=635b372428bafeab1ca39f84aa6cde3ac8ac560c;hb=refs%2Ftags%2FT3_2_0b2;hp=7427fe7be1ed296af42b299e150602fac76e2424;hpb=b33324fe602b1fe1158c14a866c3802df12370fa;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.h b/src/SMESHGUI/SMESHGUI_FilterDlg.h index 7427fe7be..635b37242 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.h +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.h @@ -17,7 +17,7 @@ // 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 // // // @@ -34,7 +34,7 @@ #include #include -#include "SalomeApp_SelectionMgr.h" +#include "LightApp_SelectionMgr.h" #include "SALOME_InteractiveObject.hxx" #include "SALOME_DataMapOfIOMapOfInteger.hxx" #include "SVTK_Selection.h" @@ -56,7 +56,7 @@ class QStringList; class QTable; class QTableItem; class QWidgetStack; -class SalomeApp_SelectionMgr; +class LightApp_SelectionMgr; class SMESHGUI; class SMESHGUI_FilterLibraryDlg; class SVTK_Selector; @@ -130,6 +130,14 @@ public: QString& theText, const int theEntityType = -1); + void SetID( const int theRow, + const QString& theText, + const int theEntityType = -1 ); + + bool GetID( const int theRow, + QString& theText, + const int theEntityType = -1 ); + void Update(); signals: @@ -213,7 +221,7 @@ class SMESHGUI_FilterDlg : public QDialog enum { Mesh, Selection, Dialog, None }; // Buttons - enum { BTN_OK, BTN_Cancel, BTN_Apply, BTN_Close }; + enum { BTN_OK, BTN_Cancel, BTN_Apply, BTN_Close, BTN_Help }; public: SMESHGUI_FilterDlg( SMESHGUI*, @@ -243,6 +251,7 @@ private slots: void onOk(); bool onApply(); void onClose(); + void onHelp(); void onDeactivate(); void onSelectionDone(); void onCriterionChanged (const int, const int); @@ -291,7 +300,7 @@ private: // initial fields QValueList myTypes; SMESHGUI* mySMESHGUI; - SalomeApp_SelectionMgr* mySelectionMgr; + LightApp_SelectionMgr* mySelectionMgr; SVTK_Selector* mySelector; SMESH::SMESH_Mesh_ptr myMesh; QWidget* mySourceWg; @@ -301,6 +310,8 @@ private: QMap< int, SMESH::Filter_var > myFilter; QMap< int, bool > myInsertState; QMap< int, int > myApplyToState; + + QString myHelpFileName; }; #endif