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
0021339: EDF 1928 SMESH: Create group of 0D elements
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_Hypotheses.h
diff --git
a/src/SMESHGUI/SMESHGUI_Hypotheses.h
b/src/SMESHGUI/SMESHGUI_Hypotheses.h
index b0edacf3d4ae4fec6f39c3b7e6b8ef1bcfb38a2a..bb5d9f8ac01c5e4d86aa97a1216cfe53e8f99d9d 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Hypotheses.h
+++ b/
src/SMESHGUI/SMESHGUI_Hypotheses.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
1
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
2
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-78,12
+78,17
@@
signals:
protected:
struct StdParam
{
protected:
struct StdParam
{
- QString myName;
- QVariant myValue;
- bool isVariable;
- StdParam(){
+ QString myName;
+ QVariant myValue;
+ bool isVariable;
+ QString myText;
+ QByteArray myTextAsBytes;
+ StdParam() {
isVariable = false;
}
isVariable = false;
}
+ const char* text() const {
+ ((QByteArray&) myTextAsBytes) = myText.toLatin1(); return myTextAsBytes.constData();
+ }
};
typedef QList<StdParam> ListOfStdParams;
};
typedef QList<StdParam> ListOfStdParams;
@@
-95,6
+100,7
@@
protected:
const ListOfWidgets& widgets() const;
ListOfWidgets& changeWidgets();
QtxDialog* dlg() const;
const ListOfWidgets& widgets() const;
ListOfWidgets& changeWidgets();
QtxDialog* dlg() const;
+ QString getVariableName(const char* methodName) const;
virtual QFrame* buildFrame() = 0;
QFrame* buildStdFrame();
virtual QFrame* buildFrame() = 0;
QFrame* buildStdFrame();