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
Unicode support
[modules/smesh.git]
/
src
/
StdMeshersGUI
/
StdMeshersGUI_QuadrangleParamWdg.cxx
diff --git
a/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx
b/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx
index 9db22c2a9face2bf7313e4a21fd19fa1993d89b2..1cec406e2f3564e4103afc3d4b1cf346042f37d9 100644
(file)
--- a/
src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx
+++ b/
src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-24,6
+24,7
@@
#include "SMESHGUI.h"
#include "SMESHGUI_SpinBox.h"
#include "SMESHGUI.h"
#include "SMESHGUI_SpinBox.h"
+#include "SMESHGUI_Utils.h"
#include "StdMeshersGUI_SubShapeSelectorWdg.h"
#include <GEOMBase.h>
#include "StdMeshersGUI_SubShapeSelectorWdg.h"
#include <GEOMBase.h>
@@
-73,7
+74,7
@@
StdMeshersGUI_QuadrangleParamCreator::StdMeshersGUI_QuadrangleParamCreator(const
QString StdMeshersGUI_QuadrangleParamCreator::helpPage() const
{
QString StdMeshersGUI_QuadrangleParamCreator::helpPage() const
{
- return "
a2d_meshing_hypo_page.html#hypo_quad_params_
anchor";
+ return "
2d_meshing_hypo.html#hypo-quad-params-
anchor";
}
//=======================================================================
}
//=======================================================================
@@
-194,8
+195,7
@@
void StdMeshersGUI_QuadrangleParamCreator::retrieveParams() const
QString aMainEntry = SMESHGUI_GenericHypothesisCreator::getMainShapeEntry();
if ( anEntry.isEmpty() )
anEntry = h->GetObjectEntry();
QString aMainEntry = SMESHGUI_GenericHypothesisCreator::getMainShapeEntry();
if ( anEntry.isEmpty() )
anEntry = h->GetObjectEntry();
- myVertexSelWdg->SetGeomShapeEntry(anEntry);
- myVertexSelWdg->SetMainShapeEntry(aMainEntry);
+ myVertexSelWdg->SetGeomShapeEntry(anEntry,aMainEntry);
if ( !isCreation())
{
if ( !isCreation())
{
@@
-215,7
+215,7
@@
void StdMeshersGUI_QuadrangleParamCreator::retrieveParams() const
GEOM::ListOfGO_var shapes;
SMESH::nodes_array_var points;
h->GetEnforcedNodes( shapes, points );
GEOM::ListOfGO_var shapes;
SMESH::nodes_array_var points;
h->GetEnforcedNodes( shapes, points );
- for (
in
t i = 0; i < shapes->length(); ++i )
+ for (
size_
t i = 0; i < shapes->length(); ++i )
{
CORBA::String_var name = shapes[i]->GetName();
CORBA::String_var entry = shapes[i]->GetStudyEntry();
{
CORBA::String_var name = shapes[i]->GetName();
CORBA::String_var entry = shapes[i]->GetStudyEntry();
@@
-223,7
+223,7
@@
void StdMeshersGUI_QuadrangleParamCreator::retrieveParams() const
item->setData( Qt::UserRole, entry.in() );
myShapesList->addItem( item );
}
item->setData( Qt::UserRole, entry.in() );
myShapesList->addItem( item );
}
- for (
in
t i = 0; i < points->length(); ++i )
+ for (
size_
t i = 0; i < points->length(); ++i )
{
QTreeWidgetItem* item = new QTreeWidgetItem
( QStringList()
{
QTreeWidgetItem* item = new QTreeWidgetItem
( QStringList()
@@
-249,7
+249,7
@@
QString StdMeshersGUI_QuadrangleParamCreator::storeParams() const
// name
if( myName )
// name
if( myName )
- SMESH::SetName( SMESH::FindSObject( h ), myName->text().to
Latin1
().constData() );
+ SMESH::SetName( SMESH::FindSObject( h ), myName->text().to
Utf8
().constData() );
// transition
h->SetQuadType( StdMeshers::QuadType( myTypeWdg->GetType()) );
// transition
h->SetQuadType( StdMeshers::QuadType( myTypeWdg->GetType()) );
@@
-407,7
+407,7
@@
void StdMeshersGUI_QuadrangleParamCreator::onSelectionChanged()
void StdMeshersGUI_QuadrangleParamCreator::onTabChanged(int i)
{
void StdMeshersGUI_QuadrangleParamCreator::onTabChanged(int i)
{
- myVertexSelWdg->
s
howPreview( i == TAB_VERTEX );
+ myVertexSelWdg->
S
howPreview( i == TAB_VERTEX );
}
//================================================================================
}
//================================================================================