Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merging with WPdev
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_FilterDlg.h
diff --git
a/src/SMESHGUI/SMESHGUI_FilterDlg.h
b/src/SMESHGUI/SMESHGUI_FilterDlg.h
index 04dfc4a5e75d9d8f0e7981e3aa3931663545aa2d..2cc71d94ae73bcf608e25ed31d37fe0d086ef102 100755
(executable)
--- 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
//
// 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
//
//
//
//
//
//
@@
-29,6
+29,8
@@
#ifndef SMESHGUI_FilterDlg_H
#define SMESHGUI_FilterDlg_H
#ifndef SMESHGUI_FilterDlg_H
#define SMESHGUI_FilterDlg_H
+#include "SMESH_SMESHGUI.hxx"
+
#include <qdialog.h>
#include <qframe.h>
#include <qmap.h>
#include <qdialog.h>
#include <qframe.h>
#include <qmap.h>
@@
-70,7
+72,7
@@
class SVTK_ViewWindow;
* - Buttons for editing table
*/
* - Buttons for editing table
*/
-class SMESHGUI_FilterTable : public QFrame
+class SMESHGUI_
EXPORT SMESHGUI_
FilterTable : public QFrame
{
Q_OBJECT
{
Q_OBJECT
@@
-130,6
+132,14
@@
public:
QString& theText,
const int theEntityType = -1);
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:
void Update();
signals:
@@
-213,7
+223,7
@@
class SMESHGUI_FilterDlg : public QDialog
enum { Mesh, Selection, Dialog, None };
// Buttons
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*,
public:
SMESHGUI_FilterDlg( SMESHGUI*,
@@
-243,6
+253,7
@@
private slots:
void onOk();
bool onApply();
void onClose();
void onOk();
bool onApply();
void onClose();
+ void onHelp();
void onDeactivate();
void onSelectionDone();
void onCriterionChanged (const int, const int);
void onDeactivate();
void onSelectionDone();
void onCriterionChanged (const int, const int);
@@
-254,6
+265,7
@@
private:
void closeEvent (QCloseEvent*);
void enterEvent (QEvent*);
void closeEvent (QCloseEvent*);
void enterEvent (QEvent*);
+ void keyPressEvent(QKeyEvent*);
// dialog creation
QFrame* createButtonFrame (QWidget*);
// dialog creation
QFrame* createButtonFrame (QWidget*);
@@
-301,6
+313,8
@@
private:
QMap< int, SMESH::Filter_var > myFilter;
QMap< int, bool > myInsertState;
QMap< int, int > myApplyToState;
QMap< int, SMESH::Filter_var > myFilter;
QMap< int, bool > myInsertState;
QMap< int, int > myApplyToState;
+
+ QString myHelpFileName;
};
#endif
};
#endif