]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Merge branch 'V7_dev'
authorvsr <vsr@opencascade.com>
Thu, 24 Mar 2016 12:55:14 +0000 (15:55 +0300)
committervsr <vsr@opencascade.com>
Thu, 24 Mar 2016 13:36:53 +0000 (16:36 +0300)
46 files changed:
1  2 
CMakeLists.txt
src/AdvancedGUI/CMakeLists.txt
src/BREPPlugin/CMakeLists.txt
src/BasicGUI/CMakeLists.txt
src/BlocksGUI/CMakeLists.txt
src/BooleanGUI/CMakeLists.txt
src/BuildGUI/BuildGUI_FaceDlg.cxx
src/BuildGUI/CMakeLists.txt
src/CurveCreator/CMakeLists.txt
src/CurveCreator/CurveCreator_TreeView.cxx
src/DependencyTree/CMakeLists.txt
src/DependencyTree/DependencyTree_Arrow.cxx
src/DisplayGUI/CMakeLists.txt
src/DlgRef/CMakeLists.txt
src/EntityGUI/CMakeLists.txt
src/GEOMBase/CMakeLists.txt
src/GEOMFiltersSelection/CMakeLists.txt
src/GEOMGUI/CMakeLists.txt
src/GEOMGUI/GEOMGUI_CreationInfoWdg.cxx
src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx
src/GEOMToolsGUI/CMakeLists.txt
src/GEOMToolsGUI/GEOMToolsGUI_PublishDlg.cxx
src/GEOMToolsGUI/GEOMToolsGUI_ReduceStudyDlg.cxx
src/GenerationGUI/CMakeLists.txt
src/GroupGUI/CMakeLists.txt
src/IGESPlugin/CMakeLists.txt
src/Material/CMakeLists.txt
src/MeasureGUI/CMakeLists.txt
src/OBJECT/CMakeLists.txt
src/OCC2VTK/CMakeLists.txt
src/OperationGUI/CMakeLists.txt
src/PrimitiveGUI/CMakeLists.txt
src/RepairGUI/CMakeLists.txt
src/RepairGUI/RepairGUI.cxx
src/RepairGUI/RepairGUI_InspectObjectDlg.cxx
src/STEPPlugin/CMakeLists.txt
src/STEPPlugin/STEPPlugin_ImportDlg.cxx
src/STLPlugin/CMakeLists.txt
src/ShapeRecognition/CMakeLists.txt
src/Tools/geom_plugins.py
src/Tools/t_shape/CMakeLists.txt
src/Tools/t_shape/t_shape_dialog.py
src/Tools/t_shape/t_shape_progress.py
src/TransformationGUI/CMakeLists.txt
src/VTKPlugin/CMakeLists.txt
src/XAOPlugin/CMakeLists.txt

diff --cc CMakeLists.txt
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 0000000000000000000000000000000000000000,b6a64e316d50767bd3ca9f0a79dd2eb58d165c3b..668050f90529ae50ddac5899a476595048fb1c49
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,94 +1,94 @@@
 -    anImpDlg.setFilter(tr("ALL_FILES_FILTER")); // All files (*)
+ // Copyright (C) 2014-2016  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
+ // License as published by the Free Software Foundation; either
+ // version 2.1 of the License, or (at your option) any later version.
+ //
+ // This library is distributed in the hope that it will be useful,
+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ // Lesser General Public License for more details.
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this library; if not, write to the Free Software
+ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+ //
+ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+ //
+ #include "STEPPlugin_ImportDlg.h"
+ #include <QApplication>
+ #include <QLayout>
+ #include <QCheckBox>
+ //=============================================================================
+ // Constructor
+ //=============================================================================
+ STEPPlugin_ImportDlg::STEPPlugin_ImportDlg(QWidget *parent)
+   : SUIT_FileDlg (parent, true, true, true),
+     myCheckBox   (0)
+ {
+   myCheckBox = new QCheckBox(tr("STEP_CREATE_ASSEMBLIES"), this);
+   myCheckBox->setChecked(true);
+   layout()->addWidget(myCheckBox);
+ }
+ //=============================================================================
+ // Destructor
+ //=============================================================================
+ STEPPlugin_ImportDlg::~STEPPlugin_ImportDlg()
+ {
+ }
+ //=============================================================================
+ // IsCreateAssemblies
+ //=============================================================================
+ bool STEPPlugin_ImportDlg::IsCreateAssemblies() const
+ {
+   return myCheckBox->isChecked();
+ }
+ //=============================================================================
+ // getOpenFileNames
+ //=============================================================================
+ QStringList STEPPlugin_ImportDlg::getOpenFileNames
+                                   (const QString &theInitial,
+                                    const QString &theFilters,
+                                    const QString &theCaption,
+                                          QWidget *theParent,
+                                          bool    &IsCreateAssemblies)
+ {
+   STEPPlugin_ImportDlg anImpDlg(theParent);
+   QStringList aFilters = theFilters.split(";;", QString::SkipEmptyParts);
+   anImpDlg.setFileMode(ExistingFiles);
+   if (aFilters.isEmpty()) {
 -    anImpDlg.setFilters(aFilters);
++    anImpDlg.setNameFilter(tr("ALL_FILES_FILTER")); // All files (*)
+   } else {
++    anImpDlg.setNameFilters(aFilters);
+   }
+   if (!theCaption.isEmpty()) {
+     anImpDlg.setWindowTitle(theCaption);
+   }
+   if (!theInitial.isEmpty()) {
+     anImpDlg.processPath(theInitial);
+   }
+   QStringList aFileNames;
+   if (anImpDlg.exec() == QDialog::Accepted) {
+     aFileNames = anImpDlg.selectedFiles();
+     IsCreateAssemblies = anImpDlg.IsCreateAssemblies();
+   }
+   QApplication::processEvents();
+   return aFileNames;
+ }
Simple merge
Simple merge
Simple merge
index e4332a5e76d6cdbd347646951c33b537bf14d5e1,7d803f88a7242ba247da991b0bc6d0a057ecf696..7f9ffdaf0d978cabc6b5e21bff2e8f418dba3bd1
@@@ -16,8 -16,9 +16,9 @@@
  #
  # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
  #
  IF(SALOME_BUILD_GUI)
 -  INCLUDE(UsePyQt4)
 +  INCLUDE(UsePyQt)
  ENDIF()
  
  # --- scripts ---
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge