//=====================================================================================
extern "C"
{
- BASICGUI_EXPORT
+#ifdef WIN32
+ __declspec( dllexport )
+#endif
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return new BasicGUI( parent );
#ifndef BASICGUI_H
#define BASICGUI_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMGUI.h>
#include <V3d_View.hxx>
// class : BasicGUI
// purpose :
//=================================================================================
-class BASICGUI_EXPORT BasicGUI : public GEOMGUI
+class BasicGUI : public GEOMGUI
{
public:
BasicGUI( GeometryGUI* );
~BasicGUI();
- bool OnGUIEvent( int, SUIT_Desktop* );
- bool OnMousePress( QMouseEvent*, SUIT_Desktop*, SUIT_ViewWindow* );
+ bool OnGUIEvent( int, SUIT_Desktop* );
+ bool OnMousePress( QMouseEvent*, SUIT_Desktop*, SUIT_ViewWindow* );
gp_Pnt ConvertClickToPoint( int, int, Handle(V3d_View) );
};
#ifndef BASICGUI_ARCDLG_H
#define BASICGUI_ARCDLG_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMBase_Skeleton.h>
class DlgRef_3Sel;
// class : BasicGUI_ArcDlg
// purpose :
//=================================================================================
-class BASICGUI_EXPORT BasicGUI_ArcDlg : public GEOMBase_Skeleton
+class BasicGUI_ArcDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_CIRCLEDLG_H
#define BASICGUI_CIRCLEDLG_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMBase_Skeleton.h>
class DlgRef_3Sel;
// class : BasicGUI_CircleDlg
// purpose :
//=================================================================================
-class BASICGUI_EXPORT BasicGUI_CircleDlg : public GEOMBase_Skeleton
+class BasicGUI_CircleDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_CURVEDLG_H
#define BASICGUI_CURVEDLG_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMBase_Skeleton.h>
#include <list>
// class : BasicGUI_CurveDlg
// purpose :
//=================================================================================
-class BASICGUI_EXPORT BasicGUI_CurveDlg : public GEOMBase_Skeleton
+class BasicGUI_CurveDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_ELLIPSEDLG_H
#define BASICGUI_ELLIPSEDLG_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMBase_Skeleton.h>
class DlgRef_2Sel2Spin;
// class : BasicGUI_EllipseDlg
// purpose :
//=================================================================================
-class BASICGUI_EXPORT BasicGUI_EllipseDlg : public GEOMBase_Skeleton
+class BasicGUI_EllipseDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_LINEDLG_H
#define BASICGUI_LINEDLG_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMBase_Skeleton.h>
class DlgRef_2Sel;
// class : BasicGUI_LineDlg
// purpose :
//=================================================================================
-class BASICGUI_EXPORT BasicGUI_LineDlg : public GEOMBase_Skeleton
+class BasicGUI_LineDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_MARKERDLG_H
#define BASICGUI_MARKERDLG_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMBase_Skeleton.h>
#include <QMap>
class QDoubleSpinBox;
class QFrame;
-class BASICGUI_EXPORT BasicGUI_MarkerDlg : public GEOMBase_Skeleton
+class BasicGUI_MarkerDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_PLANEDLG_H
#define BASICGUI_PLANEDLG_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMBase_Skeleton.h>
class DlgRef_1Sel1Spin;
// class : BasicGUI_PlaneDlg
// purpose :
//=================================================================================
-class BASICGUI_EXPORT BasicGUI_PlaneDlg : public GEOMBase_Skeleton
+class BasicGUI_PlaneDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_POINTDLG_H
#define BASICGUI_POINTDLG_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMBase_Skeleton.h>
class DlgRef_1Sel1Spin;
// class : BasicGUI_PointDlg
// purpose :
//=================================================================================
-class BASICGUI_EXPORT BasicGUI_PointDlg : public GEOMBase_Skeleton
+class BasicGUI_PointDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_VECTORDLG_H
#define BASICGUI_VECTORDLG_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMBase_Skeleton.h>
class DlgRef_2Sel;
// class : BasicGUI_VectorDlg
// purpose :
//=================================================================================
-class BASICGUI_EXPORT BasicGUI_VectorDlg : public GEOMBase_Skeleton
+class BasicGUI_VectorDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_WORKINGPLANEDLG_H
#define BASICGUI_WORKINGPLANEDLG_H
-#include "GEOM_BasicGUI.hxx"
-
#include <GEOMBase_Skeleton.h>
#include <gp_Ax3.hxx>
// class : BasicGUI_WorkingPlaneDlg
// purpose :
//=================================================================================
-class BASICGUI_EXPORT BasicGUI_WorkingPlaneDlg : public GEOMBase_Skeleton
+class BasicGUI_WorkingPlaneDlg : public GEOMBase_Skeleton
{
Q_OBJECT
+++ /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_BasicGUI.hxx
-// Author : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
-//
-
-#ifndef GEOM_BASICGUI_HXX
-#define GEOM_BASICGUI_HXX
-
-#if defined WIN32
-# if defined BASICGUI_EXPORTS
-# define BASICGUI_EXPORT __declspec( dllexport )
-# else
-# define BASICGUI_EXPORT __declspec( dllimport )
-# endif
-#else
-# define BASICGUI_EXPORT
-#endif
-
-#ifndef COORD_MIN
-#define COORD_MIN -1e+15
-#define COORD_MAX +1e+15
-#endif // COORD_MIN
-
-#endif // GEOM_BASICGUI_HXX
-# GEOM BASICGUI :
-#
# Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# File : Makefile.in
-# Author : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
+# File : Makefile.am
+# Author : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
+# Package : BasicGUI
#
include $(top_srcdir)/adm_local/unix/make_common_starter.am
# header files
-salomeinclude_HEADERS = BasicGUI_PointDlg.h \
- GEOM_BasicGUI.hxx
+salomeinclude_HEADERS =
# Libraries targets
lib_LTLIBRARIES = libBasicGUI.la
# Sources files
-dist_libBasicGUI_la_SOURCES = \
- BasicGUI.cxx \
- BasicGUI_PointDlg.cxx \
- BasicGUI_LineDlg.cxx \
- BasicGUI_CircleDlg.cxx \
- BasicGUI_EllipseDlg.cxx \
- BasicGUI_ArcDlg.cxx \
- BasicGUI_VectorDlg.cxx \
- BasicGUI_PlaneDlg.cxx \
- BasicGUI_WorkingPlaneDlg.cxx \
- BasicGUI_CurveDlg.cxx \
+dist_libBasicGUI_la_SOURCES = \
+ BasicGUI.h \
+ BasicGUI_ArcDlg.h \
+ BasicGUI_CircleDlg.h \
+ BasicGUI_CurveDlg.h \
+ BasicGUI_EllipseDlg.h \
+ BasicGUI_LineDlg.h \
+ BasicGUI_MarkerDlg.h \
+ BasicGUI_PlaneDlg.h \
+ BasicGUI_PointDlg.h \
+ BasicGUI_VectorDlg.h \
+ BasicGUI_WorkingPlaneDlg.h \
+ \
+ BasicGUI.cxx \
+ BasicGUI_PointDlg.cxx \
+ BasicGUI_LineDlg.cxx \
+ BasicGUI_CircleDlg.cxx \
+ BasicGUI_EllipseDlg.cxx \
+ BasicGUI_ArcDlg.cxx \
+ BasicGUI_VectorDlg.cxx \
+ BasicGUI_PlaneDlg.cxx \
+ BasicGUI_WorkingPlaneDlg.cxx \
+ BasicGUI_CurveDlg.cxx \
BasicGUI_MarkerDlg.cxx
-MOC_FILES = \
- BasicGUI_PointDlg_moc.cxx \
- BasicGUI_LineDlg_moc.cxx \
- BasicGUI_CircleDlg_moc.cxx \
- BasicGUI_EllipseDlg_moc.cxx \
- BasicGUI_ArcDlg_moc.cxx \
- BasicGUI_VectorDlg_moc.cxx \
- BasicGUI_PlaneDlg_moc.cxx \
- BasicGUI_WorkingPlaneDlg_moc.cxx \
- BasicGUI_CurveDlg_moc.cxx \
+MOC_FILES = \
+ BasicGUI_PointDlg_moc.cxx \
+ BasicGUI_LineDlg_moc.cxx \
+ BasicGUI_CircleDlg_moc.cxx \
+ BasicGUI_EllipseDlg_moc.cxx \
+ BasicGUI_ArcDlg_moc.cxx \
+ BasicGUI_VectorDlg_moc.cxx \
+ BasicGUI_PlaneDlg_moc.cxx \
+ BasicGUI_WorkingPlaneDlg_moc.cxx \
+ BasicGUI_CurveDlg_moc.cxx \
BasicGUI_MarkerDlg_moc.cxx
-nodist_libBasicGUI_la_SOURCES= \
+nodist_libBasicGUI_la_SOURCES = \
$(MOC_FILES)
-
# LIB_CLIENT_IDL = SALOME_GenericObj.idl SALOME_Exception.idl SALOME_Component.idl
# LIB_SERVER_IDL =
# additionnal information to compil and link file
-libBasicGUI_la_CPPFLAGS = \
- $(QT_INCLUDES) \
- $(VTK_INCLUDES) \
- $(CAS_CPPFLAGS) \
- $(PYTHON_INCLUDES) \
- $(BOOST_CPPFLAGS) \
- $(KERNEL_CXXFLAGS) \
- $(GUI_CXXFLAGS) \
- $(CORBA_CXXFLAGS) \
- $(CORBA_INCLUDES) \
- -I$(srcdir)/../OBJECT \
- -I$(srcdir)/../DlgRef \
- -I$(srcdir)/../GEOMGUI \
- -I$(srcdir)/../GEOMFiltersSelection \
- -I$(srcdir)/../GEOMBase \
- -I$(srcdir)/../GEOMImpl \
- -I$(srcdir)/../GEOMClient \
- -I$(top_builddir)/src/DlgRef \
- -I$(top_builddir)/idl \
+libBasicGUI_la_CPPFLAGS = \
+ $(QT_INCLUDES) \
+ $(VTK_INCLUDES) \
+ $(CAS_CPPFLAGS) \
+ $(PYTHON_INCLUDES) \
+ $(BOOST_CPPFLAGS) \
+ $(KERNEL_CXXFLAGS) \
+ $(GUI_CXXFLAGS) \
+ $(CORBA_CXXFLAGS) \
+ $(CORBA_INCLUDES) \
+ -I$(srcdir)/../OBJECT \
+ -I$(srcdir)/../DlgRef \
+ -I$(srcdir)/../GEOMGUI \
+ -I$(srcdir)/../GEOMFiltersSelection \
+ -I$(srcdir)/../GEOMBase \
+ -I$(srcdir)/../GEOMImpl \
+ -I$(srcdir)/../GEOMClient \
+ -I$(top_builddir)/src/DlgRef \
+ -I$(top_builddir)/idl \
-I$(top_builddir)/salome_adm/unix
-libBasicGUI_la_LDFLAGS = \
- ../GEOMFiltersSelection/libGEOMFiltersSelection.la \
- ../GEOMBase/libGEOMBase.la \
- ../GEOMGUI/libGEOM.la \
+libBasicGUI_la_LDFLAGS = \
+ ../GEOMFiltersSelection/libGEOMFiltersSelection.la \
+ ../GEOMBase/libGEOMBase.la \
+ ../GEOMGUI/libGEOM.la \
$(GUI_LDFLAGS) -lsuit
//=====================================================================================
extern "C"
{
- DISPLAYGUI_EXPORT
+#ifdef WIN32
+ __declspec( dllexport )
+#endif
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return new DisplayGUI( parent );
#include "GEOMGUI.h"
-#if defined WIN32
-# if defined DISPLAYGUI_EXPORTS
-# define DISPLAYGUI_EXPORT __declspec( dllexport )
-# else
-# define DISPLAYGUI_EXPORT __declspec( dllimport )
-# endif
-#else
-# define DISPLAYGUI_EXPORT
-#endif
-
//=================================================================================
-// class : GEOMBase_Display
+// class : DisplayGUI
// purpose :
//=================================================================================
-//class QAD_ViewFrame;
+
class SUIT_ViewWindow;
-class DISPLAYGUI_EXPORT DisplayGUI : public GEOMGUI
+
+class DisplayGUI : public GEOMGUI
{
public:
- DisplayGUI( GeometryGUI* parent );
+ DisplayGUI( GeometryGUI* );
~DisplayGUI();
// Dispatch menu command
- bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
+ bool OnGUIEvent( int, SUIT_Desktop* );
// Display all GEOM objects
void DisplayAll();
// DISPLAY MODE methods : 0 - wireframe, 1 - shading
// Set display mode for the viewer (current viewer if <viewWindow> - 0 )
- void SetDisplayMode( const int mode, SUIT_ViewWindow* viewWindow = 0 );
+ void SetDisplayMode( const int, SUIT_ViewWindow* = 0 );
// Get display mode of the viewer (current viewer if <viewWindow> - 0 )
- int GetDisplayMode( SUIT_ViewWindow* viewWindow = 0 );
+ int GetDisplayMode( SUIT_ViewWindow* = 0 );
// Invert display mode ( shadin <-> wireframe ) for the viewer
// (current viewer if <viewWindow> = 0 )
- void InvertDisplayMode( SUIT_ViewWindow* viewWindow = 0 );
+ void InvertDisplayMode( SUIT_ViewWindow* = 0 );
// Set display mode for selected objects in the viewer given
// (current viewer if <viewWindow> = 0 )
- void ChangeDisplayMode( const int mode, SUIT_ViewWindow* viewWindo = 0 );
+ void ChangeDisplayMode( const int, SUIT_ViewWindow* = 0 );
};
#endif // DISPLAYGUI_H
-# GEOM DISPLAYGUI :
+# GEOM DISPLAYGUI :
#
-# 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 : DisplayGUI
#
-#
-# 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
# header files
-salomeinclude_HEADERS = \
- DisplayGUI.h
+salomeinclude_HEADERS =
# Libraries targets
lib_LTLIBRARIES = libDisplayGUI.la
-dist_libDisplayGUI_la_SOURCES = DisplayGUI.cxx
+dist_libDisplayGUI_la_SOURCES = \
+ DisplayGUI.h \
+ DisplayGUI.cxx
#LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
# additionnal information to compil and link file
-libDisplayGUI_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)/../GEOMBase \
- -I$(srcdir)/../OBJECT \
- -I$(srcdir)/../GEOMImpl \
- -I$(srcdir)/../GEOMClient \
- -I$(top_builddir)/idl \
+libDisplayGUI_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)/../OBJECT \
+ -I$(srcdir)/../GEOMImpl \
+ -I$(srcdir)/../GEOMClient \
+ -I$(top_builddir)/idl \
-I$(top_builddir)/salome_adm/unix
-libDisplayGUI_la_LDFLAGS = \
- ../GEOMGUI/libGEOM.la \
- ../GEOMToolsGUI/libGEOMToolsGUI.la \
- $(GUI_LDFLAGS) -lsuit -lSVTK -lSOCC -lSalomePrs -lSalomeApp \
- $(VTK_LIBS) \
+libDisplayGUI_la_LDFLAGS = \
+ ../GEOMGUI/libGEOM.la \
+ $(GUI_LDFLAGS) -lsuit -lSVTK \
+ -lSOCC -lSalomePrs -lSalomeApp \
+ $(VTK_LIBS) \
$(QT_MT_LIBS)
//=====================================================================================
extern "C"
{
-GEOMTOOLSGUI_EXPORT
+#ifdef WIN32
+ __declspec( dllexport )
+#endif
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return new GEOMToolsGUI( parent );
#ifndef GEOMTOOLSGUI_H
#define GEOMTOOLSGUI_H
-#include "GEOM_ToolsGUI.hxx"
-
#include <GEOMGUI.h>
#include <SALOMEDSClient.hxx>
// class : GEOMToolsGUI
// purpose :
//=================================================================================
-class GEOMTOOLSGUI_EXPORT GEOMToolsGUI : public GEOMGUI
+class GEOMToolsGUI : public GEOMGUI
{
-public :
+public:
GEOMToolsGUI( GeometryGUI* ); // hide constructor to avoid direct creation
~GEOMToolsGUI();
- bool OnGUIEvent( int theCommandID, SUIT_Desktop* parent );
+ bool OnGUIEvent( int, SUIT_Desktop* );
virtual void deactivate();
private:
// Import and export topology methods
- bool Import();
- bool Export();
+ bool Import();
+ bool Export();
- void OnEditCopy();
- void OnEditDelete();
+ void OnEditCopy();
+ void OnEditDelete();
- void OnSettingsColor();
- void OnSettingsIsos();
- void OnSettingsStep();
- void OnRename();
- void OnCheckGeometry();
+ void OnSettingsColor();
+ void OnSettingsIsos();
+ void OnSettingsStep();
+ void OnRename();
+ void OnCheckGeometry();
// Popup commands
- void OnColor();
- void OnTransparency();
- void OnNbIsos();
- void OnOpen();
- void OnSelectOnly(int mode);
+ void OnColor();
+ void OnTransparency();
+ void OnNbIsos();
+ void OnOpen();
+ void OnSelectOnly( int );
// returns name of Module (Component) of given objects (usually selected objects)
// if objects belong to different Components, a NULL string is returned.
- QString getParentComponent( _PTR( Study ), const SALOME_ListIO& );
- QString getParentComponent( _PTR(SObject) );
+ QString getParentComponent( _PTR(Study), const SALOME_ListIO& );
+ QString getParentComponent( _PTR(SObject) );
// Recursive deletion of object with children
- void RemoveObjectWithChildren(_PTR(SObject) obj,
- _PTR(Study) aStudy,
- QList<SALOME_View*> views,
- GEOM_Displayer* disp);
-
+ void RemoveObjectWithChildren( _PTR(SObject),
+ _PTR(Study),
+ QList<SALOME_View*>,
+ GEOM_Displayer* );
+
//checks if the object passed as the first argument depends on the second arguments
- bool CheckSubObjectInUse(_PTR(SObject) checkobj,
- _PTR(SObject) remobj,
- _PTR(Study) aStudy);
+ bool CheckSubObjectInUse( _PTR(SObject),
+ _PTR(SObject),
+ _PTR(Study) );
};
#ifndef GEOMTOOLSGUI_NBISOSDLG_H
#define GEOMTOOLSGUI_NBISOSDLG_H
-#include "GEOM_ToolsGUI.hxx"
-
#include <QDialog>
class QSpinBox;
// class : GEOMToolsGUI_NbIsosDlg
// purpose :
//=================================================================================
-class GEOMTOOLSGUI_EXPORT GEOMToolsGUI_NbIsosDlg : public QDialog
+class GEOMToolsGUI_NbIsosDlg : public QDialog
{
- Q_OBJECT
+ Q_OBJECT
public:
- GEOMToolsGUI_NbIsosDlg( QWidget* parent );
- ~GEOMToolsGUI_NbIsosDlg();
+ GEOMToolsGUI_NbIsosDlg( QWidget* );
+ ~GEOMToolsGUI_NbIsosDlg();
- int getU() const;
- int getV() const;
-
- void setU( const int );
- void setV( const int );
-
+ int getU() const;
+ int getV() const;
+
+ void setU( const int );
+ void setV( const int );
+
private slots:
- void ClickOnHelp();
+ void ClickOnHelp();
private:
- void keyPressEvent(QKeyEvent*);
+ void keyPressEvent( QKeyEvent* );
private:
- QSpinBox* SpinBoxU;
- QSpinBox* SpinBoxV;
- QString myHelpFileName;
+ QSpinBox* SpinBoxU;
+ QSpinBox* SpinBoxV;
+ QString myHelpFileName;
};
#endif // GEOMTOOLSGUI_NBISOSDLG_H
#ifndef GEOMTOOLSGUI_TRANSPARENCYDLG_H
#define GEOMTOOLSGUI_TRANSPARENCYDLG_H
-#include "GEOM_ToolsGUI.hxx"
-
#include <QDialog>
class QSlider;
// purpose :
// : WARNING : that is a MODAL dialog.
//=================================================================================
-class GEOMTOOLSGUI_EXPORT GEOMToolsGUI_TransparencyDlg : public QDialog
+class GEOMToolsGUI_TransparencyDlg : public QDialog
{
- Q_OBJECT
+ Q_OBJECT
public:
- GEOMToolsGUI_TransparencyDlg( QWidget* parent );
+ GEOMToolsGUI_TransparencyDlg( QWidget* );
~GEOMToolsGUI_TransparencyDlg();
private:
- void keyPressEvent(QKeyEvent*);
+ void keyPressEvent( QKeyEvent* );
-private :
- bool myFirstInit ; /* Inform for the first init */
+private:
+ bool myFirstInit; /* Inform for the first init */
QSlider* mySlider;
QString myHelpFileName;
void ClickOnClose();
void ClickOnHelp();
void ValueHasChanged( int ) ;
-
};
#endif // GEOMTOOLSGUI_TRANSPARENCYDLG_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_ToolsGUI.hxx
-// Author : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
-//
-
-#ifndef GEOM_TOOLSGUI_HXX
-#define GEOM_TOOLSGUI_HXX
-
-#if defined WIN32
-# if defined GEOMTOOLSGUI_EXPORTS
-# define GEOMTOOLSGUI_EXPORT __declspec( dllexport )
-# else
-# define GEOMTOOLSGUI_EXPORT __declspec( dllimport )
-# endif
-#else
-# define GEOMTOOLSGUI_EXPORT
-#endif
-
-#endif // GEOM_TOOLSGUI_HXX
-# GEOM GEOMTOOLSGUI :
-#
-# 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 : GEOMToolsGUI
#
-#
-# 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
# header files
salomeinclude_HEADERS =
-dist_libGEOMToolsGUI_la_SOURCES = \
- GEOMToolsGUI.cxx \
- GEOMToolsGUI_1.cxx \
- GEOMToolsGUI_TransparencyDlg.cxx \
+dist_libGEOMToolsGUI_la_SOURCES = \
+ GEOMToolsGUI.h \
+ GEOMToolsGUI_NbIsosDlg.h \
+ GEOMToolsGUI_TransparencyDlg.h \
+ \
+ GEOMToolsGUI.cxx \
+ GEOMToolsGUI_1.cxx \
+ GEOMToolsGUI_TransparencyDlg.cxx \
GEOMToolsGUI_NbIsosDlg.cxx
-MOC_FILES = \
- GEOMToolsGUI_TransparencyDlg_moc.cxx \
+MOC_FILES = \
+ GEOMToolsGUI_TransparencyDlg_moc.cxx \
GEOMToolsGUI_NbIsosDlg_moc.cxx
-nodist_libGEOMToolsGUI_la_SOURCES= \
+nodist_libGEOMToolsGUI_la_SOURCES = \
$(MOC_FILES)
#LIB_CLIENT_IDL = SALOMEDS_Attributes.idl \
#LIB_SERVER_IDL =
# additionnal information to compile and link file
-libGEOMToolsGUI_la_CPPFLAGS = \
- $(QT_INCLUDES) \
- $(VTK_INCLUDES) \
- $(CAS_CPPFLAGS) \
- $(PYTHON_INCLUDES) \
- $(BOOST_CPPFLAGS) \
- $(KERNEL_CXXFLAGS) \
- $(GUI_CXXFLAGS) \
- $(CORBA_CXXFLAGS) \
- $(CORBA_INCLUDES) \
- -I$(srcdir)/../OBJECT \
- -I$(srcdir)/../GEOMBase \
- -I$(srcdir)/../GEOMGUI \
- -I$(srcdir)/../GEOMClient \
- -I$(srcdir)/../GEOMImpl \
- -I$(top_builddir)/idl \
+libGEOMToolsGUI_la_CPPFLAGS = \
+ $(QT_INCLUDES) \
+ $(VTK_INCLUDES) \
+ $(CAS_CPPFLAGS) \
+ $(PYTHON_INCLUDES) \
+ $(BOOST_CPPFLAGS) \
+ $(KERNEL_CXXFLAGS) \
+ $(GUI_CXXFLAGS) \
+ $(CORBA_CXXFLAGS) \
+ $(CORBA_INCLUDES) \
+ -I$(srcdir)/../OBJECT \
+ -I$(srcdir)/../GEOMBase \
+ -I$(srcdir)/../GEOMGUI \
+ -I$(srcdir)/../GEOMClient \
+ -I$(srcdir)/../GEOMImpl \
+ -I$(top_builddir)/idl \
-I$(top_builddir)/salome_adm/unix
-libGEOMToolsGUI_la_LDFLAGS = \
- ../GEOMBase/libGEOMBase.la \
- ../GEOMGUI/libGEOM.la \
+libGEOMToolsGUI_la_LDFLAGS = \
+ ../GEOMBase/libGEOMBase.la \
+ ../GEOMGUI/libGEOM.la \
$(GUI_LDFLAGS) -lVTKViewer -lOCCViewer -lsuit -lSalomeApp