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
0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_Hypotheses.h
diff --git
a/src/SMESHGUI/SMESHGUI_Hypotheses.h
b/src/SMESHGUI/SMESHGUI_Hypotheses.h
index c15484b84b3accbdf1891af22217c485ddf49273..83da609d3cdcc04b7206f1dee4add797f8f1183b 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Hypotheses.h
+++ b/
src/SMESHGUI/SMESHGUI_Hypotheses.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
3
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,14
+78,17
@@
signals:
protected:
struct StdParam
{
protected:
struct StdParam
{
- QString myName;
- QVariant myValue;
- bool isVariable;
- QString myText;
- StdParam(){
+ QString myName;
+ QVariant myValue;
+ bool isVariable;
+ QString myText;
+ QByteArray myTextAsBytes;
+ StdParam() {
isVariable = false;
}
isVariable = false;
}
- const char* text() const { return myText.toLatin1().constData(); }
+ const char* text() const {
+ ((QByteArray&) myTextAsBytes) = myText.toLatin1(); return myTextAsBytes.constData();
+ }
};
typedef QList<StdParam> ListOfStdParams;
};
typedef QList<StdParam> ListOfStdParams;
@@
-96,6
+99,7
@@
protected:
bool hasInitParamsHypothesis() const;
const ListOfWidgets& widgets() const;
ListOfWidgets& changeWidgets();
bool hasInitParamsHypothesis() const;
const ListOfWidgets& widgets() const;
ListOfWidgets& changeWidgets();
+ QLabel* getLabel(int i) const;
QtxDialog* dlg() const;
QString getVariableName(const char* methodName) const;
QtxDialog* dlg() const;
QString getVariableName(const char* methodName) const;
@@
-127,9
+131,11
@@
private:
private:
SMESH::SMESH_Hypothesis_var myHypo, myInitParamsHypo;
private:
SMESH::SMESH_Hypothesis_var myHypo, myInitParamsHypo;
+ bool myToDeleteInitParamsHypo;
QString myHypName;
QString myHypType;
ListOfWidgets myParamWidgets;
QString myHypName;
QString myHypType;
ListOfWidgets myParamWidgets;
+ ListOfWidgets myParamLabels;
bool myIsCreate;
QtxDialog* myDlg;
QString myShapeEntry;
bool myIsCreate;
QtxDialog* myDlg;
QString myShapeEntry;