#
-AC_INIT([Salome2 Project GEOM module], [4.0.0], [gboulant@CS], [salome])
+AC_INIT([Salome2 Project GEOM module], [5.0.0], [webmaster.salome@opencascade.com], [salome])
AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
-PACKAGE=salome
-AC_SUBST(PACKAGE)
-
-VERSION=4.0.0
-XVERSION=0x040000
-AC_SUBST(VERSION)
+XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
AC_SUBST(XVERSION)
# set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
#include "BasicGUI_ArcDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "BasicGUI_CircleDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "BasicGUI_CurveDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "BasicGUI_EllipseDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "BasicGUI_LineDlg.h"
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
-#include <GEOM_DlgRef.h>
#include <SUIT_ResourceMgr.h>
#include <SUIT_Session.h>
#include "BasicGUI_MarkerDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "BasicGUI_PlaneDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GEOMImpl_Types.hxx>
#include "BasicGUI_VectorDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "BasicGUI_WorkingPlaneDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "BlocksGUI_BlockDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "BlocksGUI_ExplodeDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "BlocksGUI_PropagateDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include <GEOMImpl_Types.hxx>
#include "BlocksGUI_QuadFaceDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include <GEOMImpl_Types.hxx>
#include "BlocksGUI_TrsfDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "BooleanGUI.h"
#include "BooleanGUI_Dialog.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+// File : BooleanGUI.cxx
+// Author : Damien COQUERET, Open CASCADE S.A.S.
//
-//
-// File : BooleanGUI.cxx
-// Author : Damien COQUERET
-// Module : GEOM
-// $Header$
#include "BuildGUI.h"
-#include "SUIT_Desktop.h"
-
-#include "SalomeApp_Application.h"
+#include <SUIT_Desktop.h>
+#include <SalomeApp_Application.h>
#include "BuildGUI_EdgeDlg.h" // Method EDGE
#include "BuildGUI_WireDlg.h" // Method WIRE
#include "BuildGUI_SolidDlg.h" // Method SOLID
#include "BuildGUI_CompoundDlg.h" // Method COMPOUND
-#include "GeometryGUI.h"
+#include <GeometryGUI.h>
//=======================================================================
// function : BuildGUI()
// purpose : Constructor
//=======================================================================
BuildGUI::BuildGUI( GeometryGUI* parent )
-: GEOMGUI( parent )
+ : GEOMGUI( parent )
{
}
{
getGeometryGUI()->EmitSignalDeactivateDialog();
- QDialog* aDlg = NULL;
-
- switch ( theCommandID )
- {
- case 4081: aDlg = new BuildGUI_EdgeDlg ( getGeometryGUI(), parent, "" ); break;
- case 4082: aDlg = new BuildGUI_WireDlg ( getGeometryGUI(), parent, "" ); break;
- case 4083: aDlg = new BuildGUI_FaceDlg ( getGeometryGUI(), parent, "" ); break;
- case 4084: aDlg = new BuildGUI_ShellDlg ( getGeometryGUI(), parent, "" ); break;
- case 4085: aDlg = new BuildGUI_SolidDlg ( getGeometryGUI(), parent, "" ); break;
- case 4086: aDlg = new BuildGUI_CompoundDlg( getGeometryGUI(), parent, "" ); break;
+ QDialog* aDlg = 0;
- default:
- getGeometryGUI()->getApp()->putInfo( tr( "GEOM_PRP_COMMAND" ).arg( theCommandID ) );
- break;
+ switch ( theCommandID ) {
+ case 4081: aDlg = new BuildGUI_EdgeDlg ( getGeometryGUI(), parent ); break;
+ case 4082: aDlg = new BuildGUI_WireDlg ( getGeometryGUI(), parent ); break;
+ case 4083: aDlg = new BuildGUI_FaceDlg ( getGeometryGUI(), parent ); break;
+ case 4084: aDlg = new BuildGUI_ShellDlg ( getGeometryGUI(), parent ); break;
+ case 4085: aDlg = new BuildGUI_SolidDlg ( getGeometryGUI(), parent ); break;
+ case 4086: aDlg = new BuildGUI_CompoundDlg( getGeometryGUI(), parent ); break;
+ default:
+ getGeometryGUI()->getApp()->putInfo( tr( "GEOM_PRP_COMMAND" ).arg( theCommandID ) );
+ break;
}
-
- if ( aDlg != NULL )
+
+ if ( aDlg ) {
+ aDlg->updateGeometry();
+ aDlg->resize( aDlg->minimumSize() );
aDlg->show();
+ }
return true;
}
//=====================================================================================
extern "C"
{
- GEOM_BUILDGUI_EXPORT
+#ifdef WIN32
+ __declspec( dllexport )
+#endif
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return new BuildGUI( parent );
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+// File : BuildGUI.h
+// Author : Damien COQUERET, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI.h
-// Author : Damien COQUERET
-// Module : GEOM
#ifndef BUILDGUI_H
#define BUILDGUI_H
-#include "GEOM_BuildGUI.hxx"
-
-#include "GEOMGUI.h"
+#include <GEOMGUI.h>
//=================================================================================
// class : BuildGUI
// purpose :
//=================================================================================
-class GEOM_BUILDGUI_EXPORT BuildGUI : public GEOMGUI
+class BuildGUI : public GEOMGUI
{
public :
- BuildGUI( GeometryGUI* parent );
+ BuildGUI( GeometryGUI* );
~BuildGUI();
- bool OnGUIEvent( int theCommandID, SUIT_Desktop* parent );
+ bool OnGUIEvent( int, SUIT_Desktop* );
};
-#endif
+#endif // BUILDGUI_H
// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_CompoundDlg.cxx
+// Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI_CompoundDlg.cxx
-// Author : Lucien PIGNOLONI
-// Module : GEOM
-// $Header$
#include "BuildGUI_CompoundDlg.h"
-#include "GEOMImpl_Types.hxx"
-#include "GeometryGUI.h"
-#include "GEOMBase.h"
+#include <DlgRef.h>
+#include <GeometryGUI.h>
+#include <GEOMBase.h>
+
+#include <GEOMImpl_Types.hxx>
-#include "SUIT_ResourceMgr.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "LightApp_SelectionMgr.h"
+#include <SUIT_ResourceMgr.h>
+#include <SUIT_Session.h>
+#include <SalomeApp_Application.h>
+#include <LightApp_SelectionMgr.h>
//=================================================================================
// class : BuildGUI_CompoundDlg()
// The dialog will by default be modeless, unless you set 'modal' to
// TRUE to construct a modal dialog.
//=================================================================================
-BuildGUI_CompoundDlg::BuildGUI_CompoundDlg(GeometryGUI* theGeometryGUI, QWidget* parent,
- const char* name, bool modal, Qt::WindowFlags fl)
- :GEOMBase_Skeleton(theGeometryGUI, parent, name, modal, Qt::WindowTitleHint | Qt::WindowSystemMenuHint)
+BuildGUI_CompoundDlg::BuildGUI_CompoundDlg( GeometryGUI* theGeometryGUI, QWidget* parent )
+ : GEOMBase_Skeleton( theGeometryGUI, parent )
{
- QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BUILD_COMPOUND")));
- QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
+ QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_DLG_BUILD_COMPOUND" ) ) );
+ QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_SELECT" ) ) );
- setWindowTitle(tr("GEOM_COMPOUND_TITLE"));
+ setWindowTitle( tr( "GEOM_COMPOUND_TITLE" ) );
/***************************************************************/
- GroupConstructors->setTitle(tr("GEOM_COMPOUND"));
- RadioButton1->setIcon(image0);
- RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton2->close();
- RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton3->close();
-
- GroupShapes = new Ui::DlgRef_1Sel_QTD();
- QWidget* aGroupShapesWidget = new QWidget(this);
- GroupShapes->setupUi(aGroupShapesWidget);
- aGroupShapesWidget->setObjectName("GroupShapes");
-
- GroupShapes->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
- GroupShapes->TextLabel1->setText(tr("GEOM_OBJECTS"));
- GroupShapes->PushButton1->setIcon(image1);
+ mainFrame()->GroupConstructors->setTitle( tr( "GEOM_COMPOUND" ) );
+ mainFrame()->RadioButton1->setIcon( image0 );
+ mainFrame()->RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton2->close();
+ mainFrame()->RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton3->close();
+
+ GroupShapes = new DlgRef_1Sel( centralWidget() );
+
+ GroupShapes->GroupBox1->setTitle( tr( "GEOM_ARGUMENTS" ) );
+ GroupShapes->TextLabel1->setText( tr( "GEOM_OBJECTS" ) );
+ GroupShapes->PushButton1->setIcon( image1 );
GroupShapes->LineEdit1->setReadOnly( true );
- gridLayout1->addWidget(aGroupShapesWidget, 2, 0);
+ QVBoxLayout* layout = new QVBoxLayout( centralWidget() );
+ layout->setMargin( 0 ); layout->setSpacing( 6 );
+ layout->addWidget( GroupShapes );
/***************************************************************/
- setHelpFileName("compound.htm");
+ setHelpFileName( "compound.htm" );
/* Initialisations */
Init();
myOkShapes = false;
/* signals and slots connections */
- connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
- connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
- connect(GroupShapes->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( buttonOk(), SIGNAL( clicked() ), this, SLOT( ClickOnOk() ) );
+ connect( buttonApply(), SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
+ connect( GroupShapes->PushButton1, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
+ connect( ( (SalomeApp_Application*)(SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL(currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
globalSelection( GEOM_ALLSHAPES );
- initName( tr( "GEOM_COMPOUND" ).toLatin1().constData() );
+ initName( tr( "GEOM_COMPOUND" ) );
}
void BuildGUI_CompoundDlg::SetEditCurrentArgument()
{
QPushButton* send = (QPushButton*)sender();
- if (send != GroupShapes->PushButton1)
+ if ( send != GroupShapes->PushButton1 )
return;
myEditCurrentArgument = GroupShapes->LineEdit1;
{
GEOMBase_Skeleton::ActivateThisDialog();
globalSelection( GEOM_ALLSHAPES );
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
}
//=================================================================================
void BuildGUI_CompoundDlg::enterEvent(QEvent* e)
{
- if ( !GroupConstructors->isEnabled() )
+ if ( !mainFrame()->GroupConstructors->isEnabled() )
ActivateThisDialog();
}
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_CompoundDlg.h
+// Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
//
-//
-// File : GEOMBase_CompoundDlg.h
-// Author : Lucien PIGNOLONI
-// Module : GEOM
-#ifndef DIALOGBOX_COMPOUND_H
-#define DIALOGBOX_COMPOUND_H
+#ifndef BUILDGUI_COMPOUNDDLG_H
+#define BUILDGUI_COMPOUNDDLG_H
-#include "GEOM_BuildGUI.hxx"
+#include <GEOMBase_Skeleton.h>
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
+class DlgRef_1Sel;
//=================================================================================
// class : BuildGUI_CompoundDlg
// purpose :
//=================================================================================
-class GEOM_BUILDGUI_EXPORT BuildGUI_CompoundDlg : public GEOMBase_Skeleton
+class BuildGUI_CompoundDlg : public GEOMBase_Skeleton
{
- Q_OBJECT
+ Q_OBJECT
public:
- BuildGUI_CompoundDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
- const char* name = 0, bool modal = FALSE, Qt::WindowFlags fl = 0);
- ~BuildGUI_CompoundDlg();
+ BuildGUI_CompoundDlg( GeometryGUI*, QWidget* = 0 );
+ ~BuildGUI_CompoundDlg();
protected:
- // redefined from GEOMBase_Helper
- virtual GEOM::GEOM_IOperations_ptr createOperation();
- virtual bool isValid( QString& msg );
- virtual bool execute( ObjectList& objects );
+ // redefined from GEOMBase_Helper
+ virtual GEOM::GEOM_IOperations_ptr createOperation();
+ virtual bool isValid( QString& );
+ virtual bool execute( ObjectList& );
private:
- void Init();
- void enterEvent(QEvent* e);
-
- GEOM::ListOfGO myShapes;
- bool myOkShapes;
-
- Ui::DlgRef_1Sel_QTD* GroupShapes;
+ void Init();
+ void enterEvent( QEvent* );
+
+private:
+ GEOM::ListOfGO myShapes;
+ bool myOkShapes;
+
+ DlgRef_1Sel* GroupShapes;
private slots:
- void ClickOnOk();
- bool ClickOnApply();
- void ActivateThisDialog();
- void SelectionIntoArgument();
- void SetEditCurrentArgument();
+ void ClickOnOk();
+ bool ClickOnApply();
+ void ActivateThisDialog();
+ void SelectionIntoArgument();
+ void SetEditCurrentArgument();
};
-#endif // DIALOGBOX_COMPOUND_H
+#endif // BUILDGUI_COMPOUNDDLG_H
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_EdgeDlg.cxx
+// Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI_EdgeDlg.cxx
-// Author : Lucien PIGNOLONI
-// Module : GEOM
-// $Header$
#include "BuildGUI_EdgeDlg.h"
-#include "GeometryGUI.h"
-#include "GEOMBase.h"
+#include <DlgRef.h>
+#include <GeometryGUI.h>
+#include <GEOMBase.h>
-#include "GEOMImpl_Types.hxx"
+#include <GEOMImpl_Types.hxx>
-#include "SUIT_ResourceMgr.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "LightApp_SelectionMgr.h"
+#include <SUIT_ResourceMgr.h>
+#include <SUIT_Session.h>
+#include <SalomeApp_Application.h>
+#include <LightApp_SelectionMgr.h>
//=================================================================================
// class : BuildGUI_EdgeDlg()
// The dialog will by default be modeless, unless you set 'modal' to
// TRUE to construct a modal dialog.
//=================================================================================
-BuildGUI_EdgeDlg::BuildGUI_EdgeDlg(GeometryGUI* theGeometryGUI, QWidget* parent,
- const char* name, bool modal, Qt::WindowFlags fl)
- :GEOMBase_Skeleton(theGeometryGUI, parent, name, modal, Qt::WindowTitleHint | Qt::WindowSystemMenuHint)
+BuildGUI_EdgeDlg::BuildGUI_EdgeDlg( GeometryGUI* theGeometryGUI, QWidget* parent )
+ : GEOMBase_Skeleton( theGeometryGUI, parent )
{
- QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BUILD_EDGE")));
- QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
+ QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_DLG_BUILD_EDGE" ) ) );
+ QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_SELECT" ) ) );
- setWindowTitle(tr("GEOM_EDGE_TITLE"));
+ setWindowTitle( tr( "GEOM_EDGE_TITLE" ) );
/***************************************************************/
- GroupConstructors->setTitle(tr("GEOM_EDGE"));
- RadioButton1->setIcon(image0);
- RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton2->close();
- RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton3->close();
-
- GroupPoints = new Ui::DlgRef_2Sel_QTD();
- QWidget* aGroupPointsWidget = new QWidget(this);
- GroupPoints->setupUi(aGroupPointsWidget);
- aGroupPointsWidget->setObjectName("GroupPoints");
-
- GroupPoints->GroupBox1->setTitle(tr("GEOM_POINTS"));
- GroupPoints->TextLabel1->setText(tr("GEOM_POINT_I").arg("1"));
- GroupPoints->TextLabel2->setText(tr("GEOM_POINT_I").arg("2"));
- GroupPoints->PushButton1->setIcon(image1);
- GroupPoints->PushButton2->setIcon(image1);
+ mainFrame()->GroupConstructors->setTitle( tr( "GEOM_EDGE" ) );
+ mainFrame()->RadioButton1->setIcon( image0 );
+ mainFrame()->RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton2->close();
+ mainFrame()->RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton3->close();
+
+ GroupPoints = new DlgRef_2Sel( centralWidget() );
+
+ GroupPoints->GroupBox1->setTitle( tr( "GEOM_POINTS" ) );
+ GroupPoints->TextLabel1->setText( tr( "GEOM_POINT_I" ).arg( 1 ) );
+ GroupPoints->TextLabel2->setText( tr( "GEOM_POINT_I" ).arg( 2 ) );
+ GroupPoints->PushButton1->setIcon( image1 );
+ GroupPoints->PushButton2->setIcon( image1 );
GroupPoints->LineEdit1->setReadOnly( true );
GroupPoints->LineEdit2->setReadOnly( true );
- gridLayout1->addWidget(aGroupPointsWidget, 2, 0);
+ QVBoxLayout* layout = new QVBoxLayout( centralWidget() );
+ layout->setMargin( 0 ); layout->setSpacing( 6 );
+ layout->addWidget( GroupPoints );
/***************************************************************/
- setHelpFileName("edge.htm");
+ setHelpFileName( "edge.htm" );
/* Initialisations */
Init();
//=================================================================================
BuildGUI_EdgeDlg::~BuildGUI_EdgeDlg()
{
- // no need to delete child widgets, Qt does it all for us
+ // no need to delete child widgets, Qt does it all for us
}
globalSelection( GEOM_POINT );
/* signals and slots connections */
- connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
- connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
+ connect( buttonOk(), SIGNAL( clicked() ), this, SLOT( ClickOnOk() ) );
+ connect( buttonApply(), SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
- connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
- connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
+ connect( GroupPoints->PushButton1, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
+ connect( GroupPoints->PushButton2, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
- connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
- connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
+ connect( GroupPoints->LineEdit1, SIGNAL( returnPressed() ), this, SLOT( LineEditReturnPressed() ) );
+ connect( GroupPoints->LineEdit2, SIGNAL( returnPressed() ), this, SLOT( LineEditReturnPressed() ) );
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
- initName( tr( "GEOM_EDGE").toLatin1().constData() );
+ initName( tr( "GEOM_EDGE" ) );
}
void BuildGUI_EdgeDlg::SelectionIntoArgument()
{
erasePreview();
- myEditCurrentArgument->setText("");
+ myEditCurrentArgument->setText( "" );
- if(IObjectCount() != 1) {
- if(myEditCurrentArgument == GroupPoints->LineEdit1)
+ if ( IObjectCount() != 1 ) {
+ if ( myEditCurrentArgument == GroupPoints->LineEdit1 )
myOkPoint1 = false;
- else if(myEditCurrentArgument == GroupPoints->LineEdit2)
+ else if ( myEditCurrentArgument == GroupPoints->LineEdit2 )
myOkPoint2 = false;
return;
}
// nbSel == 1
Standard_Boolean testResult = Standard_False;
- GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
+ GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
- if(!testResult)
+ if ( !testResult )
return;
- if(myEditCurrentArgument == GroupPoints->LineEdit1) {
+ if ( myEditCurrentArgument == GroupPoints->LineEdit1 ) {
myPoint1 = aSelectedObject;
myOkPoint1 = true;
}
- else if(myEditCurrentArgument == GroupPoints->LineEdit2) {
+ else if ( myEditCurrentArgument == GroupPoints->LineEdit2 ) {
myPoint2 = aSelectedObject;
myOkPoint2 = true;
}
void BuildGUI_EdgeDlg::LineEditReturnPressed()
{
QLineEdit* send = (QLineEdit*)sender();
- if(send == GroupPoints->LineEdit1 || send == GroupPoints->LineEdit2)
- {
- myEditCurrentArgument = send;
- GEOMBase_Skeleton::LineEditReturnPressed();
- }
+ if ( send == GroupPoints->LineEdit1 || send == GroupPoints->LineEdit2 ) {
+ myEditCurrentArgument = send;
+ GEOMBase_Skeleton::LineEditReturnPressed();
+ }
}
QPushButton* send = (QPushButton*)sender();
globalSelection();
- if(send == GroupPoints->PushButton1) {
+ if ( send == GroupPoints->PushButton1 ) {
myEditCurrentArgument = GroupPoints->LineEdit1;
globalSelection( GEOM_POINT );
}
- else if(send == GroupPoints->PushButton2) {
+ else if ( send == GroupPoints->PushButton2 ) {
myEditCurrentArgument = GroupPoints->LineEdit2;
globalSelection( GEOM_POINT );
}
void BuildGUI_EdgeDlg::ActivateThisDialog()
{
GEOMBase_Skeleton::ActivateThisDialog();
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
globalSelection( GEOM_POINT );
displayPreview();
}
// function : enterEvent()
// purpose :
//=================================================================================
-void BuildGUI_EdgeDlg::enterEvent(QEvent* e)
+void BuildGUI_EdgeDlg::enterEvent( QEvent* )
{
- if ( !GroupConstructors->isEnabled() )
+ if ( !mainFrame()->GroupConstructors->isEnabled() )
ActivateThisDialog();
}
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_EdgeDlg.h
+// Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI_EdgeDlg.h
-// Author : Lucien PIGNOLONI
-// Module : GEOM
-#ifndef DIALOGBOX_EDGE_H
-#define DIALOGBOX_EDGE_H
+#ifndef BUILDGUI_EDGEDLG_H
+#define BUILDGUI_EDGEDLG_H
-#include "GEOM_BuildGUI.hxx"
+#include <GEOMBase_Skeleton.h>
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel_QTD.h"
+class DlgRef_2Sel;
//=================================================================================
// class : BuildGUI_EdgeDlg
// purpose :
//=================================================================================
-class GEOM_BUILDGUI_EXPORT BuildGUI_EdgeDlg : public GEOMBase_Skeleton
+class BuildGUI_EdgeDlg : public GEOMBase_Skeleton
{
- Q_OBJECT
+ Q_OBJECT
public:
- BuildGUI_EdgeDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
- const char* name = 0, bool modal = FALSE, Qt::WindowFlags fl = 0);
- ~BuildGUI_EdgeDlg();
+ BuildGUI_EdgeDlg( GeometryGUI*, QWidget* = 0 );
+ ~BuildGUI_EdgeDlg();
protected:
- // redefined from GEOMBase_Helper
- virtual GEOM::GEOM_IOperations_ptr createOperation();
- virtual bool isValid( QString& msg );
- virtual bool execute( ObjectList& objects );
+ // redefined from GEOMBase_Helper
+ virtual GEOM::GEOM_IOperations_ptr createOperation();
+ virtual bool isValid( QString& );
+ virtual bool execute( ObjectList& );
private:
- void Init();
- void enterEvent(QEvent* e);
-
- GEOM::GEOM_Object_var myPoint1, myPoint2; /* Points containing the edge */
- bool myOkPoint1; /* true when myPoint is defined */
- bool myOkPoint2;
-
- Ui::DlgRef_2Sel_QTD* GroupPoints;
+ void Init();
+ void enterEvent( QEvent* );
+
+private:
+ GEOM::GEOM_Object_var myPoint1, myPoint2; /* Points containing the edge */
+ bool myOkPoint1; /* true when myPoint is defined */
+ bool myOkPoint2;
+
+ DlgRef_2Sel* GroupPoints;
private slots:
- void ClickOnOk();
- bool ClickOnApply();
- void ActivateThisDialog();
- void LineEditReturnPressed();
- void SelectionIntoArgument();
- void SetEditCurrentArgument();
+ void ClickOnOk();
+ bool ClickOnApply();
+ void ActivateThisDialog();
+ void LineEditReturnPressed();
+ void SelectionIntoArgument();
+ void SetEditCurrentArgument();
};
-#endif // DIALOGBOX_EDGE_H
+#endif // BUILDGUI_EDGEDLG_H
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_FaceDlg.cxx
+// Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI_FaceDlg.cxx
-// Author : Lucien PIGNOLONI
-// Module : GEOM
-// $Header$
#include "BuildGUI_FaceDlg.h"
-#include "GEOMImpl_Types.hxx"
-#include "TColStd_MapOfInteger.hxx"
-#include "GeometryGUI.h"
-#include "GEOMBase.h"
+#include <GEOMImpl_Types.hxx>
+#include <TColStd_MapOfInteger.hxx>
-#include "SUIT_ResourceMgr.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "LightApp_SelectionMgr.h"
+#include <DlgRef.h>
+#include <GeometryGUI.h>
+#include <GEOMBase.h>
-using namespace std;
+#include <SUIT_ResourceMgr.h>
+#include <SUIT_Session.h>
+#include <SalomeApp_Application.h>
+#include <LightApp_SelectionMgr.h>
//=================================================================================
// class : BuildGUI_FaceDlg()
// The dialog will by default be modeless, unless you set 'modal' to
// TRUE to construct a modal dialog.
//=================================================================================
-BuildGUI_FaceDlg::BuildGUI_FaceDlg(GeometryGUI* theGeometryGUI, QWidget* parent,
- const char* name, bool modal, Qt::WindowFlags fl)
- :GEOMBase_Skeleton(theGeometryGUI, parent, name, modal, Qt::WindowTitleHint | Qt::WindowSystemMenuHint)
+BuildGUI_FaceDlg::BuildGUI_FaceDlg( GeometryGUI* theGeometryGUI, QWidget* parent )
+ : GEOMBase_Skeleton( theGeometryGUI, parent )
{
- QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BUILD_FACE")));
- QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
+ QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_DLG_BUILD_FACE" ) ) );
+ QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_SELECT" ) ) );
- setWindowTitle(tr("GEOM_FACE_TITLE"));
+ setWindowTitle( tr( "GEOM_FACE_TITLE" ) );
/***************************************************************/
- GroupConstructors->setTitle(tr("GEOM_FACE"));
- RadioButton1->setIcon(image0);
- RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton2->close();
- RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton3->close();
-
- GroupWire = new Ui::DlgRef_1Sel1Check_QTD();
- QWidget* aGroupWireWidget = new QWidget(this);
- GroupWire->setupUi(aGroupWireWidget);
- aGroupWireWidget->setObjectName("GroupWire");
-
- GroupWire->GroupBox1->setTitle(tr("GEOM_FACE_FFW"));
- GroupWire->TextLabel1->setText(tr("GEOM_OBJECTS"));
- GroupWire->CheckButton1->setText(tr("GEOM_FACE_OPT"));
- GroupWire->PushButton1->setIcon(image1);
-
- gridLayout1->addWidget(aGroupWireWidget, 2, 0);
+ mainFrame()->GroupConstructors->setTitle( tr( "GEOM_FACE" ) );
+ mainFrame()->RadioButton1->setIcon( image0 );
+ mainFrame()->RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton2->close();
+ mainFrame()->RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton3->close();
+
+ GroupWire = new DlgRef_1Sel1Check( centralWidget() );
+
+ GroupWire->GroupBox1->setTitle( tr( "GEOM_FACE_FFW" ) );
+ GroupWire->TextLabel1->setText( tr( "GEOM_OBJECTS" ) );
+ GroupWire->CheckButton1->setText( tr( "GEOM_FACE_OPT" ) );
+ GroupWire->PushButton1->setIcon( image1 );
+
+ QVBoxLayout* layout = new QVBoxLayout( centralWidget() );
+ layout->setMargin( 0 ); layout->setSpacing( 6 );
+ layout->addWidget( GroupWire );
/***************************************************************/
- setHelpFileName("face.htm");
+ setHelpFileName( "face.htm" );
/* Initialisations */
Init();
myEditCurrentArgument = GroupWire->LineEdit1;
GroupWire->LineEdit1->setReadOnly( true );
- GroupWire->CheckButton1->setChecked(TRUE);
+ GroupWire->CheckButton1->setChecked( true );
TColStd_MapOfInteger aMap;
aMap.Add( GEOM_EDGE );
globalSelection( aMap );
/* signals and slots connections */
- connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
- connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
- connect(GroupWire->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
- connect(GroupWire->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
- initName(tr("GEOM_FACE").toLatin1().constData());
+ connect( buttonOk(), SIGNAL( clicked() ), this, SLOT( ClickOnOk() ) );
+ connect( buttonApply(), SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
+ connect( GroupWire->LineEdit1, SIGNAL( returnPressed()), this, SLOT( LineEditReturnPressed() ) );
+ connect( GroupWire->PushButton1, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
+
+ initName( tr( "GEOM_FACE" ) );
}
//=================================================================================
void BuildGUI_FaceDlg::SelectionIntoArgument()
{
- myEditCurrentArgument->setText("");
+ myEditCurrentArgument->setText( "" );
QString aName;
- int aNbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aName);
-
- if(aNbSel < 1)
- {
- myWires.length(0);
- return;
- }
+ int aNbSel = GEOMBase::GetNameOfSelectedIObjects( selectedIO(), aName );
- GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myWires);
- if (!myWires.length())
+ if ( aNbSel < 1) {
+ myWires.length(0);
return;
- if(aNbSel != 1)
- aName = tr("%1_objects").arg(aNbSel);
+ }
- myEditCurrentArgument->setText( aName );
+ GEOMBase::ConvertListOfIOInListOfGO( selectedIO(), myWires );
+ if ( !myWires.length() )
+ return;
+ if ( aNbSel != 1 )
+ aName = tr( "%1_objects" ).arg( aNbSel );
myEditCurrentArgument->setText( aName );
}
void BuildGUI_FaceDlg::SetEditCurrentArgument()
{
QPushButton* send = (QPushButton*)sender();
- if (send != GroupWire->PushButton1)
+ if ( send != GroupWire->PushButton1 )
return;
TColStd_MapOfInteger aMap;
void BuildGUI_FaceDlg::ActivateThisDialog()
{
GEOMBase_Skeleton::ActivateThisDialog();
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
TColStd_MapOfInteger aMap;
aMap.Add( GEOM_EDGE );
aMap.Add( GEOM_WIRE );
// function : enterEvent()
// purpose :
//=================================================================================
-void BuildGUI_FaceDlg::enterEvent(QEvent* e)
+void BuildGUI_FaceDlg::enterEvent( QEvent* )
{
- if ( !GroupConstructors->isEnabled() )
+ if ( !mainFrame()->GroupConstructors->isEnabled() )
ActivateThisDialog();
}
//=================================================================================
bool BuildGUI_FaceDlg::isValid( QString& )
{
- return (myWires.length() != 0);
+ return ( myWires.length() != 0 );
}
//=================================================================================
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_FaceDlg.h
+// Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI_FaceDlg.h
-// Author : Lucien PIGNOLONI
-// Module : GEOM
-#ifndef DIALOGBOX_FACE_H
-#define DIALOGBOX_FACE_H
+#ifndef BUILDGUI_FACEDLG_H
+#define BUILDGUI_FACEDLG_H
-#include "GEOM_BuildGUI.hxx"
+#include <GEOMBase_Skeleton.h>
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel1Check_QTD.h"
+class DlgRef_1Sel1Check;
//=================================================================================
// class : BuildGUI_FaceDlg
// purpose :
//=================================================================================
-class GEOM_BUILDGUI_EXPORT BuildGUI_FaceDlg : public GEOMBase_Skeleton
+class BuildGUI_FaceDlg : public GEOMBase_Skeleton
{
- Q_OBJECT
+ Q_OBJECT
public:
- BuildGUI_FaceDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
- const char* name = 0, bool modal = FALSE, Qt::WindowFlags fl = 0);
- ~BuildGUI_FaceDlg();
+ BuildGUI_FaceDlg( GeometryGUI*, QWidget* = 0 );
+ ~BuildGUI_FaceDlg();
protected:
- // redefined from GEOMBase_Helper
- virtual GEOM::GEOM_IOperations_ptr createOperation();
- virtual bool isValid( QString& msg );
- virtual bool execute( ObjectList& objects );
-
+ // redefined from GEOMBase_Helper
+ virtual GEOM::GEOM_IOperations_ptr createOperation();
+ virtual bool isValid( QString& );
+ virtual bool execute( ObjectList& );
+
+private:
+ void Init();
+ void enterEvent( QEvent* );
+
private:
- void Init();
- void enterEvent(QEvent* e);
-
- GEOM::ListOfGO myWires;
-
- Ui::DlgRef_1Sel1Check_QTD* GroupWire;
+ GEOM::ListOfGO myWires;
+
+ DlgRef_1Sel1Check* GroupWire;
private slots:
- void ClickOnOk();
- bool ClickOnApply();
- void ActivateThisDialog();
- void SelectionIntoArgument();
- void SetEditCurrentArgument();
+ void ClickOnOk();
+ bool ClickOnApply();
+ void ActivateThisDialog();
+ void SelectionIntoArgument();
+ void SetEditCurrentArgument();
};
-#endif // DIALOGBOX_FACE_H
+#endif // BUILDGUI_FACEDLG_H
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_ShellDlg.cxx
+// Author : Damien COQUERET, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI_ShellDlg.cxx
-// Author : Damien COQUERET
-// Module : GEOM
-// $Header$
#include "BuildGUI_ShellDlg.h"
-#include "GEOMImpl_Types.hxx"
-#include "GeometryGUI.h"
-#include "GEOMBase.h"
+#include <DlgRef.h>
+#include <GeometryGUI.h>
+#include <GEOMBase.h>
+
+#include <GEOMImpl_Types.hxx>
-#include "SUIT_ResourceMgr.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "LightApp_SelectionMgr.h"
+#include <SUIT_ResourceMgr.h>
+#include <SUIT_Session.h>
+#include <SalomeApp_Application.h>
+#include <LightApp_SelectionMgr.h>
-#include "TColStd_MapOfInteger.hxx"
+#include <TColStd_MapOfInteger.hxx>
//=================================================================================
// class : BuildGUI_ShellDlg()
// The dialog will by default be modeless, unless you set 'modal' to
// TRUE to construct a modal dialog.
//=================================================================================
-BuildGUI_ShellDlg::BuildGUI_ShellDlg(GeometryGUI* theGeometryGUI, QWidget* parent,
- const char* name, bool modal, Qt::WindowFlags fl)
- :GEOMBase_Skeleton(theGeometryGUI, parent, name, modal, Qt::WindowTitleHint | Qt::WindowSystemMenuHint)
+BuildGUI_ShellDlg::BuildGUI_ShellDlg( GeometryGUI* theGeometryGUI, QWidget* parent )
+ : GEOMBase_Skeleton( theGeometryGUI, parent )
{
- QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_BUILD_SHELL")));
- QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_SELECT")));
+ QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_DLG_BUILD_SHELL" ) ) );
+ QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_SELECT" ) ) );
- setWindowTitle(tr("GEOM_SHELL_TITLE"));
+ setWindowTitle( tr( "GEOM_SHELL_TITLE" ) );
/***************************************************************/
- GroupConstructors->setTitle(tr("GEOM_SHELL"));
- RadioButton1->setIcon(image0);
- RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton2->close();
- RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton3->close();
-
- GroupShell = new Ui::DlgRef_1Sel_QTD();
- QWidget* aGroupShellWidget = new QWidget(this);
- GroupShell->setupUi(aGroupShellWidget);
- aGroupShellWidget->setObjectName("GroupShell");
-
- GroupShell->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
- GroupShell->TextLabel1->setText(tr("GEOM_OBJECTS"));
- GroupShell->PushButton1->setIcon(image1);
+ mainFrame()->GroupConstructors->setTitle( tr( "GEOM_SHELL" ) );
+ mainFrame()->RadioButton1->setIcon( image0 );
+ mainFrame()->RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton2->close();
+ mainFrame()->RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton3->close();
+
+ GroupShell = new DlgRef_1Sel( centralWidget() );
+
+ GroupShell->GroupBox1->setTitle( tr( "GEOM_ARGUMENTS" ) );
+ GroupShell->TextLabel1->setText( tr( "GEOM_OBJECTS" ) );
+ GroupShell->PushButton1->setIcon( image1 );
GroupShell->LineEdit1->setReadOnly( true );
- gridLayout1->addWidget(aGroupShellWidget, 2, 0);
+ QVBoxLayout* layout = new QVBoxLayout( centralWidget() );
+ layout->setMargin( 0 ); layout->setSpacing( 6 );
+ layout->addWidget( GroupShell );
/***************************************************************/
setHelpFileName("shell.htm");
myOkFacesAndShells = false;
TColStd_MapOfInteger aMap;
- aMap.Add(GEOM_SHELL);
- aMap.Add(GEOM_FACE);
+ aMap.Add( GEOM_SHELL );
+ aMap.Add( GEOM_FACE );
globalSelection( aMap );
/* signals and slots connections */
- connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
- connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
+ connect( buttonOk(), SIGNAL( clicked() ), this, SLOT( ClickOnOk() ) );
+ connect( buttonApply(), SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
- connect(GroupShell->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
+ connect( GroupShell->PushButton1, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
- initName(tr("GEOM_SHELL").toLatin1().constData());
+ initName( tr( "GEOM_SHELL" ) );
}
void BuildGUI_ShellDlg::SetEditCurrentArgument()
{
QPushButton* send = (QPushButton*)sender();
- if (send != GroupShell->PushButton1)
+ if ( send != GroupShell->PushButton1 )
return;
TColStd_MapOfInteger aMap;
- aMap.Add(GEOM_SHELL);
- aMap.Add(GEOM_FACE);
+ aMap.Add( GEOM_SHELL );
+ aMap.Add( GEOM_FACE );
globalSelection( aMap );
myEditCurrentArgument = GroupShell->LineEdit1;
void BuildGUI_ShellDlg::ActivateThisDialog()
{
GEOMBase_Skeleton::ActivateThisDialog();
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
TColStd_MapOfInteger aMap;
- aMap.Add(GEOM_SHELL);
- aMap.Add(GEOM_FACE);
+ aMap.Add( GEOM_SHELL );
+ aMap.Add( GEOM_FACE );
globalSelection( aMap );
}
// function : enterEvent()
// purpose :
//=================================================================================
-void BuildGUI_ShellDlg::enterEvent(QEvent* e)
+void BuildGUI_ShellDlg::enterEvent( QEvent* )
{
- if ( !GroupConstructors->isEnabled() )
+ if ( !mainFrame()->GroupConstructors->isEnabled() )
ActivateThisDialog();
}
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
//
+// File : BuildGUI_ShellDlg.h
+// Author : Damien COQUERET, Open CASCADE S.A.S.
//
-// File : BuildGUI_ShellDlg.h
-// Author : Damien COQUERET
-// Module : GEOM
-#ifndef DIALOGBOX_SHELL_H
-#define DIALOGBOX_SHELL_H
+#ifndef BUILDGUI_SHELLDLG_H
+#define BUILDGUI_SHELLDLG_H
-#include "GEOM_BuildGUI.hxx"
+#include <GEOMBase_Skeleton.h>
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
+class DlgRef_1Sel;
//=================================================================================
// class : BuildGUI_ShellDlg
// purpose :
//=================================================================================
-class GEOM_BUILDGUI_EXPORT BuildGUI_ShellDlg : public GEOMBase_Skeleton
+class BuildGUI_ShellDlg : public GEOMBase_Skeleton
{
- Q_OBJECT
+ Q_OBJECT
public:
- BuildGUI_ShellDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
- const char* name = 0, bool modal = FALSE, Qt::WindowFlags fl = 0);
- ~BuildGUI_ShellDlg();
+ BuildGUI_ShellDlg( GeometryGUI*, QWidget* = 0 );
+ ~BuildGUI_ShellDlg();
protected:
- // redefined from GEOMBase_Helper
- virtual GEOM::GEOM_IOperations_ptr createOperation();
- virtual bool isValid( QString& msg );
- virtual bool execute( ObjectList& objects );
+ // redefined from GEOMBase_Helper
+ virtual GEOM::GEOM_IOperations_ptr createOperation();
+ virtual bool isValid( QString& );
+ virtual bool execute( ObjectList& );
private:
- void Init();
- void enterEvent(QEvent * e);
+ void Init();
+ void enterEvent( QEvent* );
- GEOM::ListOfGO myFacesAndShells;
- bool myOkFacesAndShells; /* to check when arguments is defined */
-
- Ui::DlgRef_1Sel_QTD* GroupShell;
+private:
+ GEOM::ListOfGO myFacesAndShells;
+ bool myOkFacesAndShells;/* to check when arguments is defined */
+
+ DlgRef_1Sel* GroupShell;
private slots:
- void ClickOnOk();
- bool ClickOnApply();
- void SetEditCurrentArgument();
- void SelectionIntoArgument();
- void ActivateThisDialog();
+ void ClickOnOk();
+ bool ClickOnApply();
+ void SetEditCurrentArgument();
+ void SelectionIntoArgument();
+ void ActivateThisDialog();
};
-#endif // DIALOGBOX_SHELL_H
+#endif // BUILDGUI_SHELLDLG_H
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_SolidDlg.cxx
+// Author : Damien COQUERET, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI_SolidDlg.cxx
-// Author : Damien COQUERET
-// Module : GEOM
-// $Header$
#include "BuildGUI_SolidDlg.h"
-#include "GEOMImpl_Types.hxx"
-#include "GeometryGUI.h"
-#include "GEOMBase.h"
+#include <DlgRef.h>
+#include <GeometryGUI.h>
+#include <GEOMBase.h>
+
+#include <GEOMImpl_Types.hxx>
-#include "SUIT_ResourceMgr.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "LightApp_SelectionMgr.h"
+#include <SUIT_ResourceMgr.h>
+#include <SUIT_Session.h>
+#include <SalomeApp_Application.h>
+#include <LightApp_SelectionMgr.h>
//=================================================================================
// class : BuildGUI_SolidDlg()
// The dialog will by default be modeless, unless you set 'modal' to
// TRUE to construct a modal dialog.
//=================================================================================
-BuildGUI_SolidDlg::BuildGUI_SolidDlg(GeometryGUI* theGeometryGUI, QWidget* parent,
- const char* name, bool modal, Qt::WindowFlags fl)
- :GEOMBase_Skeleton(theGeometryGUI, parent, name, modal, Qt::WindowTitleHint | Qt::WindowSystemMenuHint)
+BuildGUI_SolidDlg::BuildGUI_SolidDlg( GeometryGUI* theGeometryGUI, QWidget* parent )
+ : GEOMBase_Skeleton( theGeometryGUI, parent )
{
- QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_BUILD_SOLID")));
- QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_SELECT")));
+ QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_DLG_BUILD_SOLID" ) ) );
+ QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_SELECT" ) ) );
- setWindowTitle(tr("GEOM_SOLID_TITLE"));
+ setWindowTitle( tr( "GEOM_SOLID_TITLE" ) );
/***************************************************************/
- GroupConstructors->setTitle(tr("GEOM_SOLID"));
- RadioButton1->setIcon(image0);
- RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton2->close();
- RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton3->close();
-
- GroupSolid = new Ui::DlgRef_1Sel1Check_QTD();
- QWidget* aGroupSolidWidget = new QWidget(this);
- GroupSolid->setupUi(aGroupSolidWidget);
- aGroupSolidWidget->setObjectName("GroupSolid");
-
- GroupSolid->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
- GroupSolid->TextLabel1->setText(tr("GEOM_OBJECTS"));
- GroupSolid->CheckButton1->setText(tr("GEOM_CREATE_SINGLE_SOLID"));
- GroupSolid->PushButton1->setIcon(image1);
+ mainFrame()->GroupConstructors->setTitle( tr( "GEOM_SOLID" ) );
+ mainFrame()->RadioButton1->setIcon( image0 );
+ mainFrame()->RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton2->close();
+ mainFrame()->RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton3->close();
+
+ GroupSolid = new DlgRef_1Sel1Check( centralWidget() );
+
+ GroupSolid->GroupBox1->setTitle( tr( "GEOM_ARGUMENTS" ) );
+ GroupSolid->TextLabel1->setText( tr( "GEOM_OBJECTS" ) );
+ GroupSolid->CheckButton1->setText( tr( "GEOM_CREATE_SINGLE_SOLID" ) );
+ GroupSolid->PushButton1->setIcon( image1 );
GroupSolid->LineEdit1->setReadOnly( true );
- gridLayout1->addWidget(aGroupSolidWidget, 2, 0);
+ QVBoxLayout* layout = new QVBoxLayout( centralWidget() );
+ layout->setMargin( 0 ); layout->setSpacing( 6 );
+ layout->addWidget( GroupSolid );
/***************************************************************/
- setHelpFileName("solid.htm");
+ setHelpFileName( "solid.htm" );
/* Initialisations */
Init();
//=================================================================================
BuildGUI_SolidDlg::~BuildGUI_SolidDlg()
{
- // no need to delete child widgets, Qt does it all for us
+ // no need to delete child widgets, Qt does it all for us
}
globalSelection( GEOM_SHELL );
/* signals and slots connections */
- connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
- connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
+ connect( buttonOk(), SIGNAL( clicked() ), this, SLOT( ClickOnOk() ) );
+ connect( buttonApply(), SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
- connect(GroupSolid->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
- connect(GroupSolid->CheckButton1, SIGNAL(toggled(bool)), this, SLOT(EnableNameField(bool)));
+ connect( GroupSolid->PushButton1, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
+ connect( GroupSolid->CheckButton1, SIGNAL( toggled( bool ) ), this, SLOT( EnableNameField( bool ) ) );
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
- initName(tr("GEOM_SOLID").toLatin1().constData());
+ initName( tr( "GEOM_SOLID" ) );
}
//=================================================================================
void BuildGUI_SolidDlg::SelectionIntoArgument()
{
- myEditCurrentArgument->setText("");
+ myEditCurrentArgument->setText( "" );
QString aString = "";
myOkShells = false;
- int nbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aString);
- if (nbSel == 0)
+ int nbSel = GEOMBase::GetNameOfSelectedIObjects( selectedIO(), aString );
+ if ( nbSel == 0 )
return;
- if(nbSel != 1)
- aString = tr("%1_objects").arg(nbSel);
+ if ( nbSel != 1 )
+ aString = tr( "%1_objects" ).arg( nbSel );
- GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myShells);
- if (!myShells.length())
+ GEOMBase::ConvertListOfIOInListOfGO( selectedIO(), myShells );
+ if ( !myShells.length() )
return;
- myEditCurrentArgument->setText(aString);
+ myEditCurrentArgument->setText( aString );
myOkShells = true;
}
void BuildGUI_SolidDlg::SetEditCurrentArgument()
{
QPushButton* send = (QPushButton*)sender();
- if(send != GroupSolid->PushButton1)
+ if ( send != GroupSolid->PushButton1 )
return;
globalSelection( GEOM_SHELL );
void BuildGUI_SolidDlg::ActivateThisDialog()
{
GEOMBase_Skeleton::ActivateThisDialog();
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
globalSelection( GEOM_SHELL );
}
// function : enterEvent()
// purpose :
//=================================================================================
-void BuildGUI_SolidDlg::enterEvent(QEvent* e)
+void BuildGUI_SolidDlg::enterEvent( QEvent* )
{
- if ( !GroupConstructors->isEnabled() )
+ if ( !mainFrame()->GroupConstructors->isEnabled() )
ActivateThisDialog();
}
// function : EnableNameField()
// purpose :
//=================================================================================
-void BuildGUI_SolidDlg::EnableNameField(bool toEnable)
+void BuildGUI_SolidDlg::EnableNameField( bool toEnable )
{
- this->GroupBoxName->setEnabled(toEnable);
+ mainFrame()->GroupBoxName->setEnabled( toEnable );
}
//=================================================================================
{
bool toCreateSingleSolid = GroupSolid->CheckButton1->isChecked();
- if ( toCreateSingleSolid )
- {
+ if ( toCreateSingleSolid ) {
GEOM::GEOM_Object_var anObj = GEOM::GEOM_IShapesOperations::_narrow(
getOperation() )->MakeSolidShells( myShells );
if ( !anObj->_is_nil() )
objects.push_back( anObj._retn() );
}
- else
- {
- for ( int i = 0, n = myShells.length(); i< n; i++ )
- {
+ else {
+ for ( int i = 0, n = myShells.length(); i< n; i++ ) {
GEOM::GEOM_Object_var anObj = GEOM::GEOM_IShapesOperations::_narrow(
getOperation() )->MakeSolidShell( myShells[ i ] );
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_SolidDlg.h
+// Author : Damien COQUERET, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI_SolidDlg.h
-// Author : Damien COQUERET
-// Module : GEOM
-#ifndef DIALOGBOX_SOLID_H
-#define DIALOGBOX_SOLID_H
+#ifndef BUILDGUI_SOLIDDLG_H
+#define BUILDGUI_SOLIDDLG_H
-#include "GEOM_BuildGUI.hxx"
+#include <GEOMBase_Skeleton.h>
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel1Check_QTD.h"
+class DlgRef_1Sel1Check;
//=================================================================================
// class : BuildGUI_SolidDlg
// purpose :
//=================================================================================
-class GEOM_BUILDGUI_EXPORT BuildGUI_SolidDlg : public GEOMBase_Skeleton
+class BuildGUI_SolidDlg : public GEOMBase_Skeleton
{
- Q_OBJECT
+ Q_OBJECT
public:
- BuildGUI_SolidDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
- const char* name = 0, bool modal = FALSE, Qt::WindowFlags fl = 0);
- ~BuildGUI_SolidDlg();
+ BuildGUI_SolidDlg( GeometryGUI*, QWidget* = 0 );
+ ~BuildGUI_SolidDlg();
protected:
- // redefined from GEOMBase_Helper
- virtual GEOM::GEOM_IOperations_ptr createOperation();
- virtual bool isValid( QString& msg );
- virtual bool execute( ObjectList& objects );
+ // redefined from GEOMBase_Helper
+ virtual GEOM::GEOM_IOperations_ptr createOperation();
+ virtual bool isValid( QString& );
+ virtual bool execute( ObjectList& );
private:
- void Init();
- void enterEvent(QEvent * e);
+ void Init();
+ void enterEvent( QEvent* );
- GEOM::ListOfGO myShells;
- bool myOkShells; /* to check when arguments is defined and
- all shells are closed */
+private:
+ GEOM::ListOfGO myShells;
+ bool myOkShells; /* to check when arguments is defined and
+ all shells are closed */
- Ui::DlgRef_1Sel1Check_QTD* GroupSolid;
+ DlgRef_1Sel1Check* GroupSolid;
private slots:
- void ClickOnOk();
- bool ClickOnApply();
- void SetEditCurrentArgument();
- void SelectionIntoArgument();
- void ActivateThisDialog();
- void EnableNameField(bool toEnable);
+ void ClickOnOk();
+ bool ClickOnApply();
+ void SetEditCurrentArgument();
+ void SelectionIntoArgument();
+ void ActivateThisDialog();
+ void EnableNameField( bool );
};
-#endif // DIALOGBOX_SOLID_H
+#endif // BUILDGUI_SOLIDDLG_H
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_WireDlg.cxx
+// Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI_WireDlg.cxx
-// Author : Lucien PIGNOLONI
-// Module : GEOM
-// $Header$
#include "BuildGUI_WireDlg.h"
-#include "GEOMImpl_Types.hxx"
-#include "GeometryGUI.h"
-#include "GEOMBase.h"
+#include <GEOMImpl_Types.hxx>
+
+#include <DlgRef.h>
+#include <GeometryGUI.h>
+#include <GEOMBase.h>
-#include "SUIT_ResourceMgr.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "LightApp_SelectionMgr.h"
+#include <SUIT_ResourceMgr.h>
+#include <SUIT_Session.h>
+#include <SalomeApp_Application.h>
+#include <LightApp_SelectionMgr.h>
-#include "TColStd_MapOfInteger.hxx"
+#include <TColStd_MapOfInteger.hxx>
//=================================================================================
// class : BuildGUI_WireDlg()
// The dialog will by default be modeless, unless you set 'modal' to
// TRUE to construct a modal dialog.
//=================================================================================
-BuildGUI_WireDlg::BuildGUI_WireDlg(GeometryGUI* theGeometryGUI, QWidget* parent,
- const char* name, bool modal, Qt::WindowFlags fl)
- :GEOMBase_Skeleton(theGeometryGUI, parent, name, modal, Qt::WindowTitleHint | Qt::WindowSystemMenuHint)
+BuildGUI_WireDlg::BuildGUI_WireDlg( GeometryGUI* theGeometryGUI, QWidget* parent )
+ : GEOMBase_Skeleton( theGeometryGUI, parent )
{
- QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BUILD_WIRE")));
- QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
+ QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_DLG_BUILD_WIRE" ) ) );
+ QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_SELECT" ) ) );
- setWindowTitle(tr("GEOM_WIRE_TITLE"));
+ setWindowTitle( tr( "GEOM_WIRE_TITLE" ) );
/***************************************************************/
- GroupConstructors->setTitle(tr("GEOM_WIRE"));
- RadioButton1->setIcon(image0);
- RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton2->close();
- RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
- RadioButton3->close();
-
- GroupPoints = new Ui::DlgRef_1Sel_QTD();
- QWidget* aGroupPointsWidget = new QWidget(this);
- GroupPoints->setupUi(aGroupPointsWidget);
- aGroupPointsWidget->setObjectName("GroupPoints");
-
- GroupPoints->GroupBox1->setTitle(tr("GEOM_WIRE_CONNECT"));
- GroupPoints->TextLabel1->setText(tr("GEOM_OBJECTS"));
- GroupPoints->PushButton1->setIcon(image1);
+ mainFrame()->GroupConstructors->setTitle( tr( "GEOM_WIRE" ) );
+ mainFrame()->RadioButton1->setIcon( image0 );
+ mainFrame()->RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton2->close();
+ mainFrame()->RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton3->close();
+
+ GroupPoints = new DlgRef_1Sel( centralWidget() );
+
+ GroupPoints->GroupBox1->setTitle( tr( "GEOM_WIRE_CONNECT" ) );
+ GroupPoints->TextLabel1->setText( tr( "GEOM_OBJECTS" ) );
+ GroupPoints->PushButton1->setIcon( image1 );
GroupPoints->LineEdit1->setReadOnly( true );
- gridLayout1->addWidget(aGroupPointsWidget, 2, 0);
+ QVBoxLayout* layout = new QVBoxLayout( centralWidget() );
+ layout->setMargin( 0 ); layout->setSpacing( 6 );
+ layout->addWidget( GroupPoints );
/***************************************************************/
- setHelpFileName("wire.htm");
+ setHelpFileName( "wire.htm" );
/* Initialisations */
Init();
myOkEdgesAndWires = false;
TColStd_MapOfInteger aMap;
- aMap.Add(GEOM_WIRE);
- aMap.Add(GEOM_EDGE);
+ aMap.Add( GEOM_WIRE );
+ aMap.Add( GEOM_EDGE );
globalSelection( aMap );
/* signals and slots connections */
- connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
- connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
- connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( buttonOk(), SIGNAL( clicked() ), this, SLOT( ClickOnOk() ) );
+ connect( buttonApply(), SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
+ connect( GroupPoints->PushButton1, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
- initName(tr("GEOM_WIRE").toLatin1().constData());
+ initName( tr( "GEOM_WIRE" ) );
}
//=================================================================================
void BuildGUI_WireDlg::SelectionIntoArgument()
{
- myEditCurrentArgument->setText("");
+ myEditCurrentArgument->setText( "" );
QString aString = ""; /* name of selection */
myOkEdgesAndWires = false;
- int nbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aString);
+ int nbSel = GEOMBase::GetNameOfSelectedIObjects( selectedIO(), aString );
- if(nbSel == 0)
+ if ( nbSel == 0 )
return;
- if(nbSel != 1)
- aString = tr("%1_objects").arg(nbSel);
+ if ( nbSel != 1 )
+ aString = tr( "%1_objects" ).arg( nbSel );
- GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myEdgesAndWires);
- if (!myEdgesAndWires.length())
+ GEOMBase::ConvertListOfIOInListOfGO( selectedIO(), myEdgesAndWires );
+ if ( !myEdgesAndWires.length() )
return;
- myEditCurrentArgument->setText(aString);
+ myEditCurrentArgument->setText( aString );
myOkEdgesAndWires = true;
}
void BuildGUI_WireDlg::SetEditCurrentArgument()
{
QPushButton* send = (QPushButton*)sender();
- if (send != GroupPoints->PushButton1)
+ if ( send != GroupPoints->PushButton1 )
return;
TColStd_MapOfInteger aMap;
- aMap.Add(GEOM_WIRE);
- aMap.Add(GEOM_EDGE);
+ aMap.Add( GEOM_WIRE );
+ aMap.Add( GEOM_EDGE );
globalSelection( aMap );
myEditCurrentArgument = GroupPoints->LineEdit1;
void BuildGUI_WireDlg::ActivateThisDialog()
{
GEOMBase_Skeleton::ActivateThisDialog();
- connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
- SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
+ connect( ( (SalomeApp_Application*)( SUIT_Session::session()->activeApplication() ) )->selectionMgr(),
+ SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
TColStd_MapOfInteger aMap;
- aMap.Add(GEOM_WIRE);
- aMap.Add(GEOM_EDGE);
+ aMap.Add( GEOM_WIRE );
+ aMap.Add( GEOM_EDGE );
globalSelection( aMap );
}
// function : enterEvent()
// purpose :
//=================================================================================
-void BuildGUI_WireDlg::enterEvent(QEvent* e)
+void BuildGUI_WireDlg::enterEvent( QEvent* )
{
- if ( !GroupConstructors->isEnabled() )
+ if ( !mainFrame()->GroupConstructors->isEnabled() )
ActivateThisDialog();
}
-// GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
//
-// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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.
+// 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
+// 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
//
+// File : BuildGUI_WireDlg.h
+// Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
//
-//
-// File : BuildGUI_WireDlg.h
-// Author : Lucien PIGNOLONI
-// Module : GEOM
-#ifndef DIALOGBOX_WIRE_H
-#define DIALOGBOX_WIRE_H
+#ifndef BUILDGUI_WIREDLG_H
+#define BUILDGUI_WIREDLG_H
-#include "GEOM_BuildGUI.hxx"
+#include <GEOMBase_Skeleton.h>
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
+class DlgRef_1Sel;
//=================================================================================
// class : BuildGUI_WireDlg
// purpose :
//=================================================================================
-class GEOM_BUILDGUI_EXPORT BuildGUI_WireDlg : public GEOMBase_Skeleton
+class BuildGUI_WireDlg : public GEOMBase_Skeleton
{
- Q_OBJECT
+ Q_OBJECT
public:
- BuildGUI_WireDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
- const char* name = 0, bool modal = FALSE, Qt::WindowFlags fl = 0);
- ~BuildGUI_WireDlg();
+ BuildGUI_WireDlg( GeometryGUI*, QWidget* = 0 );
+ ~BuildGUI_WireDlg();
protected:
- // redefined from GEOMBase_Helper
- virtual GEOM::GEOM_IOperations_ptr createOperation();
- virtual bool isValid( QString& msg );
- virtual bool execute( ObjectList& objects );
+ // redefined from GEOMBase_Helper
+ virtual GEOM::GEOM_IOperations_ptr createOperation();
+ virtual bool isValid( QString& );
+ virtual bool execute( ObjectList& );
private:
- void Init();
- void enterEvent(QEvent* e);
-
- GEOM::ListOfGO myEdgesAndWires;
- bool myOkEdgesAndWires; /* to check when arguments is defined */
+ void Init();
+ void enterEvent( QEvent* );
- Ui::DlgRef_1Sel_QTD* GroupPoints;
+private:
+ GEOM::ListOfGO myEdgesAndWires;
+ bool myOkEdgesAndWires; /* to check when arguments is defined */
+
+ DlgRef_1Sel* GroupPoints;
private slots:
- void ClickOnOk();
- bool ClickOnApply();
- void ActivateThisDialog();
- void SelectionIntoArgument();
- void SetEditCurrentArgument();
+ void ClickOnOk();
+ bool ClickOnApply();
+ void ActivateThisDialog();
+ void SelectionIntoArgument();
+ void SetEditCurrentArgument();
};
-#endif // DIALOGBOX_WIRE_H
+#endif // BUILDGUI_WIREDLG_H
+++ /dev/null
-// 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 : GEOM_BuildGUI.hxx
-// Author : Alexander A. BORODIN
-// Module : GEOM
-
-#ifndef _GEOM_BuildGUI_HXX_
-#define _GEOM_BuildGUI_HXX_
-
-#ifdef WNT
- #if defined BUILDGUI_EXPORTS
- #if defined WIN32
- #define GEOM_BUILDGUI_EXPORT __declspec( dllexport )
- #else
- #define GEOM_BUILDGUI_EXPORT
- #endif
- #else
- #if defined WIN32
- #define GEOM_BUILDGUI_EXPORT __declspec( dllimport )
- #else
- #define GEOM_BUILDGUI_EXPORT
- #endif
- #endif
-#else
- #define GEOM_BUILDGUI_EXPORT
-#endif
-
-#endif
-# GEOM BUILDGUI :
+# GEOM BUILDGUI :
#
-# Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+# 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 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.
+# 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
+# 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
#
+# File : Makefile.am
+# Author : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
+# Package : BuildGUI
#
-#
-# File : Makefile.in
-# Author : Damien COQUERET (OCC)
-# Modified by : Alexander BORODIN (OCN) - autotools usage
-# Module : GEOM
-# $Header:
include $(top_srcdir)/adm_local/unix/make_common_starter.am
lib_LTLIBRARIES = libBuildGUI.la
# Sources files
-dist_libBuildGUI_la_SOURCES = \
- BuildGUI.cxx \
- BuildGUI_EdgeDlg.cxx \
- BuildGUI_WireDlg.cxx \
- BuildGUI_FaceDlg.cxx \
- BuildGUI_ShellDlg.cxx \
- BuildGUI_SolidDlg.cxx \
+dist_libBuildGUI_la_SOURCES = \
+ BuildGUI.h \
+ BuildGUI_EdgeDlg.h \
+ BuildGUI_WireDlg.h \
+ BuildGUI_FaceDlg.h \
+ BuildGUI_ShellDlg.h \
+ BuildGUI_SolidDlg.h \
+ BuildGUI_CompoundDlg.h \
+ \
+ BuildGUI.cxx \
+ BuildGUI_EdgeDlg.cxx \
+ BuildGUI_WireDlg.cxx \
+ BuildGUI_FaceDlg.cxx \
+ BuildGUI_ShellDlg.cxx \
+ BuildGUI_SolidDlg.cxx \
BuildGUI_CompoundDlg.cxx
MOC_FILES = \
- BuildGUI_EdgeDlg_moc.cxx \
- BuildGUI_WireDlg_moc.cxx \
- BuildGUI_FaceDlg_moc.cxx \
- BuildGUI_ShellDlg_moc.cxx \
- BuildGUI_SolidDlg_moc.cxx \
+ BuildGUI_EdgeDlg_moc.cxx \
+ BuildGUI_WireDlg_moc.cxx \
+ BuildGUI_FaceDlg_moc.cxx \
+ BuildGUI_ShellDlg_moc.cxx \
+ BuildGUI_SolidDlg_moc.cxx \
BuildGUI_CompoundDlg_moc.cxx
-nodist_libBuildGUI_la_SOURCES= \
+nodist_libBuildGUI_la_SOURCES = \
$(MOC_FILES)
# LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
# additionnal information to compil and link file
libBuildGUI_la_CPPFLAGS = \
- $(QT_INCLUDES) \
- $(VTK_INCLUDES) \
- $(CAS_CPPFLAGS) \
- $(PYTHON_INCLUDES) \
- $(BOOST_CPPFLAGS) \
- $(KERNEL_CXXFLAGS) \
- $(GUI_CXXFLAGS) \
- $(CORBA_CXXFLAGS) \
- $(CORBA_INCLUDES) \
- -I$(srcdir)/../GEOMGUI \
- -I$(srcdir)/../DlgRef \
- -I$(srcdir)/../GEOMBase \
- -I$(srcdir)/../OBJECT \
- -I$(srcdir)/../GEOMClient \
- -I$(srcdir)/../GEOMImpl \
- -I$(srcdir)/../GEOMFiltersSelection \
- -I$(top_builddir)/idl \
+ $(QT_INCLUDES) \
+ $(VTK_INCLUDES) \
+ $(CAS_CPPFLAGS) \
+ $(PYTHON_INCLUDES) \
+ $(BOOST_CPPFLAGS) \
+ $(KERNEL_CXXFLAGS) \
+ $(GUI_CXXFLAGS) \
+ $(CORBA_CXXFLAGS) \
+ $(CORBA_INCLUDES) \
+ -I$(srcdir)/../GEOMGUI \
+ -I$(srcdir)/../DlgRef \
+ -I$(srcdir)/../GEOMBase \
+ -I$(srcdir)/../OBJECT \
+ -I$(srcdir)/../GEOMClient \
+ -I$(srcdir)/../GEOMImpl \
+ -I$(srcdir)/../GEOMFiltersSelection \
+ -I$(top_builddir)/idl \
+ -I$(top_builddir)/src/DlgRef \
-I$(top_builddir)/salome_adm/unix
-libBuildGUI_la_LDFLAGS = \
+libBuildGUI_la_LDFLAGS = \
../GEOMFiltersSelection/libGEOMFiltersSelection.la \
../GEOMBase/libGEOMBase.la
--- /dev/null
+// 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 : DlgRef.cxx
+// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
+//
+
+#include "DlgRef.h"
+
+//////////////////////////////////////////
+// DlgRef_1List1Spin1Btn
+//////////////////////////////////////////
+
+DlgRef_1List1Spin1Btn::DlgRef_1List1Spin1Btn( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1List1Spin1Btn::~DlgRef_1List1Spin1Btn()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel1Check1List
+//////////////////////////////////////////
+
+DlgRef_1Sel1Check1List::DlgRef_1Sel1Check1List( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel1Check1List::~DlgRef_1Sel1Check1List()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel1Check1Sel
+//////////////////////////////////////////
+
+DlgRef_1Sel1Check1Sel::DlgRef_1Sel1Check1Sel( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel1Check1Sel::~DlgRef_1Sel1Check1Sel()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel1Check
+//////////////////////////////////////////
+
+DlgRef_1Sel1Check::DlgRef_1Sel1Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel1Check::~DlgRef_1Sel1Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel1List4Btn
+//////////////////////////////////////////
+
+DlgRef_1Sel1List4Btn::DlgRef_1Sel1List4Btn( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel1List4Btn::~DlgRef_1Sel1List4Btn()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel1Spin1Check
+//////////////////////////////////////////
+
+DlgRef_1Sel1Spin1Check::DlgRef_1Sel1Spin1Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel1Spin1Check::~DlgRef_1Sel1Spin1Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel1Spin
+//////////////////////////////////////////
+
+DlgRef_1Sel1Spin::DlgRef_1Sel1Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel1Spin::~DlgRef_1Sel1Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel2Spin1View1Check
+//////////////////////////////////////////
+
+DlgRef_1Sel2Spin1View1Check::DlgRef_1Sel2Spin1View1Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel2Spin1View1Check::~DlgRef_1Sel2Spin1View1Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel2Spin
+//////////////////////////////////////////
+
+DlgRef_1Sel2Spin::DlgRef_1Sel2Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel2Spin::~DlgRef_1Sel2Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel3Check
+//////////////////////////////////////////
+
+DlgRef_1Sel3Check::DlgRef_1Sel3Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel3Check::~DlgRef_1Sel3Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel3Spin
+//////////////////////////////////////////
+
+DlgRef_1Sel3Spin::DlgRef_1Sel3Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel3Spin::~DlgRef_1Sel3Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel4Spin
+//////////////////////////////////////////
+
+DlgRef_1Sel4Spin::DlgRef_1Sel4Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel4Spin::~DlgRef_1Sel4Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel5Spin
+//////////////////////////////////////////
+
+DlgRef_1Sel5Spin::DlgRef_1Sel5Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel5Spin::~DlgRef_1Sel5Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Spin
+//////////////////////////////////////////
+
+DlgRef_1Spin::DlgRef_1Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Spin::~DlgRef_1Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1Sel
+//////////////////////////////////////////
+
+DlgRef_1Sel::DlgRef_1Sel( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1Sel::~DlgRef_1Sel()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_1SelExt
+//////////////////////////////////////////
+
+DlgRef_1SelExt::DlgRef_1SelExt( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_1SelExt::~DlgRef_1SelExt()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_2Sel1List
+//////////////////////////////////////////
+
+DlgRef_2Sel1List::DlgRef_2Sel1List( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_2Sel1List::~DlgRef_2Sel1List()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_2Sel1Spin2Check
+//////////////////////////////////////////
+
+DlgRef_2Sel1Spin2Check::DlgRef_2Sel1Spin2Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_2Sel1Spin2Check::~DlgRef_2Sel1Spin2Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_2Sel1Spin
+//////////////////////////////////////////
+
+DlgRef_2Sel1Spin::DlgRef_2Sel1Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_2Sel1Spin::~DlgRef_2Sel1Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_2Sel2Spin1Check
+//////////////////////////////////////////
+
+DlgRef_2Sel2Spin1Check::DlgRef_2Sel2Spin1Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_2Sel2Spin1Check::~DlgRef_2Sel2Spin1Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_2Sel2Spin
+//////////////////////////////////////////
+
+DlgRef_2Sel2Spin::DlgRef_2Sel2Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_2Sel2Spin::~DlgRef_2Sel2Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_2Sel3Spin
+//////////////////////////////////////////
+
+DlgRef_2Sel3Spin::DlgRef_2Sel3Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_2Sel3Spin::~DlgRef_2Sel3Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_2Sel4Spin1Check
+//////////////////////////////////////////
+
+DlgRef_2Sel4Spin1Check::DlgRef_2Sel4Spin1Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_2Sel4Spin1Check::~DlgRef_2Sel4Spin1Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_2Sel
+//////////////////////////////////////////
+
+DlgRef_2Sel::DlgRef_2Sel( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_2Sel::~DlgRef_2Sel()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_2SelExt
+//////////////////////////////////////////
+
+DlgRef_2SelExt::DlgRef_2SelExt( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_2SelExt::~DlgRef_2SelExt()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_2Spin
+//////////////////////////////////////////
+
+DlgRef_2Spin::DlgRef_2Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_2Spin::~DlgRef_2Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_3Check
+//////////////////////////////////////////
+
+DlgRef_3Check::DlgRef_3Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_3Check::~DlgRef_3Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_3Sel1Check
+//////////////////////////////////////////
+
+DlgRef_3Sel1Check::DlgRef_3Sel1Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_3Sel1Check::~DlgRef_3Sel1Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_3Sel1Spin
+//////////////////////////////////////////
+
+DlgRef_3Sel1Spin::DlgRef_3Sel1Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_3Sel1Spin::~DlgRef_3Sel1Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_3Sel3Spin1Check
+//////////////////////////////////////////
+
+DlgRef_3Sel3Spin1Check::DlgRef_3Sel3Spin1Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_3Sel3Spin1Check::~DlgRef_3Sel3Spin1Check()
+{
+}
+
+void DlgRef_3Sel3Spin1Check::ShowRows( int fromRow, int toRow, bool toShow )
+{
+ const int maxRows = 6;
+
+ if ( toRow >= fromRow && fromRow >= 0 && toRow <= maxRows ) {
+ int c = gridLayout1->count();
+ for ( int i = 0; i < c; i++ ) {
+ QWidget* w = gridLayout1->itemAt( i )->widget();
+ int row, col, rowspan, colspan;
+ gridLayout1->getItemPosition( i, &row, &col, &rowspan, &colspan );
+ if ( w && row >= fromRow && row <= toRow )
+ w->setVisible( toShow );
+ }
+ }
+}
+
+//////////////////////////////////////////
+// DlgRef_3Sel4Spin2Check
+//////////////////////////////////////////
+
+DlgRef_3Sel4Spin2Check::DlgRef_3Sel4Spin2Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_3Sel4Spin2Check::~DlgRef_3Sel4Spin2Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_3Sel
+//////////////////////////////////////////
+
+DlgRef_3Sel::DlgRef_3Sel( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_3Sel::~DlgRef_3Sel()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_3Spin1Check
+//////////////////////////////////////////
+
+DlgRef_3Spin1Check::DlgRef_3Spin1Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_3Spin1Check::~DlgRef_3Spin1Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_3Spin
+//////////////////////////////////////////
+
+DlgRef_3Spin::DlgRef_3Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_3Spin::~DlgRef_3Spin()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_4Sel1List1Check
+//////////////////////////////////////////
+
+DlgRef_4Sel1List1Check::DlgRef_4Sel1List1Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_4Sel1List1Check::~DlgRef_4Sel1List1Check()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_4Sel1List
+//////////////////////////////////////////
+
+DlgRef_4Sel1List::DlgRef_4Sel1List( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_4Sel1List::~DlgRef_4Sel1List()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_4Sel1Spin2Check
+//////////////////////////////////////////
+
+DlgRef_4Sel1Spin2Check::DlgRef_4Sel1Spin2Check( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_4Sel1Spin2Check::~DlgRef_4Sel1Spin2Check()
+{
+}
+
+void DlgRef_4Sel1Spin2Check::ShowRows( int fromRow, int toRow, bool toShow )
+{
+ const int maxRows = 6;
+
+ if ( toRow >= fromRow && fromRow >= 0 && toRow <= maxRows ) {
+ int c = gridLayout1->count();
+ for ( int i = 0; i < c; i++ ) {
+ QWidget* w = gridLayout1->itemAt( i )->widget();
+ int row, col, rowspan, colspan;
+ gridLayout1->getItemPosition( i, &row, &col, &rowspan, &colspan );
+ if ( w && row >= fromRow && row <= toRow )
+ w->setVisible( toShow );
+ }
+ }
+}
+
+//////////////////////////////////////////
+// DlgRef_6Sel
+//////////////////////////////////////////
+
+DlgRef_6Sel::DlgRef_6Sel( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_6Sel::~DlgRef_6Sel()
+{
+}
+
+//////////////////////////////////////////
+// DlgRef_Skeleton
+//////////////////////////////////////////
+
+DlgRef_Skeleton::DlgRef_Skeleton( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_Skeleton::~DlgRef_Skeleton()
+{
+}
--- /dev/null
+// 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 : DlgRef.h
+// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
+//
+
+#ifndef GEOM_DLGREF_H
+#define GEOM_DLGREF_H
+
+#if defined WIN32
+# if defined DLGREF_EXPORTS
+# define DLGREF_EXPORT __declspec( dllexport )
+# else
+# define DLGREF_EXPORT __declspec( dllimport )
+# endif
+#else
+# define DLGREF_EXPORT
+#endif
+
+//////////////////////////////////////////
+// DlgRef_1List1Spin1Btn
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1List1Spin1Btn_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1List1Spin1Btn : public QWidget,
+ public Ui::DlgRef_1List1Spin1Btn_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1List1Spin1Btn( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1List1Spin1Btn();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel1Check1List
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel1Check1List_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel1Check1List : public QWidget,
+ public Ui::DlgRef_1Sel1Check1List_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel1Check1List( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel1Check1List();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel1Check1Sel
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel1Check1Sel_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel1Check1Sel : public QWidget,
+ public Ui::DlgRef_1Sel1Check1Sel_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel1Check1Sel( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel1Check1Sel();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel1Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel1Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel1Check : public QWidget,
+ public Ui::DlgRef_1Sel1Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel1Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel1Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel1List4Btn
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel1List4Btn_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel1List4Btn : public QWidget,
+ public Ui::DlgRef_1Sel1List4Btn_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel1List4Btn( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel1List4Btn();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel1Spin1Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel1Spin1Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel1Spin1Check : public QWidget,
+ public Ui::DlgRef_1Sel1Spin1Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel1Spin1Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel1Spin1Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel1Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel1Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel1Spin : public QWidget,
+ public Ui::DlgRef_1Sel1Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel1Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel1Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel2Spin1View1Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel2Spin1View1Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel2Spin1View1Check : public QWidget,
+ public Ui::DlgRef_1Sel2Spin1View1Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel2Spin1View1Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel2Spin1View1Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel2Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel2Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel2Spin : public QWidget,
+ public Ui::DlgRef_1Sel2Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel2Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel2Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel3Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel3Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel3Check : public QWidget,
+ public Ui::DlgRef_1Sel3Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel3Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel3Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel3Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel3Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel3Spin : public QWidget,
+ public Ui::DlgRef_1Sel3Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel3Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel3Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel4Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel4Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel4Spin : public QWidget,
+ public Ui::DlgRef_1Sel4Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel4Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel4Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel5Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel5Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel5Spin : public QWidget,
+ public Ui::DlgRef_1Sel5Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel5Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel5Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Spin : public QWidget,
+ public Ui::DlgRef_1Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_1Sel
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel : public QWidget,
+ public Ui::DlgRef_1Sel_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1Sel( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1Sel();
+};
+
+//////////////////////////////////////////
+// DlgRef_1SelExt
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1SelExt_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1SelExt : public QWidget,
+ public Ui::DlgRef_1SelExt_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_1SelExt( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_1SelExt();
+};
+
+//////////////////////////////////////////
+// DlgRef_2Sel1List
+//////////////////////////////////////////
+
+#include "ui_DlgRef_2Sel1List_QTD.h"
+
+class DLGREF_EXPORT DlgRef_2Sel1List : public QWidget,
+ public Ui::DlgRef_2Sel1List_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_2Sel1List( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_2Sel1List();
+};
+
+//////////////////////////////////////////
+// DlgRef_2Sel1Spin2Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_2Sel1Spin2Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_2Sel1Spin2Check : public QWidget,
+ public Ui::DlgRef_2Sel1Spin2Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_2Sel1Spin2Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_2Sel1Spin2Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_2Sel1Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_2Sel1Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_2Sel1Spin : public QWidget,
+ public Ui::DlgRef_2Sel1Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_2Sel1Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_2Sel1Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_2Sel2Spin1Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_2Sel2Spin1Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_2Sel2Spin1Check : public QWidget,
+ public Ui::DlgRef_2Sel2Spin1Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_2Sel2Spin1Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_2Sel2Spin1Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_2Sel2Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_2Sel2Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_2Sel2Spin : public QWidget,
+ public Ui::DlgRef_2Sel2Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_2Sel2Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_2Sel2Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_2Sel3Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_2Sel3Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_2Sel3Spin : public QWidget,
+ public Ui::DlgRef_2Sel3Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_2Sel3Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_2Sel3Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_2Sel4Spin1Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_2Sel4Spin1Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_2Sel4Spin1Check : public QWidget,
+ public Ui::DlgRef_2Sel4Spin1Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_2Sel4Spin1Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_2Sel4Spin1Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_2Sel
+//////////////////////////////////////////
+
+#include "ui_DlgRef_2Sel_QTD.h"
+
+class DLGREF_EXPORT DlgRef_2Sel : public QWidget,
+ public Ui::DlgRef_2Sel_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_2Sel( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_2Sel();
+};
+
+//////////////////////////////////////////
+// DlgRef_2SelExt
+//////////////////////////////////////////
+
+#include "ui_DlgRef_2SelExt_QTD.h"
+
+class DLGREF_EXPORT DlgRef_2SelExt : public QWidget,
+ public Ui::DlgRef_2SelExt_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_2SelExt( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_2SelExt();
+};
+
+//////////////////////////////////////////
+// DlgRef_2Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_2Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_2Spin : public QWidget,
+ public Ui::DlgRef_2Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_2Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_2Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_3Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_3Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_3Check : public QWidget,
+ public Ui::DlgRef_3Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_3Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_3Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_3Sel1Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_3Sel1Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_3Sel1Check : public QWidget,
+ public Ui::DlgRef_3Sel1Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_3Sel1Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_3Sel1Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_3Sel1Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_3Sel1Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_3Sel1Spin : public QWidget,
+ public Ui::DlgRef_3Sel1Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_3Sel1Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_3Sel1Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_3Sel3Spin1Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_3Sel3Spin1Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_3Sel3Spin1Check : public QWidget,
+ public Ui::DlgRef_3Sel3Spin1Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_3Sel3Spin1Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_3Sel3Spin1Check();
+
+ void ShowRows( int, int, bool = true );
+};
+
+//////////////////////////////////////////
+// DlgRef_3Sel4Spin2Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_3Sel4Spin2Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_3Sel4Spin2Check : public QWidget,
+ public Ui::DlgRef_3Sel4Spin2Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_3Sel4Spin2Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_3Sel4Spin2Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_3Sel
+//////////////////////////////////////////
+
+#include "ui_DlgRef_3Sel_QTD.h"
+
+class DLGREF_EXPORT DlgRef_3Sel : public QWidget,
+ public Ui::DlgRef_3Sel_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_3Sel( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_3Sel();
+};
+
+//////////////////////////////////////////
+// DlgRef_3Spin1Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_3Spin1Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_3Spin1Check : public QWidget,
+ public Ui::DlgRef_3Spin1Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_3Spin1Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_3Spin1Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_3Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_3Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_3Spin : public QWidget,
+ public Ui::DlgRef_3Spin_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_3Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_3Spin();
+};
+
+//////////////////////////////////////////
+// DlgRef_4Sel1List1Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_4Sel1List1Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_4Sel1List1Check : public QWidget,
+ public Ui::DlgRef_4Sel1List1Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_4Sel1List1Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_4Sel1List1Check();
+};
+
+//////////////////////////////////////////
+// DlgRef_4Sel1List
+//////////////////////////////////////////
+
+#include "ui_DlgRef_4Sel1List_QTD.h"
+
+class DLGREF_EXPORT DlgRef_4Sel1List : public QWidget,
+ public Ui::DlgRef_4Sel1List_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_4Sel1List( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_4Sel1List();
+};
+
+//////////////////////////////////////////
+// DlgRef_4Sel1Spin2Check
+//////////////////////////////////////////
+
+#include "ui_DlgRef_4Sel1Spin2Check_QTD.h"
+
+class DLGREF_EXPORT DlgRef_4Sel1Spin2Check : public QWidget,
+ public Ui::DlgRef_4Sel1Spin2Check_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_4Sel1Spin2Check( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_4Sel1Spin2Check();
+
+ void ShowRows( int, int, bool = true );
+};
+
+//////////////////////////////////////////
+// DlgRef_6Sel
+//////////////////////////////////////////
+
+#include "ui_DlgRef_6Sel_QTD.h"
+
+class DLGREF_EXPORT DlgRef_6Sel : public QWidget,
+ public Ui::DlgRef_6Sel_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_6Sel( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_6Sel();
+};
+
+//////////////////////////////////////////
+// DlgRef_Skeleton
+//////////////////////////////////////////
+
+#include "ui_DlgRef_Skeleton_QTD.h"
+
+class DLGREF_EXPORT DlgRef_Skeleton : public QWidget,
+ public Ui::DlgRef_Skeleton_QTD
+{
+ Q_OBJECT
+
+public:
+ DlgRef_Skeleton( QWidget* = 0, Qt::WindowFlags = 0 );
+ ~DlgRef_Skeleton();
+};
+
+#endif // GEOM_DLGREF_H
+++ /dev/null
-// 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 : GEOM_DlgRef.cxx
-// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
-//
-
-#include "GEOM_DlgRef.h"
-
-//////////////////////////////////////////
-// DlgRef_1List1Spin1Btn
-//////////////////////////////////////////
-
-DlgRef_1List1Spin1Btn::DlgRef_1List1Spin1Btn( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1List1Spin1Btn::~DlgRef_1List1Spin1Btn()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel1Check1List
-//////////////////////////////////////////
-
-DlgRef_1Sel1Check1List::DlgRef_1Sel1Check1List( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel1Check1List::~DlgRef_1Sel1Check1List()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel1Check1Sel
-//////////////////////////////////////////
-
-DlgRef_1Sel1Check1Sel::DlgRef_1Sel1Check1Sel( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel1Check1Sel::~DlgRef_1Sel1Check1Sel()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel1Check
-//////////////////////////////////////////
-
-DlgRef_1Sel1Check::DlgRef_1Sel1Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel1Check::~DlgRef_1Sel1Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel1List4Btn
-//////////////////////////////////////////
-
-DlgRef_1Sel1List4Btn::DlgRef_1Sel1List4Btn( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel1List4Btn::~DlgRef_1Sel1List4Btn()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel1Spin1Check
-//////////////////////////////////////////
-
-DlgRef_1Sel1Spin1Check::DlgRef_1Sel1Spin1Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel1Spin1Check::~DlgRef_1Sel1Spin1Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel1Spin
-//////////////////////////////////////////
-
-DlgRef_1Sel1Spin::DlgRef_1Sel1Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel1Spin::~DlgRef_1Sel1Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel2Spin1View1Check
-//////////////////////////////////////////
-
-DlgRef_1Sel2Spin1View1Check::DlgRef_1Sel2Spin1View1Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel2Spin1View1Check::~DlgRef_1Sel2Spin1View1Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel2Spin
-//////////////////////////////////////////
-
-DlgRef_1Sel2Spin::DlgRef_1Sel2Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel2Spin::~DlgRef_1Sel2Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel3Check
-//////////////////////////////////////////
-
-DlgRef_1Sel3Check::DlgRef_1Sel3Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel3Check::~DlgRef_1Sel3Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel3Spin
-//////////////////////////////////////////
-
-DlgRef_1Sel3Spin::DlgRef_1Sel3Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel3Spin::~DlgRef_1Sel3Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel4Spin
-//////////////////////////////////////////
-
-DlgRef_1Sel4Spin::DlgRef_1Sel4Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel4Spin::~DlgRef_1Sel4Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel5Spin
-//////////////////////////////////////////
-
-DlgRef_1Sel5Spin::DlgRef_1Sel5Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel5Spin::~DlgRef_1Sel5Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Spin
-//////////////////////////////////////////
-
-DlgRef_1Spin::DlgRef_1Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Spin::~DlgRef_1Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1Sel
-//////////////////////////////////////////
-
-DlgRef_1Sel::DlgRef_1Sel( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1Sel::~DlgRef_1Sel()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_1SelExt
-//////////////////////////////////////////
-
-DlgRef_1SelExt::DlgRef_1SelExt( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_1SelExt::~DlgRef_1SelExt()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_2Sel1List
-//////////////////////////////////////////
-
-DlgRef_2Sel1List::DlgRef_2Sel1List( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_2Sel1List::~DlgRef_2Sel1List()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_2Sel1Spin2Check
-//////////////////////////////////////////
-
-DlgRef_2Sel1Spin2Check::DlgRef_2Sel1Spin2Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_2Sel1Spin2Check::~DlgRef_2Sel1Spin2Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_2Sel1Spin
-//////////////////////////////////////////
-
-DlgRef_2Sel1Spin::DlgRef_2Sel1Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_2Sel1Spin::~DlgRef_2Sel1Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_2Sel2Spin1Check
-//////////////////////////////////////////
-
-DlgRef_2Sel2Spin1Check::DlgRef_2Sel2Spin1Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_2Sel2Spin1Check::~DlgRef_2Sel2Spin1Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_2Sel2Spin
-//////////////////////////////////////////
-
-DlgRef_2Sel2Spin::DlgRef_2Sel2Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_2Sel2Spin::~DlgRef_2Sel2Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_2Sel3Spin
-//////////////////////////////////////////
-
-DlgRef_2Sel3Spin::DlgRef_2Sel3Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_2Sel3Spin::~DlgRef_2Sel3Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_2Sel4Spin1Check
-//////////////////////////////////////////
-
-DlgRef_2Sel4Spin1Check::DlgRef_2Sel4Spin1Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_2Sel4Spin1Check::~DlgRef_2Sel4Spin1Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_2Sel
-//////////////////////////////////////////
-
-DlgRef_2Sel::DlgRef_2Sel( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_2Sel::~DlgRef_2Sel()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_2SelExt
-//////////////////////////////////////////
-
-DlgRef_2SelExt::DlgRef_2SelExt( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_2SelExt::~DlgRef_2SelExt()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_2Spin
-//////////////////////////////////////////
-
-DlgRef_2Spin::DlgRef_2Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_2Spin::~DlgRef_2Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_3Check
-//////////////////////////////////////////
-
-DlgRef_3Check::DlgRef_3Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_3Check::~DlgRef_3Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_3Sel1Check
-//////////////////////////////////////////
-
-DlgRef_3Sel1Check::DlgRef_3Sel1Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_3Sel1Check::~DlgRef_3Sel1Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_3Sel1Spin
-//////////////////////////////////////////
-
-DlgRef_3Sel1Spin::DlgRef_3Sel1Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_3Sel1Spin::~DlgRef_3Sel1Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_3Sel3Spin1Check
-//////////////////////////////////////////
-
-DlgRef_3Sel3Spin1Check::DlgRef_3Sel3Spin1Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_3Sel3Spin1Check::~DlgRef_3Sel3Spin1Check()
-{
-}
-
-void DlgRef_3Sel3Spin1Check::ShowRows( int fromRow, int toRow, bool toShow )
-{
- const int maxRows = 6;
-
- if ( toRow >= fromRow && fromRow >= 0 && toRow <= maxRows ) {
- int c = gridLayout1->count();
- for ( int i = 0; i < c; i++ ) {
- QWidget* w = gridLayout1->itemAt( i )->widget();
- int row, col, rowspan, colspan;
- gridLayout1->getItemPosition( i, &row, &col, &rowspan, &colspan );
- if ( w && row >= fromRow && row <= toRow )
- w->setVisible( toShow );
- }
- }
-}
-
-//////////////////////////////////////////
-// DlgRef_3Sel4Spin2Check
-//////////////////////////////////////////
-
-DlgRef_3Sel4Spin2Check::DlgRef_3Sel4Spin2Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_3Sel4Spin2Check::~DlgRef_3Sel4Spin2Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_3Sel
-//////////////////////////////////////////
-
-DlgRef_3Sel::DlgRef_3Sel( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_3Sel::~DlgRef_3Sel()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_3Spin1Check
-//////////////////////////////////////////
-
-DlgRef_3Spin1Check::DlgRef_3Spin1Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_3Spin1Check::~DlgRef_3Spin1Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_3Spin
-//////////////////////////////////////////
-
-DlgRef_3Spin::DlgRef_3Spin( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_3Spin::~DlgRef_3Spin()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_4Sel1List1Check
-//////////////////////////////////////////
-
-DlgRef_4Sel1List1Check::DlgRef_4Sel1List1Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_4Sel1List1Check::~DlgRef_4Sel1List1Check()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_4Sel1List
-//////////////////////////////////////////
-
-DlgRef_4Sel1List::DlgRef_4Sel1List( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_4Sel1List::~DlgRef_4Sel1List()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_4Sel1Spin2Check
-//////////////////////////////////////////
-
-DlgRef_4Sel1Spin2Check::DlgRef_4Sel1Spin2Check( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_4Sel1Spin2Check::~DlgRef_4Sel1Spin2Check()
-{
-}
-
-void DlgRef_4Sel1Spin2Check::ShowRows( int fromRow, int toRow, bool toShow )
-{
- const int maxRows = 6;
-
- if ( toRow >= fromRow && fromRow >= 0 && toRow <= maxRows ) {
- int c = gridLayout1->count();
- for ( int i = 0; i < c; i++ ) {
- QWidget* w = gridLayout1->itemAt( i )->widget();
- int row, col, rowspan, colspan;
- gridLayout1->getItemPosition( i, &row, &col, &rowspan, &colspan );
- if ( w && row >= fromRow && row <= toRow )
- w->setVisible( toShow );
- }
- }
-}
-
-//////////////////////////////////////////
-// DlgRef_6Sel
-//////////////////////////////////////////
-
-DlgRef_6Sel::DlgRef_6Sel( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_6Sel::~DlgRef_6Sel()
-{
-}
-
-//////////////////////////////////////////
-// DlgRef_Skeleton
-//////////////////////////////////////////
-
-DlgRef_Skeleton::DlgRef_Skeleton( QWidget* parent, Qt::WindowFlags f )
-: QWidget( parent, f )
-{
- setupUi( this );
-}
-
-DlgRef_Skeleton::~DlgRef_Skeleton()
-{
-}
+++ /dev/null
-// 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 : GEOM_DlgRef.h
-// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
-//
-
-#ifndef GEOM_DLGREF_H
-#define GEOM_DLGREF_H
-
-#if defined WIN32
-# if defined DLGREF_EXPORTS
-# define DLGREF_EXPORT __declspec( dllexport )
-# else
-# define DLGREF_EXPORT __declspec( dllimport )
-# endif
-#else
-# define DLGREF_EXPORT
-#endif
-
-//////////////////////////////////////////
-// DlgRef_1List1Spin1Btn
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1List1Spin1Btn_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1List1Spin1Btn : public QWidget,
- public Ui::DlgRef_1List1Spin1Btn_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1List1Spin1Btn( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1List1Spin1Btn();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel1Check1List
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel1Check1List_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel1Check1List : public QWidget,
- public Ui::DlgRef_1Sel1Check1List_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel1Check1List( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel1Check1List();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel1Check1Sel
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel1Check1Sel_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel1Check1Sel : public QWidget,
- public Ui::DlgRef_1Sel1Check1Sel_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel1Check1Sel( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel1Check1Sel();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel1Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel1Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel1Check : public QWidget,
- public Ui::DlgRef_1Sel1Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel1Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel1Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel1List4Btn
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel1List4Btn_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel1List4Btn : public QWidget,
- public Ui::DlgRef_1Sel1List4Btn_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel1List4Btn( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel1List4Btn();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel1Spin1Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel1Spin1Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel1Spin1Check : public QWidget,
- public Ui::DlgRef_1Sel1Spin1Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel1Spin1Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel1Spin1Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel1Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel1Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel1Spin : public QWidget,
- public Ui::DlgRef_1Sel1Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel1Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel1Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel2Spin1View1Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel2Spin1View1Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel2Spin1View1Check : public QWidget,
- public Ui::DlgRef_1Sel2Spin1View1Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel2Spin1View1Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel2Spin1View1Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel2Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel2Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel2Spin : public QWidget,
- public Ui::DlgRef_1Sel2Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel2Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel2Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel3Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel3Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel3Check : public QWidget,
- public Ui::DlgRef_1Sel3Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel3Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel3Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel3Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel3Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel3Spin : public QWidget,
- public Ui::DlgRef_1Sel3Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel3Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel3Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel4Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel4Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel4Spin : public QWidget,
- public Ui::DlgRef_1Sel4Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel4Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel4Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel5Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel5Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel5Spin : public QWidget,
- public Ui::DlgRef_1Sel5Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel5Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel5Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Spin : public QWidget,
- public Ui::DlgRef_1Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_1Sel
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1Sel_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1Sel : public QWidget,
- public Ui::DlgRef_1Sel_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1Sel( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1Sel();
-};
-
-//////////////////////////////////////////
-// DlgRef_1SelExt
-//////////////////////////////////////////
-
-#include "ui_DlgRef_1SelExt_QTD.h"
-
-class DLGREF_EXPORT DlgRef_1SelExt : public QWidget,
- public Ui::DlgRef_1SelExt_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_1SelExt( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_1SelExt();
-};
-
-//////////////////////////////////////////
-// DlgRef_2Sel1List
-//////////////////////////////////////////
-
-#include "ui_DlgRef_2Sel1List_QTD.h"
-
-class DLGREF_EXPORT DlgRef_2Sel1List : public QWidget,
- public Ui::DlgRef_2Sel1List_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_2Sel1List( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_2Sel1List();
-};
-
-//////////////////////////////////////////
-// DlgRef_2Sel1Spin2Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_2Sel1Spin2Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_2Sel1Spin2Check : public QWidget,
- public Ui::DlgRef_2Sel1Spin2Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_2Sel1Spin2Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_2Sel1Spin2Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_2Sel1Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_2Sel1Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_2Sel1Spin : public QWidget,
- public Ui::DlgRef_2Sel1Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_2Sel1Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_2Sel1Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_2Sel2Spin1Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_2Sel2Spin1Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_2Sel2Spin1Check : public QWidget,
- public Ui::DlgRef_2Sel2Spin1Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_2Sel2Spin1Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_2Sel2Spin1Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_2Sel2Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_2Sel2Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_2Sel2Spin : public QWidget,
- public Ui::DlgRef_2Sel2Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_2Sel2Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_2Sel2Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_2Sel3Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_2Sel3Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_2Sel3Spin : public QWidget,
- public Ui::DlgRef_2Sel3Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_2Sel3Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_2Sel3Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_2Sel4Spin1Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_2Sel4Spin1Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_2Sel4Spin1Check : public QWidget,
- public Ui::DlgRef_2Sel4Spin1Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_2Sel4Spin1Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_2Sel4Spin1Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_2Sel
-//////////////////////////////////////////
-
-#include "ui_DlgRef_2Sel_QTD.h"
-
-class DLGREF_EXPORT DlgRef_2Sel : public QWidget,
- public Ui::DlgRef_2Sel_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_2Sel( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_2Sel();
-};
-
-//////////////////////////////////////////
-// DlgRef_2SelExt
-//////////////////////////////////////////
-
-#include "ui_DlgRef_2SelExt_QTD.h"
-
-class DLGREF_EXPORT DlgRef_2SelExt : public QWidget,
- public Ui::DlgRef_2SelExt_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_2SelExt( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_2SelExt();
-};
-
-//////////////////////////////////////////
-// DlgRef_2Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_2Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_2Spin : public QWidget,
- public Ui::DlgRef_2Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_2Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_2Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_3Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_3Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_3Check : public QWidget,
- public Ui::DlgRef_3Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_3Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_3Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_3Sel1Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_3Sel1Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_3Sel1Check : public QWidget,
- public Ui::DlgRef_3Sel1Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_3Sel1Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_3Sel1Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_3Sel1Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_3Sel1Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_3Sel1Spin : public QWidget,
- public Ui::DlgRef_3Sel1Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_3Sel1Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_3Sel1Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_3Sel3Spin1Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_3Sel3Spin1Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_3Sel3Spin1Check : public QWidget,
- public Ui::DlgRef_3Sel3Spin1Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_3Sel3Spin1Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_3Sel3Spin1Check();
-
- void ShowRows( int, int, bool = true );
-};
-
-//////////////////////////////////////////
-// DlgRef_3Sel4Spin2Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_3Sel4Spin2Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_3Sel4Spin2Check : public QWidget,
- public Ui::DlgRef_3Sel4Spin2Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_3Sel4Spin2Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_3Sel4Spin2Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_3Sel
-//////////////////////////////////////////
-
-#include "ui_DlgRef_3Sel_QTD.h"
-
-class DLGREF_EXPORT DlgRef_3Sel : public QWidget,
- public Ui::DlgRef_3Sel_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_3Sel( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_3Sel();
-};
-
-//////////////////////////////////////////
-// DlgRef_3Spin1Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_3Spin1Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_3Spin1Check : public QWidget,
- public Ui::DlgRef_3Spin1Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_3Spin1Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_3Spin1Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_3Spin
-//////////////////////////////////////////
-
-#include "ui_DlgRef_3Spin_QTD.h"
-
-class DLGREF_EXPORT DlgRef_3Spin : public QWidget,
- public Ui::DlgRef_3Spin_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_3Spin( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_3Spin();
-};
-
-//////////////////////////////////////////
-// DlgRef_4Sel1List1Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_4Sel1List1Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_4Sel1List1Check : public QWidget,
- public Ui::DlgRef_4Sel1List1Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_4Sel1List1Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_4Sel1List1Check();
-};
-
-//////////////////////////////////////////
-// DlgRef_4Sel1List
-//////////////////////////////////////////
-
-#include "ui_DlgRef_4Sel1List_QTD.h"
-
-class DLGREF_EXPORT DlgRef_4Sel1List : public QWidget,
- public Ui::DlgRef_4Sel1List_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_4Sel1List( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_4Sel1List();
-};
-
-//////////////////////////////////////////
-// DlgRef_4Sel1Spin2Check
-//////////////////////////////////////////
-
-#include "ui_DlgRef_4Sel1Spin2Check_QTD.h"
-
-class DLGREF_EXPORT DlgRef_4Sel1Spin2Check : public QWidget,
- public Ui::DlgRef_4Sel1Spin2Check_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_4Sel1Spin2Check( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_4Sel1Spin2Check();
-
- void ShowRows( int, int, bool = true );
-};
-
-//////////////////////////////////////////
-// DlgRef_6Sel
-//////////////////////////////////////////
-
-#include "ui_DlgRef_6Sel_QTD.h"
-
-class DLGREF_EXPORT DlgRef_6Sel : public QWidget,
- public Ui::DlgRef_6Sel_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_6Sel( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_6Sel();
-};
-
-//////////////////////////////////////////
-// DlgRef_Skeleton
-//////////////////////////////////////////
-
-#include "ui_DlgRef_Skeleton_QTD.h"
-
-class DLGREF_EXPORT DlgRef_Skeleton : public QWidget,
- public Ui::DlgRef_Skeleton_QTD
-{
- Q_OBJECT
-
-public:
- DlgRef_Skeleton( QWidget* = 0, Qt::WindowFlags = 0 );
- ~DlgRef_Skeleton();
-};
-
-#endif // GEOM_DLGREF_H
# Sources files
dist_libDlgRef_la_SOURCES = \
- GEOM_DlgRef.h \
- GEOM_DlgRef.cxx
+ DlgRef.h \
+ DlgRef.cxx
MOC_FILES = \
- GEOM_DlgRef_moc.cxx
+ DlgRef_moc.cxx
UIC_FILES = \
ui_DlgRef_1List1Spin1Btn_QTD.h \
#include "EntityGUI_SubShapeDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "GEOMBase_Skeleton.h"
#include "GEOMBase.h"
+#include <DlgRef.h>
#include <GeometryGUI.h>
-#include <GEOM_DlgRef.h>
#include <SalomeApp_Application.h>
#include <LightApp_Application.h>
#include "GenerationGUI_FillingDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "GenerationGUI_PipeDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "GenerationGUI_PrismDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "GenerationGUI_RevolDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include <SalomeApp_Study.h>
#include <LightApp_SelectionMgr.h>
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GEOMBase.h>
#include <GEOMImpl_Types.hxx>
-# 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.
+# 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
+# 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
#
+# File : Makefile.am
+# Author : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
+# Package : src (source files directory)
#
-#
-# File : Makefile.am
-# Author : Patrick GOLDBRONN (CEA)
-# Modified by : Alexander BORODIN (OCN) - autotools usage
-# Module : GEOM
-# $Header$
SUBDIRS = OBJECT ARCHIMEDE NMTDS NMTTools NMTAlgo GEOMAlgo SKETCHER GEOM BREPExport BREPImport IGESExport IGESImport STEPExport STEPImport STLExport ShHealOper GEOMImpl GEOM_I GEOMClient DlgRef GEOMFiltersSelection GEOMGUI GEOMBase GEOMToolsGUI DisplayGUI BasicGUI PrimitiveGUI GenerationGUI EntityGUI BuildGUI BooleanGUI TransformationGUI OperationGUI RepairGUI MeasureGUI GroupGUI BlocksGUI GEOM_I_Superv GEOM_SWIG
#include "MeasureGUI_CenterMassDlg.h"
#include "MeasureGUI_Widgets.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GEOMBase.h>
#include <SUIT_Session.h>
#include <TopExp.hxx>
#include <TColStd_MapOfInteger.hxx>
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include <GEOMImpl_Types.hxx>
#include "OperationGUI_ArchimedeDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "OperationGUI_ChamferDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "OperationGUI_ClippingDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "OperationGUI_FilletDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "OperationGUI_MaterialDlg.h"
#include "OperationGUI_PartitionDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GEOMBase.h>
#include <GeometryGUI.h>
#include "OperationGUI_PartitionDlg.h"
#include "OperationGUI_MaterialDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "PrimitiveGUI_BoxDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "PrimitiveGUI_ConeDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "PrimitiveGUI_CylinderDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "PrimitiveGUI_SphereDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "PrimitiveGUI_TorusDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "RepairGUI_ChangeOrientationDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "RepairGUI_CloseContourDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "RepairGUI_DivideEdgeDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "RepairGUI_GlueDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "RepairGUI_RemoveHolesDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "RepairGUI_RemoveIntWiresDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "RepairGUI_SewingDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "RepairGUI_ShapeProcessDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include <GEOMImpl_Types.hxx>
#include "RepairGUI_SuppressFacesDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "TransformationGUI_MirrorDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "TransformationGUI_MultiRotationDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "TransformationGUI_MultiTranslationDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "TransformationGUI_OffsetDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "TransformationGUI_PositionDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "TransformationGUI_RotationDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "TransformationGUI_ScaleDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include "TransformationGUI_TranslationDlg.h"
-#include <GEOM_DlgRef.h>
+#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>