mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-23 16:25:38 +05:00
DCQ : New architecture...
This commit is contained in:
parent
9e7c6a0dff
commit
d086d6f752
195
src/GEOMContext/GEOMContext.cxx
Normal file
195
src/GEOMContext/GEOMContext.cxx
Normal file
@ -0,0 +1,195 @@
|
|||||||
|
//
|
||||||
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// File : GEOMContext.cxx
|
||||||
|
// Author : Damien COQUERET
|
||||||
|
// Module : GEOM
|
||||||
|
// $Header:
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
#include "GEOMContext.h"
|
||||||
|
#include "QAD_Tools.h"
|
||||||
|
|
||||||
|
/* The object itself created in the static method 'GetOrCreateGEOMBase()' */
|
||||||
|
static GEOMContext* GeomGUI = 0;
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : GEOMContext()
|
||||||
|
// purpose : Constructor
|
||||||
|
//=======================================================================
|
||||||
|
GEOMContext::GEOMContext() :
|
||||||
|
QObject()
|
||||||
|
{
|
||||||
|
// mySettings_AddInStudy = false;
|
||||||
|
// mySettings_Copy = false;
|
||||||
|
myFatherior = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : ~GEOMContext()
|
||||||
|
// purpose : Destructor
|
||||||
|
//=======================================================================
|
||||||
|
GEOMContext::~GEOMContext()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : GetGEOMContext() static
|
||||||
|
// purpose : Returns current 'GeomGUI' a static pointer
|
||||||
|
//=======================================================================
|
||||||
|
GEOMContext* GEOMContext::GetGeomGUI()
|
||||||
|
{
|
||||||
|
return GeomGUI;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : GetOrCreateGEOMBase()
|
||||||
|
// purpose : Gets or create an object 'GEOMBase' with initialisations
|
||||||
|
// : Returns 'GeomGUI' as a pointer
|
||||||
|
//=======================================================================
|
||||||
|
GEOMContext* GEOMContext::GetOrCreateGeomGUI(QAD_Desktop* desktop)
|
||||||
|
{
|
||||||
|
if(GeomGUI == 0) {
|
||||||
|
GeomGUI = new GEOMContext();
|
||||||
|
// GeomGUI->myDesktop = desktop;
|
||||||
|
// GeomGUI->myActiveStudy = desktop->getActiveStudy();
|
||||||
|
Engines::Component_var comp = desktop->getEngine("FactoryServer", "GEOM");
|
||||||
|
GeomGUI->myComponentGeom = GEOM::GEOM_Gen::_narrow(comp);
|
||||||
|
|
||||||
|
GeomGUI->myState = -1;
|
||||||
|
GeomGUI->myActiveDialogBox = 0;
|
||||||
|
GeomGUI->myGUILibrary = OSD_SharedLibrary();
|
||||||
|
// GeomGUI->mySimulationShape = new AIS_Shape(TopoDS_Shape());
|
||||||
|
// GeomGUI->myShadingColor = Quantity_Color(Quantity_NOC_GOLDENROD);
|
||||||
|
|
||||||
|
/* GetCurrentStudy */
|
||||||
|
int studyId = desktop->getActiveStudy()->getStudyId();
|
||||||
|
GeomGUI->myComponentGeom->GetCurrentStudy(studyId);
|
||||||
|
GeomGUI->myNbGeom = GeomGUI->myComponentGeom->NbLabels();
|
||||||
|
}
|
||||||
|
// else {
|
||||||
|
// /* study may have changed */
|
||||||
|
// GeomGUI->myActiveStudy = desktop->getActiveStudy();
|
||||||
|
// }
|
||||||
|
|
||||||
|
return GeomGUI;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : LoadLibrary()
|
||||||
|
// purpose :
|
||||||
|
//=======================================================================
|
||||||
|
bool GEOMContext::LoadLibrary(QString GUILibrary)
|
||||||
|
{
|
||||||
|
QCString libs;
|
||||||
|
QFileInfo fileInfo;
|
||||||
|
QString GUILib, fileString, dir;
|
||||||
|
|
||||||
|
if(libs = getenv("LD_LIBRARY_PATH")) {
|
||||||
|
QStringList dirList = QStringList::split(":", libs, false); // skip empty entries
|
||||||
|
for(int i = dirList.count()-1; i >= 0; i--) {
|
||||||
|
dir = dirList[i];
|
||||||
|
fileString = QAD_Tools::addSlash(dir) + GUILibrary;
|
||||||
|
fileInfo.setFile(fileString);
|
||||||
|
if(fileInfo.exists()) {
|
||||||
|
GUILib = fileInfo.fileName();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
myGUILibrary.SetName(TCollection_AsciiString((char*)GUILib.latin1()).ToCString());
|
||||||
|
bool res = myGUILibrary.DlOpen(OSD_RTLD_LAZY);
|
||||||
|
if(!res)
|
||||||
|
cout<<"Can't open library : "<<myGUILibrary.DlError()<<endl;
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : SetState()
|
||||||
|
// purpose : Sets myState = aState a private field indicating which methode is active
|
||||||
|
//=======================================================================
|
||||||
|
// void GEOMContext::SetState(int aState)
|
||||||
|
// {
|
||||||
|
// myState = aState;
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : ResetState()
|
||||||
|
// purpose : Sets myState = -1 a private field indicating which methode is active
|
||||||
|
//=======================================================================
|
||||||
|
// void GEOMContext::ResetState()
|
||||||
|
// {
|
||||||
|
// myState = -1;
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : SetActiveDialogBox()
|
||||||
|
// purpose :
|
||||||
|
//=======================================================================
|
||||||
|
void GEOMContext::SetActiveDialogBox(QDialog* aDlg)
|
||||||
|
{
|
||||||
|
myActiveDialogBox = (QDialog*)aDlg;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : EmitSignalDeactivateDialog()
|
||||||
|
// purpose : Emit a signal to deactivate the active dialog Box
|
||||||
|
//=======================================================================
|
||||||
|
void GEOMContext::EmitSignalDeactivateDialog()
|
||||||
|
{
|
||||||
|
emit SignalDeactivateActiveDialog();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : EmitSignalCloseAllDialogs()
|
||||||
|
// purpose : Emit a signal to deactivate all non modal dialogs box
|
||||||
|
//=======================================================================
|
||||||
|
void GEOMContext::EmitSignalCloseAllDialogs()
|
||||||
|
{
|
||||||
|
emit SignalCloseAllDialogs();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
// function : EmitSignalDefaultStepValueChanged()
|
||||||
|
// purpose :
|
||||||
|
//=======================================================================
|
||||||
|
void GEOMContext::EmitSignalDefaultStepValueChanged(double newVal)
|
||||||
|
{
|
||||||
|
emit SignalDefaultStepValueChanged(newVal);
|
||||||
|
return;
|
||||||
|
}
|
124
src/GEOMContext/GEOMContext.h
Normal file
124
src/GEOMContext/GEOMContext.h
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
// GEOMCONTEXT
|
||||||
|
//
|
||||||
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
// 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// File : GEOMContext.h
|
||||||
|
// Author : Damien COQUERET
|
||||||
|
// Module : GEOM
|
||||||
|
// $Header:
|
||||||
|
|
||||||
|
#ifndef GEOMCONTEXT_H
|
||||||
|
#define GEOMCONTEXT_H
|
||||||
|
|
||||||
|
// SALOME Includes
|
||||||
|
#include "QAD_Desktop.h"
|
||||||
|
#include "GEOM_Client.hxx"
|
||||||
|
//#include "GEOM_AISShape.hxx"
|
||||||
|
//#include "GEOM_InteractiveObject.hxx"
|
||||||
|
//#include "GEOM_Actor.h"
|
||||||
|
|
||||||
|
// Open CASCADE Includes
|
||||||
|
//#include <Quantity_Color.hxx>
|
||||||
|
//#include <AIS_ListOfInteractive.hxx>
|
||||||
|
#include <OSD_SharedLibrary.hxx>
|
||||||
|
|
||||||
|
// QT Includes
|
||||||
|
#include <qapplication.h>
|
||||||
|
|
||||||
|
// IDL Headers
|
||||||
|
//#include <SALOMEconfig.h>
|
||||||
|
//#include CORBA_SERVER_HEADER(GEOM_Gen)
|
||||||
|
//#include CORBA_SERVER_HEADER(SALOMEDS)
|
||||||
|
//#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
|
||||||
|
|
||||||
|
//=================================================================================
|
||||||
|
// class : GEOMContext
|
||||||
|
// purpose :
|
||||||
|
//=================================================================================
|
||||||
|
class GEOMContext : public QObject
|
||||||
|
{
|
||||||
|
Q_OBJECT /* for QT compatibility */
|
||||||
|
|
||||||
|
public :
|
||||||
|
GEOMContext();
|
||||||
|
~GEOMContext();
|
||||||
|
|
||||||
|
private :
|
||||||
|
// QAD_Desktop* myDesktop;
|
||||||
|
// QAD_Study* myActiveStudy;
|
||||||
|
QDialog* myActiveDialogBox; /* Unique active dialog box */
|
||||||
|
|
||||||
|
int myNbGeom; /* Unique name for a geom entity */
|
||||||
|
// int myState; /* Identify a method */
|
||||||
|
|
||||||
|
GEOM_Client myShapeReader;
|
||||||
|
Standard_CString myFatherior;
|
||||||
|
// AIS_ListOfInteractive myListDisplayedObject;
|
||||||
|
// Quantity_Color myShadingColor;
|
||||||
|
|
||||||
|
// bool mySettings_AddInStudy;
|
||||||
|
// bool mySettings_Copy;
|
||||||
|
|
||||||
|
public :
|
||||||
|
static GEOMContext* GetOrCreateGeomGUI(QAD_Desktop* desktop);
|
||||||
|
static GEOMContext* GetGeomGUI();
|
||||||
|
|
||||||
|
OSD_SharedLibrary myGUILibrary;
|
||||||
|
GEOM::GEOM_Gen_var myComponentGeom;
|
||||||
|
int myState; /* Identify a method */
|
||||||
|
// Handle(AIS_Shape) mySimulationShape; /* AIS shape used only during topo/geom simulations */
|
||||||
|
|
||||||
|
// QAD_Desktop* GetDesktop(){return myDesktop;};
|
||||||
|
// QAD_Study* GetActiveStudy(){return myActiveStudy;};
|
||||||
|
QDialog* GetActiveDialogBox(){return myActiveDialogBox ;}; /* Returns the active DialogBox */
|
||||||
|
|
||||||
|
int& GetNbGeom(){return myNbGeom;};
|
||||||
|
// int& GetState(){return myState;};
|
||||||
|
|
||||||
|
GEOM_Client& GetShapeReader(){return myShapeReader;};
|
||||||
|
Standard_CString& GetFatherior(){return myFatherior;};
|
||||||
|
// AIS_ListOfInteractive& GetListDisplayedObject(){return myListDisplayedObject;};
|
||||||
|
// Quantity_Color& GetShadingColor(){return myShadingColor;};
|
||||||
|
|
||||||
|
// bool& GetSettings_AddInStudy(){return mySettings_AddInStudy;};
|
||||||
|
// bool& GetSettings_Copy(){return mySettings_Copy;};
|
||||||
|
|
||||||
|
bool LoadLibrary(QString GUILibrary);
|
||||||
|
|
||||||
|
// void SetState(int aState);
|
||||||
|
// void ResetState(); /* Sets myState = -1 a private field to indicate wich method is active */
|
||||||
|
void SetActiveDialogBox(QDialog* aDlg); /* Sets 'myActiveDialogBox' a pointer to the active Dialog Box */
|
||||||
|
|
||||||
|
/* Non modal dialog boxes magement */
|
||||||
|
void EmitSignalDeactivateDialog();
|
||||||
|
void EmitSignalCloseAllDialogs();
|
||||||
|
void EmitSignalDefaultStepValueChanged(double newVal);
|
||||||
|
|
||||||
|
signals :
|
||||||
|
void SignalDeactivateActiveDialog();
|
||||||
|
void SignalCloseAllDialogs();
|
||||||
|
void SignalDefaultStepValueChanged(double newVal);
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
349
src/GEOMContext/GEOM_icons.po
Normal file
349
src/GEOMContext/GEOM_icons.po
Normal file
@ -0,0 +1,349 @@
|
|||||||
|
# This is a Qt message file in .po format. Each msgid starts with
|
||||||
|
# a scope. This scope should *NOT* be translated - eg. translating
|
||||||
|
# from French to English, "Foo::Bar" would be translated to "Pub",
|
||||||
|
# not "Foo::Pub".
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PROJECT VERSION\n"
|
||||||
|
"POT-Creation-Date: 2001-06-14 09:11:49 PM CEST\n"
|
||||||
|
"PO-Revision-Date: 2003-09-22 16:39+0200\n"
|
||||||
|
"Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Content-Type: text/plain; charset=iso-8859-1\n"
|
||||||
|
|
||||||
|
#Select
|
||||||
|
msgid "ICON_SELECT"
|
||||||
|
msgstr "select1.png"
|
||||||
|
|
||||||
|
#: QAD_ObjectBrowser.cxx:140
|
||||||
|
msgid "ICON_OBJBROWSER_Geometry"
|
||||||
|
msgstr "geometry.png"
|
||||||
|
|
||||||
|
#: QAD_ObjectBrowser.cxx:140
|
||||||
|
msgid "ICON_OBJBROWSER_COMPOUND"
|
||||||
|
msgstr "tree_compound.png"
|
||||||
|
|
||||||
|
#: QAD_ObjectBrowser.cxx:140
|
||||||
|
msgid "ICON_OBJBROWSER_COMPSOLID"
|
||||||
|
msgstr "tree_compsolid.png"
|
||||||
|
|
||||||
|
#: QAD_ObjectBrowser.cxx:140
|
||||||
|
msgid "ICON_OBJBROWSER_EDGE"
|
||||||
|
msgstr "tree_edge.png"
|
||||||
|
|
||||||
|
#: QAD_ObjectBrowser.cxx:140
|
||||||
|
msgid "ICON_OBJBROWSER_FACE"
|
||||||
|
msgstr "tree_face.png"
|
||||||
|
|
||||||
|
#: QAD_ObjectBrowser.cxx:140
|
||||||
|
msgid "ICON_OBJBROWSER_SHAPE"
|
||||||
|
msgstr "tree_shape.png"
|
||||||
|
|
||||||
|
#: QAD_ObjectBrowser.cxx:140
|
||||||
|
msgid "ICON_OBJBROWSER_SHELL"
|
||||||
|
msgstr "tree_shell.png"
|
||||||
|
|
||||||
|
#: QAD_ObjectBrowser.cxx:140
|
||||||
|
msgid "ICON_OBJBROWSER_SOLID"
|
||||||
|
msgstr "tree_solid.png"
|
||||||
|
|
||||||
|
#: QAD_ObjectBrowser.cxx:140
|
||||||
|
msgid "ICON_OBJBROWSER_VERTEX"
|
||||||
|
msgstr "tree_vertex.png"
|
||||||
|
|
||||||
|
#: QAD_ObjectBrowser.cxx:140
|
||||||
|
msgid "ICON_OBJBROWSER_WIRE"
|
||||||
|
msgstr "tree_wire.png"
|
||||||
|
|
||||||
|
#BoxDlg
|
||||||
|
msgid "ICON_DLG_BOX_2P"
|
||||||
|
msgstr "box2points.png"
|
||||||
|
|
||||||
|
#BoxDlg
|
||||||
|
msgid "ICON_DLG_BOX_DXYZ"
|
||||||
|
msgstr "boxdxyz.png"
|
||||||
|
|
||||||
|
#CylinderDlg
|
||||||
|
msgid "ICON_DLG_CYLINDER_PV"
|
||||||
|
msgstr "cylinderpointvector.png"
|
||||||
|
|
||||||
|
#CylinderDlg
|
||||||
|
msgid "ICON_DLG_CYLINDER_DXYZ"
|
||||||
|
msgstr "cylinderdxyz.png"
|
||||||
|
|
||||||
|
#SphereDlg
|
||||||
|
msgid "ICON_DLG_SPHERE_P"
|
||||||
|
msgstr "spherepoint.png"
|
||||||
|
|
||||||
|
#SphereDlg
|
||||||
|
msgid "ICON_DLG_SPHERE_DXYZ"
|
||||||
|
msgstr "spheredxyz.png"
|
||||||
|
|
||||||
|
#torusDlg
|
||||||
|
msgid "ICON_DLG_TORUS_PV"
|
||||||
|
msgstr "toruspointvector.png"
|
||||||
|
|
||||||
|
#ConeDlg
|
||||||
|
msgid "ICON_DLG_CONE_PV"
|
||||||
|
msgstr "conepointvector.png"
|
||||||
|
|
||||||
|
#torusDlg
|
||||||
|
msgid "ICON_DLG_TORUS_DXYZ"
|
||||||
|
msgstr "torusdxyz.png"
|
||||||
|
|
||||||
|
#ConeDlg
|
||||||
|
msgid "ICON_DLG_CONE_DXYZ"
|
||||||
|
msgstr "conedxyz.png"
|
||||||
|
|
||||||
|
#LineDlg
|
||||||
|
msgid "ICON_DLG_LINE_2P"
|
||||||
|
msgstr "line2points.png"
|
||||||
|
|
||||||
|
#LineDlg
|
||||||
|
msgid "ICON_DLG_LINE_EDGE"
|
||||||
|
msgstr "lineedge.png"
|
||||||
|
|
||||||
|
#LineDlg
|
||||||
|
msgid "ICON_DLG_LINE_PV"
|
||||||
|
msgstr "linepointvector.png"
|
||||||
|
|
||||||
|
#CircleDlg
|
||||||
|
msgid "ICON_DLG_CIRCLE_PV"
|
||||||
|
msgstr "circlepointvector.png"
|
||||||
|
|
||||||
|
#VectorDlg
|
||||||
|
msgid "ICON_DLG_VECTOR_2P"
|
||||||
|
msgstr "vector2points.png"
|
||||||
|
|
||||||
|
#vectorDlg
|
||||||
|
msgid "ICON_DLG_VECTOR_DXYZ"
|
||||||
|
msgstr "vectordxyz.png"
|
||||||
|
|
||||||
|
#PlaneDlg
|
||||||
|
msgid "ICON_DLG_PLANE_DXYZ"
|
||||||
|
msgstr "planedxyz.png"
|
||||||
|
|
||||||
|
#PlaneDlg
|
||||||
|
msgid "ICON_DLG_PLANE_FACE"
|
||||||
|
msgstr "planeface.png"
|
||||||
|
|
||||||
|
#PlaneDlg
|
||||||
|
msgid "ICON_DLG_PLANE_PV"
|
||||||
|
msgstr "planepointvector.png"
|
||||||
|
|
||||||
|
#WorkingPlaneDlg
|
||||||
|
msgid "ICON_DLG_WPLANE_FACE"
|
||||||
|
msgstr "planeworkingface.png"
|
||||||
|
|
||||||
|
#PointDlg
|
||||||
|
msgid "ICON_DLG_POINT"
|
||||||
|
msgstr "point2.png"
|
||||||
|
|
||||||
|
#PoinDlg
|
||||||
|
msgid "ICON_DLG_POINT_EDGE"
|
||||||
|
msgstr "pointonedge.png"
|
||||||
|
|
||||||
|
#ArcDlg
|
||||||
|
msgid "ICON_DLG_ARC"
|
||||||
|
msgstr "arc.png"
|
||||||
|
|
||||||
|
#ArchimedeDlg
|
||||||
|
msgid "ICON_DLG_ARCHIMEDE"
|
||||||
|
msgstr "archimede.png"
|
||||||
|
|
||||||
|
#PartitionDlg
|
||||||
|
msgid "ICON_DLG_PARTITION"
|
||||||
|
msgstr "partition.png"
|
||||||
|
|
||||||
|
#PartitionDlg
|
||||||
|
msgid "ICON_DLG_PARTITION_KEEP_FACES"
|
||||||
|
msgstr "partitionkeep.png"
|
||||||
|
|
||||||
|
#CenterMassDlg
|
||||||
|
msgid "ICON_DLG_CENTERMASS"
|
||||||
|
msgstr "centergravity.png"
|
||||||
|
|
||||||
|
#BoundingBoxDlg
|
||||||
|
msgid "ICON_DLG_BOUNDING_BOX"
|
||||||
|
msgstr "bounding.png"
|
||||||
|
|
||||||
|
#CommonDlg
|
||||||
|
msgid "ICON_DLG_COMMON"
|
||||||
|
msgstr "common.png"
|
||||||
|
|
||||||
|
#CompoundDlg
|
||||||
|
msgid "ICON_DLG_BUILD_COMPOUND"
|
||||||
|
msgstr "build_compound.png"
|
||||||
|
|
||||||
|
#CutDlg
|
||||||
|
msgid "ICON_DLG_CUT"
|
||||||
|
msgstr "cut.png"
|
||||||
|
|
||||||
|
#EdgeDlg
|
||||||
|
msgid "ICON_DLG_BUILD_EDGE"
|
||||||
|
msgstr "build_edge.png"
|
||||||
|
|
||||||
|
#FaceDlg
|
||||||
|
msgid "ICON_DLG_BUILD_FACE"
|
||||||
|
msgstr "build_face.png"
|
||||||
|
|
||||||
|
#ShellDlg
|
||||||
|
msgid "ICON_DLG_BUILD_SHELL"
|
||||||
|
msgstr "build_shell.png"
|
||||||
|
|
||||||
|
#SolidDlg
|
||||||
|
msgid "ICON_DLG_BUILD_SOLID"
|
||||||
|
msgstr "build_solid.png"
|
||||||
|
|
||||||
|
#WireDlg
|
||||||
|
msgid "ICON_DLG_BUILD_WIRE"
|
||||||
|
msgstr "build_wire.png"
|
||||||
|
|
||||||
|
#FillingDlg
|
||||||
|
msgid "ICON_DLG_FILLING"
|
||||||
|
msgstr "filling.png"
|
||||||
|
|
||||||
|
#FuseDlg
|
||||||
|
msgid "ICON_DLG_FUSE"
|
||||||
|
msgstr "fuse.png"
|
||||||
|
|
||||||
|
#InertiaDlg
|
||||||
|
msgid "ICON_DLG_INERTIA"
|
||||||
|
msgstr "axisinertia.png"
|
||||||
|
|
||||||
|
#ToleranceDlg
|
||||||
|
msgid "ICON_DLG_TOLERANCE"
|
||||||
|
msgstr "tolerance.png"
|
||||||
|
|
||||||
|
#BasicPropertiesDlg
|
||||||
|
msgid "ICON_DLG_BASICPROPERTIES"
|
||||||
|
msgstr "basicproperties.png"
|
||||||
|
|
||||||
|
#WhatisDlg
|
||||||
|
msgid "ICON_DLG_WHATIS"
|
||||||
|
msgstr "whatis.png"
|
||||||
|
|
||||||
|
#MinDistDlg
|
||||||
|
msgid "ICON_DLG_MINDIST"
|
||||||
|
msgstr "mindist.png"
|
||||||
|
|
||||||
|
#MirrorDlg
|
||||||
|
msgid "ICON_DLG_MIRROR"
|
||||||
|
msgstr "mirrorPlane.png"
|
||||||
|
|
||||||
|
#TranslationDlg
|
||||||
|
msgid "ICON_DLG_TRANSLATION"
|
||||||
|
msgstr "translation.png"
|
||||||
|
|
||||||
|
#RotationDlg
|
||||||
|
msgid "ICON_DLG_ROTATION"
|
||||||
|
msgstr "rotate.png"
|
||||||
|
|
||||||
|
#ScaleDlg
|
||||||
|
msgid "ICON_DLG_SCALE"
|
||||||
|
msgstr "scale.png"
|
||||||
|
|
||||||
|
#OrientationDlg
|
||||||
|
msgid "ICON_DLG_ORIENTATION"
|
||||||
|
msgstr "orientation.png"
|
||||||
|
|
||||||
|
#SewingDlg
|
||||||
|
msgid "ICON_DLG_SEWING"
|
||||||
|
msgstr "sewing.png"
|
||||||
|
|
||||||
|
#PipeDlg
|
||||||
|
msgid "ICON_DLG_PIPE"
|
||||||
|
msgstr "pipe.png"
|
||||||
|
|
||||||
|
#PrismDlg
|
||||||
|
msgid "ICON_DLG_PRISM"
|
||||||
|
msgstr "prism.png"
|
||||||
|
|
||||||
|
#RevolutionDlg
|
||||||
|
msgid "ICON_DLG_REVOL"
|
||||||
|
msgstr "revol.png"
|
||||||
|
|
||||||
|
#SectionDlg
|
||||||
|
msgid "ICON_DLG_SECTION"
|
||||||
|
msgstr "section.png"
|
||||||
|
|
||||||
|
#SubShapeDlg
|
||||||
|
msgid "ICON_DLG_SUBSHAPE"
|
||||||
|
msgstr "subshape.png"
|
||||||
|
|
||||||
|
#FilletDlg
|
||||||
|
msgid "ICON_DLG_FILLET"
|
||||||
|
msgstr "fillet.png"
|
||||||
|
|
||||||
|
#ChamferDlg
|
||||||
|
msgid "ICON_DLG_CHAMFER"
|
||||||
|
msgstr "chamfer.png"
|
||||||
|
|
||||||
|
#FilletDlg
|
||||||
|
msgid "ICON_DLG_FILLET_ALL"
|
||||||
|
msgstr "filletall.png"
|
||||||
|
|
||||||
|
#ChamferDlg
|
||||||
|
msgid "ICON_DLG_CHAMFER_ALL"
|
||||||
|
msgstr "chamferall.png"
|
||||||
|
|
||||||
|
#FilletDlg
|
||||||
|
msgid "ICON_DLG_FILLET_EDGE"
|
||||||
|
msgstr "filletedge.png"
|
||||||
|
|
||||||
|
#ChamferDlg
|
||||||
|
msgid "ICON_DLG_CHAMFER_EDGE"
|
||||||
|
msgstr "chamferedge.png"
|
||||||
|
|
||||||
|
#FilletDlg
|
||||||
|
msgid "ICON_DLG_FILLET_FACE"
|
||||||
|
msgstr "filletface.png"
|
||||||
|
|
||||||
|
#ChamferDlg
|
||||||
|
msgid "ICON_DLG_CHAMFER_FACE"
|
||||||
|
msgstr "chamferface.png"
|
||||||
|
|
||||||
|
#ChamferDlg
|
||||||
|
msgid "ICON_DLG_CHECKSHAPE"
|
||||||
|
msgstr "check.png"
|
||||||
|
|
||||||
|
#SupressFaceDlg
|
||||||
|
msgid "ICON_DLG_SUPRESS_FACE"
|
||||||
|
msgstr "supressface.png"
|
||||||
|
|
||||||
|
#SupressHoleDlg
|
||||||
|
msgid "ICON_DLG_SUPRESS_HOLE"
|
||||||
|
msgstr "supresshole.png"
|
||||||
|
|
||||||
|
#SupressHoleDlg
|
||||||
|
msgid "ICON_DLG_SUPRESS_HOLE_FACE_SHELL"
|
||||||
|
msgstr "supressHolesOnFaceShell.png"
|
||||||
|
|
||||||
|
#MultiTranslationDlg
|
||||||
|
msgid "ICON_DLG_MULTITRANSLATION_SIMPLE"
|
||||||
|
msgstr "multitranslationsimple.png"
|
||||||
|
|
||||||
|
#MultiTranslationDlg
|
||||||
|
msgid "ICON_DLG_MULTITRANSLATION"
|
||||||
|
msgstr "multitranslation.png"
|
||||||
|
|
||||||
|
#MultiTranslationDlg
|
||||||
|
msgid "ICON_DLG_MULTITRANSLATION_DOUBLE"
|
||||||
|
msgstr "multitranslationdouble.png"
|
||||||
|
|
||||||
|
#MultiRotationDlg
|
||||||
|
msgid "ICON_DLG_MULTIROTATION_SIMPLE"
|
||||||
|
msgstr "multirotationsimple.png"
|
||||||
|
|
||||||
|
#MultiRotationDlg
|
||||||
|
msgid "ICON_DLG_MULTIROTATION"
|
||||||
|
msgstr "multirotation.png"
|
||||||
|
|
||||||
|
#MultiRotationDlg
|
||||||
|
msgid "ICON_DLG_MULTIROTATION_DOUBLE"
|
||||||
|
msgstr "multirotationdouble.png"
|
||||||
|
|
||||||
|
#EllipseDlg
|
||||||
|
msgid "ICON_DLG_ELLIPSE_PV"
|
||||||
|
msgstr "ellipsepointvector.png"
|
||||||
|
|
||||||
|
|
1179
src/GEOMContext/GEOM_msg_en.po
Normal file
1179
src/GEOMContext/GEOM_msg_en.po
Normal file
File diff suppressed because it is too large
Load Diff
1130
src/GEOMContext/GEOM_msg_fr.po
Normal file
1130
src/GEOMContext/GEOM_msg_fr.po
Normal file
File diff suppressed because it is too large
Load Diff
65
src/GEOMContext/Makefile.in
Normal file
65
src/GEOMContext/Makefile.in
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
# GEOM GEOMCONTEXT :
|
||||||
|
#
|
||||||
|
# Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
|
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
# 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# File : Makefile.in
|
||||||
|
# Author : Damien COQUERET (OCC)
|
||||||
|
# Module : GEOM
|
||||||
|
# $Header:
|
||||||
|
|
||||||
|
top_srcdir=@top_srcdir@
|
||||||
|
top_builddir=../..
|
||||||
|
srcdir=@srcdir@
|
||||||
|
VPATH=.:@srcdir@:@top_srcdir@/idl
|
||||||
|
|
||||||
|
|
||||||
|
@COMMENCE@
|
||||||
|
|
||||||
|
# Libraries targets
|
||||||
|
LIB = libGEOMContext.la
|
||||||
|
|
||||||
|
# ressources files
|
||||||
|
PO_FILES = \
|
||||||
|
GEOM_icons.po \
|
||||||
|
GEOM_msg_en.po \
|
||||||
|
GEOM_msg_fr.po
|
||||||
|
|
||||||
|
# header files
|
||||||
|
EXPORT_HEADERS= GEOMContext.h
|
||||||
|
|
||||||
|
LIB_SRC = GEOMContext.cxx
|
||||||
|
|
||||||
|
LIB_MOC = \
|
||||||
|
GEOMContext.h
|
||||||
|
|
||||||
|
LIB_CLIENT_IDL = SALOME_Exception.idl
|
||||||
|
|
||||||
|
LIB_SERVER_IDL =
|
||||||
|
|
||||||
|
# additionnal information to compil and link file
|
||||||
|
|
||||||
|
CPPFLAGS += $(QT_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
|
||||||
|
CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome
|
||||||
|
|
||||||
|
LDFLAGS += -lOCCViewer -lVTKViewer -lSalomeObject -lSalomeGUI -lGEOMClient -lGEOMObject -L${KERNEL_ROOT_DIR}/lib/salome
|
||||||
|
|
||||||
|
@CONCLUDE@
|
Loading…
Reference in New Issue
Block a user