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
Make SetNodeOnEdge() tell a valid range if U is invalid
[modules/smesh.git]
/
src
/
StdMeshersGUI
/
StdMeshersGUI_CartesianParamCreator.cxx
diff --git
a/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx
b/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx
index 4cdd2b92ef943cb9fc99d28cd705adf41e9dbc60..b70d050910147d02330c004a438172c35986d354 100644
(file)
--- a/
src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx
+++ b/
src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
9
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
@@
-40,7
+40,6
@@
#include <QtxComboBox.h>
#include <SALOME_InteractiveObject.hxx>
#include <SALOME_ListIO.hxx>
#include <QtxComboBox.h>
#include <SALOME_InteractiveObject.hxx>
#include <SALOME_ListIO.hxx>
-#include <SALOME_ListIteratorOfListIO.hxx>
#include <SUIT_ResourceMgr.h>
#include <SalomeApp_IntSpinBox.h>
#include <SalomeApp_Tools.h>
#include <SUIT_ResourceMgr.h>
#include <SalomeApp_IntSpinBox.h>
#include <SalomeApp_Tools.h>
@@
-178,7
+177,7
@@
namespace StdMeshersGUI
myStepSpin->SetStep( 1. );
myStepSpin->SetValue( myStep = 1. );
myStepSpin->SetStep( 1. );
myStepSpin->SetValue( myStep = 1. );
- // 3) Coo
dr
inates/Spacing group
+ // 3) Coo
rd
inates/Spacing group
QFrame* csFrame = new QFrame( this );
QVBoxLayout* scLay = new QVBoxLayout( csFrame );
scLay->setMargin( 0 );
QFrame* csFrame = new QFrame( this );
QVBoxLayout* scLay = new QVBoxLayout( csFrame );
scLay->setMargin( 0 );
@@
-320,10
+319,10
@@
namespace StdMeshersGUI
void GridAxisTab::onMode(int isSpacing)
{
void GridAxisTab::onMode(int isSpacing)
{
- mySpacingTreeWdg->set
Shown
( isSpacing );
- myCoordList->set
Shown
( !isSpacing );
- myStepSpin->set
Shown
( !isSpacing );
- myStepLabel->set
Shown
( !isSpacing );
+ mySpacingTreeWdg->set
Visible
( isSpacing );
+ myCoordList->set
Visible
( !isSpacing );
+ myStepSpin->set
Visible
( !isSpacing );
+ myStepLabel->set
Visible
( !isSpacing );
if ( isSpacing )
{
if ( mySpacingTreeWdg->topLevelItemCount() == 0 )
if ( isSpacing )
{
if ( mySpacingTreeWdg->topLevelItemCount() == 0 )
@@
-431,7
+430,7
@@
namespace StdMeshersGUI
//================================================================================
/*!
//================================================================================
/*!
- * \brief Checks grid defini
n
tion mode
+ * \brief Checks grid definition mode
*/
//================================================================================
*/
//================================================================================
@@
-458,7
+457,7
@@
namespace StdMeshersGUI
//================================================================================
/*!
//================================================================================
/*!
- * \brief Retur
m
s spacing to set to a hypothesis
+ * \brief Retur
n
s spacing to set to a hypothesis
*/
//================================================================================
*/
//================================================================================
@@
-981,7
+980,7
@@
QFrame* StdMeshersGUI_CartesianParamCreator::buildFrame()
//================================================================================
/*!
//================================================================================
/*!
- * \brief Tranfer parameters from hypothesis to widgets
+ * \brief Tran
s
fer parameters from hypothesis to widgets
*/
//================================================================================
*/
//================================================================================
@@
-1069,7
+1068,7
@@
void StdMeshersGUI_CartesianParamCreator::retrieveParams() const
//================================================================================
/*!
//================================================================================
/*!
- * \brief Tranfer parameters from widgets to hypothesis
+ * \brief Tran
s
fer parameters from widgets to hypothesis
*/
//================================================================================
*/
//================================================================================
@@
-1081,7
+1080,7
@@
QString StdMeshersGUI_CartesianParamCreator::storeParams() const
try
{
if( isCreation() )
try
{
if( isCreation() )
- SMESH::SetName( SMESH::FindSObject( h ), myName->text().to
Latin1
().constData() );
+ SMESH::SetName( SMESH::FindSObject( h ), myName->text().to
Utf8
().constData() );
// threshold
h->SetVarParameter( myThreshold->text().toLatin1().constData(), "SetSizeThreshold" );
// threshold
h->SetVarParameter( myThreshold->text().toLatin1().constData(), "SetSizeThreshold" );
@@
-1110,7
+1109,7
@@
QString StdMeshersGUI_CartesianParamCreator::storeParams() const
params << myPointSpin[0]->text();
params << myPointSpin[1]->text();
params << myPointSpin[2]->text();
params << myPointSpin[0]->text();
params << myPointSpin[1]->text();
params << myPointSpin[2]->text();
- h->SetVarParameter( params.join(":").to
Latin1
().constData(), "SetFixedPoint" );
+ h->SetVarParameter( params.join(":").to
Utf8
().constData(), "SetFixedPoint" );
params.clear();
SMESH::PointStruct ps;
params.clear();
SMESH::PointStruct ps;
@@
-1127,7
+1126,7
@@
QString StdMeshersGUI_CartesianParamCreator::storeParams() const
params << spins[ax][1]->text();
params << spins[ax][2]->text();
}
params << spins[ax][1]->text();
params << spins[ax][2]->text();
}
- h->SetVarParameter( params.join(":").to
Latin1
().constData(), "SetAxesDirs" );
+ h->SetVarParameter( params.join(":").to
Utf8
().constData(), "SetAxesDirs" );
SMESH::DirStruct axDir[3];
for ( int ax = 0; ax < 3; ++ax )
SMESH::DirStruct axDir[3];
for ( int ax = 0; ax < 3; ++ax )
@@
-1154,7
+1153,7
@@
QString StdMeshersGUI_CartesianParamCreator::storeParams() const
QString StdMeshersGUI_CartesianParamCreator::helpPage() const
{
QString StdMeshersGUI_CartesianParamCreator::helpPage() const
{
- return "cartesian_algo
_page.html#cartesian_hyp_
anchor";
+ return "cartesian_algo
.html#cartesian-hyp-
anchor";
}
//================================================================================
}
//================================================================================
@@
-1429,7
+1428,7
@@
void StdMeshersGUI_CartesianParamCreator::onResetAxes(bool)
//================================================================================
/*!
//================================================================================
/*!
- * \brief SLOT called when the grid defini
n
tion mode changes
+ * \brief SLOT called when the grid definition mode changes
*/
//================================================================================
*/
//================================================================================