X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_CreatePatternDlg.cxx;h=e501d95649b65c8bd2cb22caf82732acb0b6036f;hp=6627b417af6d794901769676461aba1f1a87c6d8;hb=0fc0831670e27a5611b941c52dc152fd63964515;hpb=c98d9fcd7f02c1f1f5c24dd3e709ed75228d66c4 diff --git a/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx b/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx old mode 100755 new mode 100644 index 6627b417a..e501d9564 --- a/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 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 @@ -105,7 +105,7 @@ SMESHGUI_CreatePatternDlg::SMESHGUI_CreatePatternDlg( SMESHGUI* theModule, aDlgLay->setStretchFactor( aMainFrame, 1 ); - myHelpFileName = "pattern_mapping_page.html"; + myHelpFileName = "pattern_mapping.html"; Init( theType ); } @@ -244,7 +244,7 @@ SMESHGUI_CreatePatternDlg::~SMESHGUI_CreatePatternDlg() //======================================================================= // function : onProject() -// purpose : SLOT. Called when state of "Project nodes on ther face" +// purpose : SLOT. Called when state of "Project nodes on other face" // checkbox is changed //======================================================================= void SMESHGUI_CreatePatternDlg::onProject( bool ) @@ -399,7 +399,7 @@ void SMESHGUI_CreatePatternDlg::onSave() QFile aFile( fName ); aFile.open( QIODevice::WriteOnly ); - long aWritten = aFile.write( aData.toLatin1(), aLen ); + long aWritten = aFile.write( aData.toUtf8(), aLen ); aFile.close(); if ( aWritten != aLen ) { @@ -622,7 +622,7 @@ void SMESHGUI_CreatePatternDlg::onSelectionDone() //======================================================================= // function : onDeactivate() -// purpose : SLOT called when dialog must be deativated +// purpose : SLOT called when dialog must be deactivated //======================================================================= void SMESHGUI_CreatePatternDlg::onDeactivate() { @@ -636,7 +636,7 @@ void SMESHGUI_CreatePatternDlg::onDeactivate() //======================================================================= void SMESHGUI_CreatePatternDlg::enterEvent( QEvent* ) { - // there is a stange problem that enterEvent() comes after onSave() + // there is a strange problem that enterEvent() comes after onSave() if ( isVisible () ) { mySMESHGUI->EmitSignalDeactivateDialog(); setEnabled( true );