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
Zcracks plugin adaptation to new Zcracks tool
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_CreatePatternDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx
b/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx
index f0aa90dcbf79bd2f9c5768024b7b697d13e38a64..6627b417af6d794901769676461aba1f1a87c6d8 100755
(executable)
--- a/
src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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
@@
-378,7
+378,7
@@
void SMESHGUI_CreatePatternDlg::onSave()
SUIT_FileDlg* aDlg = new SUIT_FileDlg( this, false );
aDlg->setWindowTitle( tr( "SAVE_PATTERN" ) );
aDlg->setFileMode( QFileDialog::AnyFile );
SUIT_FileDlg* aDlg = new SUIT_FileDlg( this, false );
aDlg->setWindowTitle( tr( "SAVE_PATTERN" ) );
aDlg->setFileMode( QFileDialog::AnyFile );
- aDlg->setFilter( tr( "PATTERN_FILT" ) );
+ aDlg->set
Name
Filter( tr( "PATTERN_FILT" ) );
if ( myName->text() != "" )
aDlg->selectFile( myName->text() );
if ( myName->text() != "" )
aDlg->selectFile( myName->text() );
@@
-392,7
+392,7
@@
void SMESHGUI_CreatePatternDlg::onSave()
if ( QFileInfo( fName ).suffix().isEmpty() )
fName = autoExtension( fName );
if ( QFileInfo( fName ).suffix().isEmpty() )
fName = autoExtension( fName );
- fName = QDir::
convert
Separators( fName );
+ fName = QDir::
toNative
Separators( fName );
QString aData( myPattern->GetString() );
long aLen = aData.length();
QString aData( myPattern->GetString() );
long aLen = aData.length();
@@
-569,7
+569,7
@@
void SMESHGUI_CreatePatternDlg::onSelectionDone()
{
try {
SALOME_ListIO aList;
{
try {
SALOME_ListIO aList;
- mySelectionMgr->selectedObjects( aList
, SVTK_Viewer::Type()
);
+ mySelectionMgr->selectedObjects( aList );
if ( aList.Extent() != 1 )
return;
if ( aList.Extent() != 1 )
return;