]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
PR: YACS Viewer in progress
authorprascle <prascle>
Wed, 3 Sep 2008 08:18:23 +0000 (08:18 +0000)
committerprascle <prascle>
Wed, 3 Sep 2008 08:18:23 +0000 (08:18 +0000)
32 files changed:
adm_local/unix/config_files/check_pyqt.m4
configure.ac
doc/salome/tui/GUI/doxyfile.in
src/LightApp/LightApp_Application.cxx
src/LightApp/LightApp_Application.h
src/LightApp/Makefile.am
src/LightApp/resources/LightApp.xml
src/LightApp/resources/LightApp_msg_en.po
src/LightApp/resources/LightApp_msg_en.ts
src/Makefile.am
src/QxScene/DebTrace.hxx [new file with mode: 0644]
src/QxScene/Makefile.am [new file with mode: 0755]
src/QxScene/Makefile.in [new file with mode: 0644]
src/QxScene/QxScene.h [new file with mode: 0644]
src/QxScene/QxScene_Def.h [new file with mode: 0644]
src/QxScene/QxScene_ViewManager.cxx [new file with mode: 0644]
src/QxScene/QxScene_ViewManager.h [new file with mode: 0644]
src/QxScene/QxScene_ViewModel.cxx [new file with mode: 0644]
src/QxScene/QxScene_ViewModel.h [new file with mode: 0644]
src/QxScene/QxScene_ViewWindow.cxx [new file with mode: 0644]
src/QxScene/QxScene_ViewWindow.h [new file with mode: 0644]
src/QxScene/resources/QxSceneViewer_images.ts [new file with mode: 0644]
src/QxScene/resources/QxSceneViewer_msg_en.ts [new file with mode: 0644]
src/QxScene/resources/QxScene_images.po [new file with mode: 0644]
src/QxScene/resources/QxScene_msg_en.po [new file with mode: 0644]
src/QxScene/resources/qx_view_fitall.png [new file with mode: 0755]
src/QxScene/resources/qx_view_fitarea.png [new file with mode: 0755]
src/QxScene/resources/qx_view_glpan.png [new file with mode: 0644]
src/QxScene/resources/qx_view_pan.png [new file with mode: 0755]
src/QxScene/resources/qx_view_reset.png [new file with mode: 0755]
src/QxScene/resources/qx_view_zoom.png [new file with mode: 0755]
src/SalomeApp/resources/SalomeApp.xml

index 68da58e356233ebe04dfe6ccead7698258879ba6..363b25437d4df24c017972800741c901dc4d44e2 100644 (file)
@@ -121,7 +121,7 @@ if test "x$pyqt_ok" == "xyes" ; then
        TEST_LIB_DIRS="${TEST_LIB_DIRS} ${SIPDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages"
        TEST_LIB_DIRS="${TEST_LIB_DIRS} ${SIPDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/PyQt4"
         TEST_SIPS_DIRS="${TEST_SIPS_DIRS} ${SIPDIR} ${SIPDIR}/sip"
-        TEST_SIPS_DIRS="${TEST_SIPS_DIRS} ${SIPDIR}/share ${SIPDIR}/share/sip"
+        TEST_SIPS_DIRS="${TEST_SIPS_DIRS} ${SIPDIR}/share ${SIPDIR}/share/sip ${SIPDIR}/share/sip/PyQt4"
     fi
     if test "x${PYTHONHOME}" != "x" ; then
         TEST_LIB_DIRS="${TEST_LIB_DIRS} ${PYTHONHOME}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages"
index 383c0114a747ae7ea7a437b392268e5d1ee97c06..ab304f13f6053f26cb02c93d604040005a60519e 100644 (file)
@@ -638,6 +638,7 @@ AC_OUTPUT([ \
   ./src/SPlot2d/Makefile \
   ./src/SUPERVGraph/Makefile \
   ./src/QxGraph/Makefile \
+  ./src/QxScene/Makefile \
   ./src/LightApp/Makefile \
   ./src/ResExporter/Makefile \
   ./src/TOOLSGUI/Makefile \
index 192abd083a5941c5f17f4f1832a452dd9fed217a..453a91b8d45cac827bc6fbaab1441e49a2acfa70 100755 (executable)
@@ -10,7 +10,7 @@ CREATE_SUBDIRS         = NO
 OUTPUT_LANGUAGE        = English
 USE_WINDOWS_ENCODING   = NO
 BRIEF_MEMBER_DESC      = YES
-REPEAT_BRIEF           = NO
+REPEAT_BRIEF           = YES
 ABBREVIATE_BRIEF       = 
 ALWAYS_DETAILED_SEC    = YES
 INLINE_INHERITED_MEMB  = YES
@@ -40,8 +40,8 @@ EXTRACT_PRIVATE        = YES
 EXTRACT_STATIC         = YES
 EXTRACT_LOCAL_CLASSES  = YES
 EXTRACT_LOCAL_METHODS  = NO
-HIDE_UNDOC_MEMBERS     = YES
-HIDE_UNDOC_CLASSES     = YES
+HIDE_UNDOC_MEMBERS     = NO
+HIDE_UNDOC_CLASSES     = NO
 HIDE_FRIEND_COMPOUNDS  = NO
 HIDE_IN_BODY_DOCS      = NO
 INTERNAL_DOCS          = YES
@@ -49,7 +49,7 @@ CASE_SENSE_NAMES       = YES
 HIDE_SCOPE_NAMES       = NO
 SHOW_INCLUDE_FILES     = YES
 INLINE_INFO            = YES
-SORT_MEMBER_DOCS       = NO
+SORT_MEMBER_DOCS       = YES
 SORT_BRIEF_DOCS        = NO
 SORT_BY_SCOPE_NAME     = NO
 GENERATE_TODOLIST      = YES
@@ -96,19 +96,19 @@ FILTER_SOURCE_FILES    = YES
 #---------------------------------------------------------------------------
 # configuration options related to source browsing
 #---------------------------------------------------------------------------
-SOURCE_BROWSER         = NO
-INLINE_SOURCES         = NO
+SOURCE_BROWSER         = YES
+INLINE_SOURCES         = YES
 STRIP_CODE_COMMENTS    = YES
-REFERENCED_BY_RELATION = NO
+REFERENCED_BY_RELATION = YES
 REFERENCES_RELATION    = YES
-USE_HTAGS              = NO
+#USE_HTAGS              = NO
 VERBATIM_HEADERS       = YES
 
 #---------------------------------------------------------------------------
 # configuration options related to the alphabetical class index
 #---------------------------------------------------------------------------
 ALPHABETICAL_INDEX     = YES
-COLS_IN_ALPHA_INDEX    = 3
+COLS_IN_ALPHA_INDEX    = 2
 IGNORE_PREFIX          = 
 
 #---------------------------------------------------------------------------
@@ -119,17 +119,17 @@ HTML_OUTPUT            = GUI
 HTML_FILE_EXTENSION    = .html
 HTML_HEADER            = sources/myheader.html
 HTML_FOOTER            = sources/footer.html
-HTML_STYLESHEET        = sources/doxygen.css
+#HTML_STYLESHEET        = sources/doxygen.css
 HTML_ALIGN_MEMBERS     = YES
 GENERATE_HTMLHELP      = NO
 CHM_FILE               = 
 HHC_LOCATION           = 
 GENERATE_CHI           = NO
-BINARY_TOC             = YES
-TOC_EXPAND             = YES
+BINARY_TOC             = NO
+TOC_EXPAND             = NO
 DISABLE_INDEX          = NO
 ENUM_VALUES_PER_LINE   = 4
-GENERATE_TREEVIEW      = NO
+GENERATE_TREEVIEW      = YES
 TREEVIEW_WIDTH         = 250
 
 #---------------------------------------------------------------------------
@@ -192,14 +192,14 @@ PERLMOD_MAKEVAR_PREFIX =
 # Configuration options related to the preprocessor   
 #---------------------------------------------------------------------------
 ENABLE_PREPROCESSING   = YES
-MACRO_EXPANSION        = YES
+MACRO_EXPANSION        = NO
 EXPAND_ONLY_PREDEF     = NO
 SEARCH_INCLUDES        = YES
 INCLUDE_PATH           = 
 INCLUDE_FILE_PATTERNS  = 
 PREDEFINED             = 
 EXPAND_AS_DEFINED      = 
-SKIP_FUNCTION_MACROS   = NO
+SKIP_FUNCTION_MACROS   = YES
 
 #---------------------------------------------------------------------------
 # Configuration::additions related to external references   
@@ -217,24 +217,24 @@ CLASS_DIAGRAMS         = YES
 HIDE_UNDOC_RELATIONS   = NO
 HAVE_DOT               = YES
 CLASS_GRAPH            = YES
-COLLABORATION_GRAPH    = NO
-GROUP_GRAPHS           = NO
+COLLABORATION_GRAPH    = YES
+GROUP_GRAPHS           = YES
 UML_LOOK               = NO
 TEMPLATE_RELATIONS     = YES
 INCLUDE_GRAPH          = YES
-INCLUDED_BY_GRAPH      = NO
+INCLUDED_BY_GRAPH      = YES
 CALL_GRAPH             = NO
 GRAPHICAL_HIERARCHY    = YES
 DIRECTORY_GRAPH        = YES
-DOT_IMAGE_FORMAT       = jpg
+DOT_IMAGE_FORMAT       = png
 DOT_PATH               = 
 DOTFILE_DIRS           = 
 MAX_DOT_GRAPH_WIDTH    = 1024
-MAX_DOT_GRAPH_HEIGHT   = 1200
-MAX_DOT_GRAPH_DEPTH    = 0
+MAX_DOT_GRAPH_HEIGHT   = 1024
+MAX_DOT_GRAPH_DEPTH    = 1000
 DOT_TRANSPARENT        = NO
 DOT_MULTI_TARGETS      = NO
-GENERATE_LEGEND        = NO
+GENERATE_LEGEND        = YES
 DOT_CLEANUP            = YES
 
 #---------------------------------------------------------------------------
index d05f9fc2c6cf1c114ce799f7613464d322033071..2fb61a6358f3598d11eb48f9c34de041752dcc97 100644 (file)
 #endif
 #endif
 
+#include <QxScene_ViewManager.h>
+#include <QxScene_ViewModel.h>
+#include <QxScene_ViewWindow.h>
+
 #ifndef DISABLE_OCCVIEWER
   #include <OCCViewer_ViewManager.h>
 #ifndef DISABLE_SALOMEOBJECT
@@ -600,6 +604,8 @@ void LightApp_Application::createActions()
   createActionForViewer( NewQxGraphViewId, newWinMenu, QString::number( 4 ), Qt::ALT+Qt::Key_C );
 #endif
 
+  createActionForViewer( NewQxSceneViewId, newWinMenu, QString::number( 5 ), Qt::ALT+Qt::Key_S );
+
   createAction( RenameId, tr( "TOT_RENAME" ), QIcon(), tr( "MEN_DESK_RENAME" ), tr( "PRP_RENAME" ),
                Qt::SHIFT+Qt::Key_R, desk, false, this, SLOT( onRenameWindow() ) );
   createMenu( RenameId, windowMenu, -1 );
@@ -701,6 +707,9 @@ void LightApp_Application::onNewWindow()
     type = QxGraph_Viewer::Type();
     break;
 #endif
+  case NewQxSceneViewId:
+    type = QxScene_Viewer::Type();
+    break;
   }
 
   if ( !type.isEmpty() )
@@ -822,6 +831,9 @@ void LightApp_Application::updateCommandsStatus()
   if( a )
     a->setEnabled( activeStudy() );
 #endif
+  a = action( NewQxSceneViewId );
+  if( a )
+    a->setEnabled( activeStudy() );
 }
 
 /*!
@@ -1261,6 +1273,13 @@ SUIT_ViewManager* LightApp_Application::createViewManager( const QString& vmType
     }
   }
 #endif
+  if( vmType == QxScene_Viewer::Type() )
+  {
+    viewMgr = new QxScene_ViewManager( activeStudy(), desktop() );
+    QxScene_Viewer* vm = new QxScene_Viewer();
+    viewMgr->setViewModel( vm  );
+    QxScene_ViewWindow* wnd = dynamic_cast<QxScene_ViewWindow*>( viewMgr->getActiveView() );
+  }
   //#ifndef DISABLE_SUPERVGRAPHVIEWER
   //  if( vmType == SUPERVGraph_Viewer::Type() )
   //  {
index 834b7ceeeb05c3bce577701514cd9d1c47edbf21..11ef06c5378026b35b9148f03b0c57a89edb5a21 100644 (file)
@@ -77,7 +77,7 @@ public:
   enum { RenameId = CAM_Application::UserID,         
         CloseId, CloseAllId, GroupAllId,
         PreferencesId, MRUId, ModulesListId,
-         NewGLViewId, NewPlot2dId, NewOCCViewId, NewVTKViewId, NewQxGraphViewId, UserID };
+         NewGLViewId, NewPlot2dId, NewOCCViewId, NewVTKViewId, NewQxGraphViewId, NewQxSceneViewId, UserID };
 
 protected:
   enum { NewStudyId = 1, OpenStudyId };
index a463e61e7b43c1af4877ec679e8f41c66f4b6b87..2a018a7efcc9540561c3c1792e8924b7f23a663e 100755 (executable)
@@ -168,6 +168,8 @@ if ENABLE_PLOT2DVIEWER
 else
   libLightApp_la_CPPFLAGS+= -DDISABLE_PLOT2DVIEWER
 endif
+libLightApp_la_CPPFLAGS+= -I$(srcdir)/../QxScene
+
 if ENABLE_OCCVIEWER
   libLightApp_la_CPPFLAGS+= -I$(srcdir)/../OCCViewer
 else !ENABLE_OCCVIEWER
@@ -251,3 +253,4 @@ endif
 if ENABLE_QXGRAPHVIEWER
   libLightApp_la_LIBADD+= ../QxGraph/libQxGraph.la
 endif
+  libLightApp_la_LIBADD+= ../QxScene/libQxScene.la
index b4832037088a68714c84035889e0be9d0c18764a..c2229dcaa6d25040908979df73d85863363b2083 100644 (file)
@@ -39,6 +39,7 @@
     <parameter name="GLViewer"     value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="OCCViewer"    value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="VTKViewer"    value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
+    <parameter name="QxSceneViewer" value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="PyConsole"    value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="SalomeApp"    value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="OB"           value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="Background" value="144, 208, 211" />
     <parameter name="Title"      value="63, 213, 255"  />
   </section>
+  <section name="QxSceneViewer" >
+    <!-- QxGraph viewer preferences -->
+    <parameter name="Background" value="144, 208, 211" />
+    <parameter name="Title"      value="63, 213, 255"  />
+    <parameter name="NodeBody"   value="255, 249, 147" />
+  </section>
 </document>
index e380b68699014a3435892248cd6541c97c57be0b..dc42b5492942150747b8dce7480aba08b88b0216 100644 (file)
@@ -98,6 +98,9 @@ msgstr "VT&K view"
 msgid "LightApp_Application::NEW_WINDOW_4"
 msgstr "&QxGraph view"
 
+msgid "LightApp_Application::NEW_WINDOW_5"
+msgstr "Qx&Scene view"
+
 msgid "LightApp_Application::INF_CANCELLED"
 msgstr "Module activation cancelled"
 
index 4e14d719fc15c6ac4d42c9230996746949a9037b..50763e20f2472669c9e33d48589445692a49ad0c 100644 (file)
@@ -225,6 +225,10 @@ CEA/DEN, CEDRAT, EDF R&amp;D, LEG, PRINCIPIA R&amp;D, BUREAU VERITAS</translatio
         <source>NEW_WINDOW_4</source>
         <translation>&amp;QxGraph view</translation>
     </message>
+    <message>
+        <source>NEW_WINDOW_5</source>
+        <translation>Qx&amp;Scene view</translation>
+    </message>
     <message>
         <source>OBJ_BROWSER_NAME</source>
         <translation>Object</translation>
index 82c27dbce77d312851c9267a8441d078cfd68f32..41cc92467f5372c40b0387960c0828a27af908f2 100755 (executable)
@@ -61,7 +61,7 @@ endif
 if ENABLE_QXGRAPHVIEWER
   SUBDIRS += QxGraph
 endif
-SUBDIRS += LightApp ResExporter
+SUBDIRS += QxScene LightApp ResExporter
 
 if GUI_ENABLE_CORBA
   SUBDIRS += TOOLSGUI Session SalomeApp SALOME_SWIG SALOME_PY SALOME_PYQT
diff --git a/src/QxScene/DebTrace.hxx b/src/QxScene/DebTrace.hxx
new file mode 100644 (file)
index 0000000..369bd59
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef __DEBTRACE_HXX__
+#define __DEBTRACE_HXX__
+
+#include <iostream>
+
+#ifdef _DEVDEBUG_
+#define DEBTRACE(msg) {std::cerr<<std::flush<<__FILE__<<" ["<<__LINE__<<"] : "<<msg<<std::endl<<std::flush;}
+#else
+#define DEBTRACE(msg)
+#endif
+
+#endif
diff --git a/src/QxScene/Makefile.am b/src/QxScene/Makefile.am
new file mode 100755 (executable)
index 0000000..2f1f7da
--- /dev/null
@@ -0,0 +1,62 @@
+#  Copyright (C) 2005  CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D
+#
+#  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include $(top_srcdir)/adm_local/unix/make_common_starter.am
+
+lib_LTLIBRARIES = libQxScene.la
+
+salomeinclude_HEADERS= \
+       QxScene_ViewWindow.h \
+       QxScene_ViewManager.h \
+       QxScene_ViewModel.h \
+       QxScene_Def.h \
+       QxScene.h
+
+dist_libQxScene_la_SOURCES= \
+       QxScene_ViewWindow.cxx \
+       QxScene_ViewManager.cxx \
+       QxScene_ViewModel.cxx
+
+MOC_FILES= \
+       QxScene_ViewWindow_moc.cxx \
+       QxScene_ViewManager_moc.cxx \
+       QxScene_ViewModel_moc.cxx
+
+nodist_libQxScene_la_SOURCES= $(MOC_FILES)
+
+dist_salomeres_DATA= \
+       resources/qx_view_fitall.png \
+       resources/qx_view_fitarea.png \
+       resources/qx_view_glpan.png \
+       resources/qx_view_pan.png \
+       resources/qx_view_reset.png \
+       resources/qx_view_zoom.png
+
+# --- warnings: 
+#     QxSceneViewer prefix must be coherent with type defined in QxScene_ViewModel.h
+#                          (for translator loading)
+#     coherence also needed in LightApp.xml and SalomeApp.xml
+
+nodist_salomeres_DATA= \
+       QxSceneViewer_images.qm \
+       QxSceneViewer_msg_en.qm  
+
+libQxScene_la_CPPFLAGS=$(QT_INCLUDES) $(CAS_CPPFLAGS) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) \
+       -I$(srcdir)/../Qtx -I$(srcdir)/../SUIT
+libQxScene_la_LDFLAGS=$(QT_MT_LIBS) ../SUIT/libsuit.la
diff --git a/src/QxScene/Makefile.in b/src/QxScene/Makefile.in
new file mode 100644 (file)
index 0000000..d4a4057
--- /dev/null
@@ -0,0 +1,883 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+#  Copyright (C) 2005  CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D
+#
+#  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+#
+# ============================================================
+# This file defines the common definitions used in several
+# Makefile. This file must be included, if needed, by the file
+# Makefile.am.
+# ============================================================
+#
+
+
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+DIST_COMMON = $(dist_salomeres_DATA) $(salomeinclude_HEADERS) \
+       $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/adm_local/unix/make_common_starter.am
+subdir = ./src/QxScene
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps =  \
+       $(top_srcdir)/adm_local/unix/config_files/check_GLViewer.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_OCCViewer.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_Plot2dViewer.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_PyConsole.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_QxGraphViewer.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_SalomeObject.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_SupervGraphViewer.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_VTKViewer.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_disable_Corba.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_opengl.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_pyqt.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_qt.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_qwt.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_sip.m4 \
+       $(top_srcdir)/adm_local/unix/config_files/check_vtk.m4 \
+       $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+       $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(salomeresdir)" \
+       "$(DESTDIR)$(salomeresdir)" "$(DESTDIR)$(salomeincludedir)"
+libLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(lib_LTLIBRARIES)
+libQxScene_la_LIBADD =
+dist_libQxScene_la_OBJECTS = libQxScene_la-QxScene_ViewWindow.lo \
+       libQxScene_la-QxScene_ViewManager.lo \
+       libQxScene_la-QxScene_ViewModel.lo
+am__objects_1 = libQxScene_la-QxScene_ViewWindow_moc.lo \
+       libQxScene_la-QxScene_ViewManager_moc.lo \
+       libQxScene_la-QxScene_ViewModel_moc.lo
+nodist_libQxScene_la_OBJECTS = $(am__objects_1)
+libQxScene_la_OBJECTS = $(dist_libQxScene_la_OBJECTS) \
+       $(nodist_libQxScene_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir)
+depcomp = $(SHELL) $(top_srcdir)/salome_adm/unix/config_files/depcomp
+am__depfiles_maybe = depfiles
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
+       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+       $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+       $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(dist_libQxScene_la_SOURCES) \
+       $(nodist_libQxScene_la_SOURCES)
+DIST_SOURCES = $(dist_libQxScene_la_SOURCES)
+dist_salomeresDATA_INSTALL = $(INSTALL_DATA)
+nodist_salomeresDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(dist_salomeres_DATA) $(nodist_salomeres_DATA)
+salomeincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(salomeinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
+BOOST_LIBS = @BOOST_LIBS@
+BOOST_LIBSUFFIX = @BOOST_LIBSUFFIX@
+BOOST_PROGRAM_OPTIONS_LIB = @BOOST_PROGRAM_OPTIONS_LIB@
+CAS_CPPFLAGS = @CAS_CPPFLAGS@
+CAS_CXXFLAGS = @CAS_CXXFLAGS@
+CAS_DATAEXCHANGE = @CAS_DATAEXCHANGE@
+CAS_KERNEL = @CAS_KERNEL@
+CAS_LDFLAGS = @CAS_LDFLAGS@
+CAS_LDPATH = @CAS_LDPATH@
+CAS_MATH = @CAS_MATH@
+CAS_MODELER = @CAS_MODELER@
+CAS_OCAF = @CAS_OCAF@
+CAS_OCAFVIS = @CAS_OCAFVIS@
+CAS_STDPLUGIN = @CAS_STDPLUGIN@
+CAS_TKTopAlgo = @CAS_TKTopAlgo@
+CAS_VIEWER = @CAS_VIEWER@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CORBA_CXXFLAGS = @CORBA_CXXFLAGS@
+CORBA_INCLUDES = @CORBA_INCLUDES@
+CORBA_LIBS = @CORBA_LIBS@
+CORBA_ROOT = @CORBA_ROOT@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CPPUNIT_INCLUDES = @CPPUNIT_INCLUDES@
+CPPUNIT_IS_OK_FALSE = @CPPUNIT_IS_OK_FALSE@
+CPPUNIT_IS_OK_TRUE = @CPPUNIT_IS_OK_TRUE@
+CPPUNIT_LIBS = @CPPUNIT_LIBS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CXXTMPDPTHFLAGS = @CXXTMPDPTHFLAGS@
+CXX_DEPEND_FLAG = @CXX_DEPEND_FLAG@
+CYGPATH_W = @CYGPATH_W@
+C_DEPEND_FLAG = @C_DEPEND_FLAG@
+DEFS = @DEFS@
+DEPCC = @DEPCC@
+DEPCXX = @DEPCXX@
+DEPCXXFLAGS = @DEPCXXFLAGS@
+DEPDIR = @DEPDIR@
+DISABLE_GLVIEWER = @DISABLE_GLVIEWER@
+DISABLE_OCCVIEWER = @DISABLE_OCCVIEWER@
+DISABLE_PLOT2DVIEWER = @DISABLE_PLOT2DVIEWER@
+DISABLE_PYCONSOLE = @DISABLE_PYCONSOLE@
+DISABLE_QXGRAPHVIEWER = @DISABLE_QXGRAPHVIEWER@
+DISABLE_SALOMEOBJECT = @DISABLE_SALOMEOBJECT@
+DISABLE_SUPERVGRAPHVIEWER = @DISABLE_SUPERVGRAPHVIEWER@
+DISABLE_VTKVIEWER = @DISABLE_VTKVIEWER@
+DOT = @DOT@
+DOXYGEN = @DOXYGEN@
+DOXYGEN_WITH_PYTHON = @DOXYGEN_WITH_PYTHON@
+DOXYGEN_WITH_STL = @DOXYGEN_WITH_STL@
+DVIPS = @DVIPS@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_GLVIEWER_FALSE = @ENABLE_GLVIEWER_FALSE@
+ENABLE_GLVIEWER_TRUE = @ENABLE_GLVIEWER_TRUE@
+ENABLE_OCCVIEWER_FALSE = @ENABLE_OCCVIEWER_FALSE@
+ENABLE_OCCVIEWER_TRUE = @ENABLE_OCCVIEWER_TRUE@
+ENABLE_PLOT2DVIEWER_FALSE = @ENABLE_PLOT2DVIEWER_FALSE@
+ENABLE_PLOT2DVIEWER_TRUE = @ENABLE_PLOT2DVIEWER_TRUE@
+ENABLE_PYCONSOLE_FALSE = @ENABLE_PYCONSOLE_FALSE@
+ENABLE_PYCONSOLE_TRUE = @ENABLE_PYCONSOLE_TRUE@
+ENABLE_QXGRAPHVIEWER_FALSE = @ENABLE_QXGRAPHVIEWER_FALSE@
+ENABLE_QXGRAPHVIEWER_TRUE = @ENABLE_QXGRAPHVIEWER_TRUE@
+ENABLE_SALOMEOBJECT_FALSE = @ENABLE_SALOMEOBJECT_FALSE@
+ENABLE_SALOMEOBJECT_TRUE = @ENABLE_SALOMEOBJECT_TRUE@
+ENABLE_SUPERVGRAPHVIEWER_FALSE = @ENABLE_SUPERVGRAPHVIEWER_FALSE@
+ENABLE_SUPERVGRAPHVIEWER_TRUE = @ENABLE_SUPERVGRAPHVIEWER_TRUE@
+ENABLE_VTKVIEWER_FALSE = @ENABLE_VTKVIEWER_FALSE@
+ENABLE_VTKVIEWER_TRUE = @ENABLE_VTKVIEWER_TRUE@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+GREP = @GREP@
+GUI_DISABLE_CORBA = @GUI_DISABLE_CORBA@
+GUI_ENABLE_CORBA_FALSE = @GUI_ENABLE_CORBA_FALSE@
+GUI_ENABLE_CORBA_TRUE = @GUI_ENABLE_CORBA_TRUE@
+HAVE_SSTREAM = @HAVE_SSTREAM@
+HDF5_INCLUDES = @HDF5_INCLUDES@
+HDF5_LIBS = @HDF5_LIBS@
+HDF5_MT_LIBS = @HDF5_MT_LIBS@
+IDL = @IDL@
+IDLCXXFLAGS = @IDLCXXFLAGS@
+IDLPYFLAGS = @IDLPYFLAGS@
+IDL_CLN_CXX = @IDL_CLN_CXX@
+IDL_CLN_H = @IDL_CLN_H@
+IDL_CLN_OBJ = @IDL_CLN_OBJ@
+IDL_SRV_CXX = @IDL_SRV_CXX@
+IDL_SRV_H = @IDL_SRV_H@
+IDL_SRV_OBJ = @IDL_SRV_OBJ@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KERNEL_CXXFLAGS = @KERNEL_CXXFLAGS@
+KERNEL_LDFLAGS = @KERNEL_LDFLAGS@
+KERNEL_ROOT_DIR = @KERNEL_ROOT_DIR@
+KERNEL_SITE_DIR = @KERNEL_SITE_DIR@
+LATEX = @LATEX@
+LDEXPDYNFLAGS = @LDEXPDYNFLAGS@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML_INCLUDES = @LIBXML_INCLUDES@
+LIBXML_LIBS = @LIBXML_LIBS@
+LIB_LOCATION_SUFFIX = @LIB_LOCATION_SUFFIX@
+LN_S = @LN_S@
+LRELEASE = @LRELEASE@
+LTLIBOBJS = @LTLIBOBJS@
+MACHINE = @MACHINE@
+MAKEINFO = @MAKEINFO@
+MOC = @MOC@
+MODULE_NAME = @MODULE_NAME@
+OBJEXT = @OBJEXT@
+OGL_INCLUDES = @OGL_INCLUDES@
+OGL_LIBS = @OGL_LIBS@
+OMNIORB_CXXFLAGS = @OMNIORB_CXXFLAGS@
+OMNIORB_IDL = @OMNIORB_IDL@
+OMNIORB_IDLCXXFLAGS = @OMNIORB_IDLCXXFLAGS@
+OMNIORB_IDLPYFLAGS = @OMNIORB_IDLPYFLAGS@
+OMNIORB_IDL_CLN_CXX = @OMNIORB_IDL_CLN_CXX@
+OMNIORB_IDL_CLN_H = @OMNIORB_IDL_CLN_H@
+OMNIORB_IDL_CLN_OBJ = @OMNIORB_IDL_CLN_OBJ@
+OMNIORB_IDL_SRV_CXX = @OMNIORB_IDL_SRV_CXX@
+OMNIORB_IDL_SRV_H = @OMNIORB_IDL_SRV_H@
+OMNIORB_IDL_SRV_OBJ = @OMNIORB_IDL_SRV_OBJ@
+OMNIORB_IDL_TIE_CXX = @OMNIORB_IDL_TIE_CXX@
+OMNIORB_IDL_TIE_H = @OMNIORB_IDL_TIE_H@
+OMNIORB_INCLUDES = @OMNIORB_INCLUDES@
+OMNIORB_LIBS = @OMNIORB_LIBS@
+OMNIORB_ROOT = @OMNIORB_ROOT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PTHREAD_CC = @PTHREAD_CC@
+PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
+PTHREAD_LIBS = @PTHREAD_LIBS@
+PYQT_INCLUDES = @PYQT_INCLUDES@
+PYQT_LIBS = @PYQT_LIBS@
+PYQT_SIPFLAGS = @PYQT_SIPFLAGS@
+PYQT_SIPS = @PYQT_SIPS@
+PYTHON = @PYTHON@
+PYTHONHOME = @PYTHONHOME@
+PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
+PYTHON_INCLUDES = @PYTHON_INCLUDES@
+PYTHON_LIBS = @PYTHON_LIBS@
+PYTHON_PLATFORM = @PYTHON_PLATFORM@
+PYTHON_PREFIX = @PYTHON_PREFIX@
+PYTHON_SITE = @PYTHON_SITE@
+PYTHON_SITE_EXEC = @PYTHON_SITE_EXEC@
+PYTHON_SITE_INSTALL = @PYTHON_SITE_INSTALL@
+PYTHON_SITE_PACKAGE = @PYTHON_SITE_PACKAGE@
+PYTHON_VERSION = @PYTHON_VERSION@
+PYUIC = @PYUIC@
+QRCC = @QRCC@
+QTDIR = @QTDIR@
+QT_CORE_LIBS = @QT_CORE_LIBS@
+QT_GUI_LIBS = @QT_GUI_LIBS@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LIBS = @QT_LIBS@
+QT_LIB_DIR = @QT_LIB_DIR@
+QT_MT_INCLUDES = @QT_MT_INCLUDES@
+QT_MT_LIBS = @QT_MT_LIBS@
+QT_OTHER_LIBS = @QT_OTHER_LIBS@
+QT_ROOT = @QT_ROOT@
+QT_VERSION = @QT_VERSION@
+QT_VERSION_ID = @QT_VERSION_ID@
+QWT_INCLUDES = @QWT_INCLUDES@
+QWT_LIBS = @QWT_LIBS@
+RANLIB = @RANLIB@
+ROOT_BUILDDIR = @ROOT_BUILDDIR@
+ROOT_SRCDIR = @ROOT_SRCDIR@
+RST2HTML = @RST2HTML@
+RST2HTML_IS_OK_FALSE = @RST2HTML_IS_OK_FALSE@
+RST2HTML_IS_OK_TRUE = @RST2HTML_IS_OK_TRUE@
+SETX = @SETX@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SIP = @SIP@
+SIP_INCLUDES = @SIP_INCLUDES@
+SIP_LIBS = @SIP_LIBS@
+SIP_VERSION = @SIP_VERSION@
+SIP_VERSION_ID = @SIP_VERSION_ID@
+STDLIB = @STDLIB@
+STRIP = @STRIP@
+SWIG = @SWIG@
+SWIG_FLAGS = @SWIG_FLAGS@
+TEMP = @TEMP@
+UIC = @UIC@
+VERSION = @VERSION@
+VTKPY_MODULES = @VTKPY_MODULES@
+VTK_INCLUDES = @VTK_INCLUDES@
+VTK_LIBS = @VTK_LIBS@
+XMKMF = @XMKMF@
+XVERSION = @XVERSION@
+YACC = @YACC@
+YFLAGS = @YFLAGS@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+acx_pthread_config = @acx_pthread_config@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = $(prefix)/bin/@PACKAGE@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+cppunit_ok = @cppunit_ok@
+datadir = @datadir@
+datarootdir = @datarootdir@
+
+# Documentation directory
+docdir = $(datadir)/doc/@PACKAGE@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = $(prefix)/lib@LIB_LOCATION_SUFFIX@/@PACKAGE@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+pkgpyexecdir = @pkgpyexecdir@
+pkgpythondir = @pkgpythondir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+pyexecdir = @pyexecdir@
+pythondir = @pythondir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+
+# Standard directory for installation
+salomeincludedir = $(includedir)/@PACKAGE@
+salomescriptdir = $(bindir)
+
+# Directory for installing idl files
+salomeidldir = $(prefix)/idl/@PACKAGE@
+
+# Directory for installing resource files
+salomeresdir = $(prefix)/share/@PACKAGE@/resources/@MODULE_NAME@
+
+# Directories for installing admin files
+admlocaldir = $(prefix)/adm_local
+admlocalunixdir = $(admlocaldir)/unix
+admlocalm4dir = $(admlocaldir)/unix/config_files
+
+# Shared modules installation directory
+sharedpkgpythondir = $(pkgpythondir)/shared_modules
+EXTRA_DIST = $(MOC_FILES:%_moc.cxx=%.h) $(QRC_FILES:qrc_%.cpp=%.qrc) $(nodist_salomeres_DATA:%.qm=resources/%.ts)
+lib_LTLIBRARIES = libQxScene.la
+salomeinclude_HEADERS = \
+       QxScene_ViewWindow.h \
+       QxScene_ViewManager.h \
+       QxScene_ViewModel.h \
+       QxScene_Def.h \
+       QxScene.h
+
+dist_libQxScene_la_SOURCES = \
+       QxScene_ViewWindow.cxx \
+       QxScene_ViewManager.cxx \
+       QxScene_ViewModel.cxx
+
+MOC_FILES = \
+       QxScene_ViewWindow_moc.cxx \
+       QxScene_ViewManager_moc.cxx \
+       QxScene_ViewModel_moc.cxx
+
+nodist_libQxScene_la_SOURCES = $(MOC_FILES)
+dist_salomeres_DATA = \
+       resources/qx_view_fitall.png \
+       resources/qx_view_fitarea.png \
+       resources/qx_view_glpan.png \
+       resources/qx_view_pan.png \
+       resources/qx_view_reset.png \
+       resources/qx_view_zoom.png
+
+
+# --- warnings: 
+#     QxSceneViewer prefix must be coherent with type defined in QxScene_ViewModel.h
+#                          (for translator loading)
+#     coherence also needed in LightApp.xml and SalomeApp.xml
+nodist_salomeres_DATA = \
+       QxSceneViewer_images.qm \
+       QxSceneViewer_msg_en.qm  
+
+libQxScene_la_CPPFLAGS = $(QT_INCLUDES) $(CAS_CPPFLAGS) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) \
+       -I$(srcdir)/../Qtx -I$(srcdir)/../SUIT
+
+libQxScene_la_LDFLAGS = $(QT_MT_LIBS) ../SUIT/libsuit.la
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .cxx .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/adm_local/unix/make_common_starter.am $(am__configure_deps)
+       @for dep in $?; do \
+         case '$(am__configure_deps)' in \
+           *$$dep*) \
+             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+               && exit 0; \
+             exit 1;; \
+         esac; \
+       done; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  ./src/QxScene/Makefile'; \
+       cd $(top_srcdir) && \
+         $(AUTOMAKE) --gnu  ./src/QxScene/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+       @case '$?' in \
+         *config.status*) \
+           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+         *) \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+       esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+       @$(NORMAL_INSTALL)
+       test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
+       @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+         if test -f $$p; then \
+           f=$(am__strip_dir) \
+           echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+           $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
+         else :; fi; \
+       done
+
+uninstall-libLTLIBRARIES:
+       @$(NORMAL_UNINSTALL)
+       @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+         p=$(am__strip_dir) \
+         echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+         $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
+       done
+
+clean-libLTLIBRARIES:
+       -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+       @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+         test "$$dir" != "$$p" || dir=.; \
+         echo "rm -f \"$${dir}/so_locations\""; \
+         rm -f "$${dir}/so_locations"; \
+       done
+libQxScene.la: $(libQxScene_la_OBJECTS) $(libQxScene_la_DEPENDENCIES) 
+       $(CXXLINK) -rpath $(libdir) $(libQxScene_la_LDFLAGS) $(libQxScene_la_OBJECTS) $(libQxScene_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+       -rm -f *.$(OBJEXT)
+
+distclean-compile:
+       -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libQxScene_la-QxScene_ViewManager.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libQxScene_la-QxScene_ViewManager_moc.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libQxScene_la-QxScene_ViewModel.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libQxScene_la-QxScene_ViewModel_moc.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libQxScene_la-QxScene_ViewWindow.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libQxScene_la-QxScene_ViewWindow_moc.Plo@am__quote@
+
+.cxx.o:
+@am__fastdepCXX_TRUE@  if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cxx.obj:
+@am__fastdepCXX_TRUE@  if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cxx.lo:
+@am__fastdepCXX_TRUE@  if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+libQxScene_la-QxScene_ViewWindow.lo: QxScene_ViewWindow.cxx
+@am__fastdepCXX_TRUE@  if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libQxScene_la-QxScene_ViewWindow.lo -MD -MP -MF "$(DEPDIR)/libQxScene_la-QxScene_ViewWindow.Tpo" -c -o libQxScene_la-QxScene_ViewWindow.lo `test -f 'QxScene_ViewWindow.cxx' || echo '$(srcdir)/'`QxScene_ViewWindow.cxx; \
+@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/libQxScene_la-QxScene_ViewWindow.Tpo" "$(DEPDIR)/libQxScene_la-QxScene_ViewWindow.Plo"; else rm -f "$(DEPDIR)/libQxScene_la-QxScene_ViewWindow.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='QxScene_ViewWindow.cxx' object='libQxScene_la-QxScene_ViewWindow.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libQxScene_la-QxScene_ViewWindow.lo `test -f 'QxScene_ViewWindow.cxx' || echo '$(srcdir)/'`QxScene_ViewWindow.cxx
+
+libQxScene_la-QxScene_ViewManager.lo: QxScene_ViewManager.cxx
+@am__fastdepCXX_TRUE@  if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libQxScene_la-QxScene_ViewManager.lo -MD -MP -MF "$(DEPDIR)/libQxScene_la-QxScene_ViewManager.Tpo" -c -o libQxScene_la-QxScene_ViewManager.lo `test -f 'QxScene_ViewManager.cxx' || echo '$(srcdir)/'`QxScene_ViewManager.cxx; \
+@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/libQxScene_la-QxScene_ViewManager.Tpo" "$(DEPDIR)/libQxScene_la-QxScene_ViewManager.Plo"; else rm -f "$(DEPDIR)/libQxScene_la-QxScene_ViewManager.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='QxScene_ViewManager.cxx' object='libQxScene_la-QxScene_ViewManager.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libQxScene_la-QxScene_ViewManager.lo `test -f 'QxScene_ViewManager.cxx' || echo '$(srcdir)/'`QxScene_ViewManager.cxx
+
+libQxScene_la-QxScene_ViewModel.lo: QxScene_ViewModel.cxx
+@am__fastdepCXX_TRUE@  if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libQxScene_la-QxScene_ViewModel.lo -MD -MP -MF "$(DEPDIR)/libQxScene_la-QxScene_ViewModel.Tpo" -c -o libQxScene_la-QxScene_ViewModel.lo `test -f 'QxScene_ViewModel.cxx' || echo '$(srcdir)/'`QxScene_ViewModel.cxx; \
+@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/libQxScene_la-QxScene_ViewModel.Tpo" "$(DEPDIR)/libQxScene_la-QxScene_ViewModel.Plo"; else rm -f "$(DEPDIR)/libQxScene_la-QxScene_ViewModel.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='QxScene_ViewModel.cxx' object='libQxScene_la-QxScene_ViewModel.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libQxScene_la-QxScene_ViewModel.lo `test -f 'QxScene_ViewModel.cxx' || echo '$(srcdir)/'`QxScene_ViewModel.cxx
+
+libQxScene_la-QxScene_ViewWindow_moc.lo: QxScene_ViewWindow_moc.cxx
+@am__fastdepCXX_TRUE@  if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libQxScene_la-QxScene_ViewWindow_moc.lo -MD -MP -MF "$(DEPDIR)/libQxScene_la-QxScene_ViewWindow_moc.Tpo" -c -o libQxScene_la-QxScene_ViewWindow_moc.lo `test -f 'QxScene_ViewWindow_moc.cxx' || echo '$(srcdir)/'`QxScene_ViewWindow_moc.cxx; \
+@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/libQxScene_la-QxScene_ViewWindow_moc.Tpo" "$(DEPDIR)/libQxScene_la-QxScene_ViewWindow_moc.Plo"; else rm -f "$(DEPDIR)/libQxScene_la-QxScene_ViewWindow_moc.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='QxScene_ViewWindow_moc.cxx' object='libQxScene_la-QxScene_ViewWindow_moc.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libQxScene_la-QxScene_ViewWindow_moc.lo `test -f 'QxScene_ViewWindow_moc.cxx' || echo '$(srcdir)/'`QxScene_ViewWindow_moc.cxx
+
+libQxScene_la-QxScene_ViewManager_moc.lo: QxScene_ViewManager_moc.cxx
+@am__fastdepCXX_TRUE@  if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libQxScene_la-QxScene_ViewManager_moc.lo -MD -MP -MF "$(DEPDIR)/libQxScene_la-QxScene_ViewManager_moc.Tpo" -c -o libQxScene_la-QxScene_ViewManager_moc.lo `test -f 'QxScene_ViewManager_moc.cxx' || echo '$(srcdir)/'`QxScene_ViewManager_moc.cxx; \
+@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/libQxScene_la-QxScene_ViewManager_moc.Tpo" "$(DEPDIR)/libQxScene_la-QxScene_ViewManager_moc.Plo"; else rm -f "$(DEPDIR)/libQxScene_la-QxScene_ViewManager_moc.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='QxScene_ViewManager_moc.cxx' object='libQxScene_la-QxScene_ViewManager_moc.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libQxScene_la-QxScene_ViewManager_moc.lo `test -f 'QxScene_ViewManager_moc.cxx' || echo '$(srcdir)/'`QxScene_ViewManager_moc.cxx
+
+libQxScene_la-QxScene_ViewModel_moc.lo: QxScene_ViewModel_moc.cxx
+@am__fastdepCXX_TRUE@  if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libQxScene_la-QxScene_ViewModel_moc.lo -MD -MP -MF "$(DEPDIR)/libQxScene_la-QxScene_ViewModel_moc.Tpo" -c -o libQxScene_la-QxScene_ViewModel_moc.lo `test -f 'QxScene_ViewModel_moc.cxx' || echo '$(srcdir)/'`QxScene_ViewModel_moc.cxx; \
+@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/libQxScene_la-QxScene_ViewModel_moc.Tpo" "$(DEPDIR)/libQxScene_la-QxScene_ViewModel_moc.Plo"; else rm -f "$(DEPDIR)/libQxScene_la-QxScene_ViewModel_moc.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='QxScene_ViewModel_moc.cxx' object='libQxScene_la-QxScene_ViewModel_moc.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libQxScene_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libQxScene_la-QxScene_ViewModel_moc.lo `test -f 'QxScene_ViewModel_moc.cxx' || echo '$(srcdir)/'`QxScene_ViewModel_moc.cxx
+
+mostlyclean-libtool:
+       -rm -f *.lo
+
+clean-libtool:
+       -rm -rf .libs _libs
+
+distclean-libtool:
+       -rm -f libtool
+uninstall-info-am:
+install-dist_salomeresDATA: $(dist_salomeres_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(salomeresdir)" || $(mkdir_p) "$(DESTDIR)$(salomeresdir)"
+       @list='$(dist_salomeres_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(dist_salomeresDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(salomeresdir)/$$f'"; \
+         $(dist_salomeresDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(salomeresdir)/$$f"; \
+       done
+
+uninstall-dist_salomeresDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(dist_salomeres_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(salomeresdir)/$$f'"; \
+         rm -f "$(DESTDIR)$(salomeresdir)/$$f"; \
+       done
+install-nodist_salomeresDATA: $(nodist_salomeres_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(salomeresdir)" || $(mkdir_p) "$(DESTDIR)$(salomeresdir)"
+       @list='$(nodist_salomeres_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(nodist_salomeresDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(salomeresdir)/$$f'"; \
+         $(nodist_salomeresDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(salomeresdir)/$$f"; \
+       done
+
+uninstall-nodist_salomeresDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(nodist_salomeres_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(salomeresdir)/$$f'"; \
+         rm -f "$(DESTDIR)$(salomeresdir)/$$f"; \
+       done
+install-salomeincludeHEADERS: $(salomeinclude_HEADERS)
+       @$(NORMAL_INSTALL)
+       test -z "$(salomeincludedir)" || $(mkdir_p) "$(DESTDIR)$(salomeincludedir)"
+       @list='$(salomeinclude_HEADERS)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(salomeincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(salomeincludedir)/$$f'"; \
+         $(salomeincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(salomeincludedir)/$$f"; \
+       done
+
+uninstall-salomeincludeHEADERS:
+       @$(NORMAL_UNINSTALL)
+       @list='$(salomeinclude_HEADERS)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(salomeincludedir)/$$f'"; \
+         rm -f "$(DESTDIR)$(salomeincludedir)/$$f"; \
+       done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '    { files[$$0] = 1; } \
+              END { for (i in files) print i; }'`; \
+       mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+               $(TAGS_FILES) $(LISP)
+       tags=; \
+       here=`pwd`; \
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '    { files[$$0] = 1; } \
+              END { for (i in files) print i; }'`; \
+       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+         test -n "$$unique" || unique=$$empty_fix; \
+         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+           $$tags $$unique; \
+       fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+               $(TAGS_FILES) $(LISP)
+       tags=; \
+       here=`pwd`; \
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '    { files[$$0] = 1; } \
+              END { for (i in files) print i; }'`; \
+       test -z "$(CTAGS_ARGS)$$tags$$unique" \
+         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+            $$tags $$unique
+
+GTAGS:
+       here=`$(am__cd) $(top_builddir) && pwd` \
+         && cd $(top_srcdir) \
+         && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+       $(mkdir_p) $(distdir)/../../adm_local/unix $(distdir)/resources
+       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+       list='$(DISTFILES)'; for file in $$list; do \
+         case $$file in \
+           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+         esac; \
+         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+           dir="/$$dir"; \
+           $(mkdir_p) "$(distdir)$$dir"; \
+         else \
+           dir=''; \
+         fi; \
+         if test -d $$d/$$file; then \
+           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+           fi; \
+           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+         else \
+           test -f $(distdir)/$$file \
+           || cp -p $$d/$$file $(distdir)/$$file \
+           || exit 1; \
+         fi; \
+       done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
+installdirs:
+       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(salomeresdir)" "$(DESTDIR)$(salomeresdir)" "$(DESTDIR)$(salomeincludedir)"; do \
+         test -z "$$dir" || $(mkdir_p) "$$dir"; \
+       done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+         install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+         `test -z '$(STRIP)' || \
+           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+       @echo "This command is intended for maintainers to use"
+       @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
+       mostlyclean-am
+
+distclean: distclean-am
+       -rm -rf ./$(DEPDIR)
+       -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+       distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-dist_salomeresDATA \
+       install-nodist_salomeresDATA install-salomeincludeHEADERS
+
+install-exec-am: install-libLTLIBRARIES
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+       -rm -rf ./$(DEPDIR)
+       -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+       mostlyclean-libtool mostlyclean-local
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-dist_salomeresDATA uninstall-info-am \
+       uninstall-libLTLIBRARIES uninstall-nodist_salomeresDATA \
+       uninstall-salomeincludeHEADERS
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+       clean-libLTLIBRARIES clean-libtool ctags distclean \
+       distclean-compile distclean-generic distclean-libtool \
+       distclean-tags distdir dvi dvi-am html html-am info info-am \
+       install install-am install-data install-data-am \
+       install-dist_salomeresDATA install-exec install-exec-am \
+       install-info install-info-am install-libLTLIBRARIES \
+       install-man install-nodist_salomeresDATA \
+       install-salomeincludeHEADERS install-strip installcheck \
+       installcheck-am installdirs maintainer-clean \
+       maintainer-clean-generic mostlyclean mostlyclean-compile \
+       mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
+       pdf-am ps ps-am tags uninstall uninstall-am \
+       uninstall-dist_salomeresDATA uninstall-info-am \
+       uninstall-libLTLIBRARIES uninstall-nodist_salomeresDATA \
+       uninstall-salomeincludeHEADERS
+
+
+# common rules
+
+# moc-files generation
+%_moc.cxx: %.h
+       $(MOC) $< -o $@
+
+# qm-files generation
+%.qm: resources/%.ts
+       $(LRELEASE) $< -qm $@
+
+# resource files generation
+qrc_%.cxx: %.qrc
+       $(QRCC) $< -o $@ -name $(*F)
+
+mostlyclean-local:
+       rm -f @builddir@/*_moc.cxx
+       rm -f @builddir@/*.qm
+
+# tests
+tests: unittest
+
+unittest: $(UNIT_TEST_PROG)
+       @if test "x$(UNIT_TEST_PROG)" != "x"; then \
+           $(UNIT_TEST_PROG);                     \
+       fi;
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/QxScene/QxScene.h b/src/QxScene/QxScene.h
new file mode 100644 (file)
index 0000000..3867ec2
--- /dev/null
@@ -0,0 +1,35 @@
+//  SALOME QxScene : build Supervisor viewer into desktop
+//
+//  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifdef WNT
+#ifdef QXSCENE_EXPORTS
+#define QXSCENE_EXPORT __declspec(dllexport)
+#else
+#define QXSCENE_EXPORT __declspec(dllimport)
+#endif
+#else
+#define QXSCENE_EXPORT
+#endif
+
+#ifdef WNT
+#pragma warning ( disable:4251 )
+#endif
diff --git a/src/QxScene/QxScene_Def.h b/src/QxScene/QxScene_Def.h
new file mode 100644 (file)
index 0000000..d893684
--- /dev/null
@@ -0,0 +1,34 @@
+//  SALOME QxScene : build Supervisor viewer into desktop
+//
+//  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef QXSCENE_DEF_H
+#define QXSCENE_DEF_H
+
+#define DEF_BACK_COLOR QColor(144, 208, 211)
+#define RECTANGLE_BODY QColor(255,249,147)
+
+#define GRAPH_WIDTH  1250
+#define GRAPH_HEIGHT 950
+
+#define GRAPH_MARGIN 50
+
+#endif
diff --git a/src/QxScene/QxScene_ViewManager.cxx b/src/QxScene/QxScene_ViewManager.cxx
new file mode 100644 (file)
index 0000000..30bdf09
--- /dev/null
@@ -0,0 +1,63 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
+// 
+// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+#include "QxScene_ViewManager.h"
+
+#define _DEVDEBUG_
+#include "DebTrace.hxx"
+
+/*!
+  Constructor
+*/
+QxScene_ViewManager::QxScene_ViewManager( SUIT_Study* theStudy, 
+                                         SUIT_Desktop* theDesktop, 
+                                         SUIT_ViewModel* theViewModel )
+  : SUIT_ViewManager( theStudy, theDesktop, theViewModel )
+{
+  DEBTRACE("QxScene_ViewManager::QxScene_ViewManager");
+  setTitle( tr( "QXSCENE_VIEW_TITLE" ) );
+}
+
+/*!
+  Destructor
+*/
+QxScene_ViewManager::~QxScene_ViewManager()
+{
+  DEBTRACE("QxScene_ViewManager::~QxScene_ViewManager");
+}
+
+
+/*!
+  Adds new view
+  \param theView - view to be added
+*/
+bool QxScene_ViewManager::insertView( SUIT_ViewWindow* theView )
+{
+  DEBTRACE("QxScene_ViewManager::insertView");
+  bool res = SUIT_ViewManager::insertView( theView );
+  return res;
+}
+
+/*!
+  Creates new view
+*/
+void QxScene_ViewManager::createView()
+{
+  DEBTRACE("QxScene_ViewManager::createView");
+  createViewWindow();
+}
diff --git a/src/QxScene/QxScene_ViewManager.h b/src/QxScene/QxScene_ViewManager.h
new file mode 100644 (file)
index 0000000..3e95e3c
--- /dev/null
@@ -0,0 +1,45 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
+// 
+// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+#ifndef QXSCENE_VIEWMANAGER_H
+#define QXSCENE_VIEWMANAGER_H
+
+#include "QxScene.h"
+
+#include "QxScene_ViewModel.h"
+#include "SUIT_ViewManager.h"
+
+class SUIT_Desktop;
+
+class QXSCENE_EXPORT QxScene_ViewManager : public SUIT_ViewManager
+{
+  Q_OBJECT
+
+public:
+  QxScene_ViewManager( SUIT_Study* theStudy, SUIT_Desktop* theDesktop, SUIT_ViewModel* theViewModel = 0 );
+  ~QxScene_ViewManager();
+
+protected:
+  bool         insertView(SUIT_ViewWindow* theView);
+
+public slots:
+  void         createView();
+
+};
+
+#endif
diff --git a/src/QxScene/QxScene_ViewModel.cxx b/src/QxScene/QxScene_ViewModel.cxx
new file mode 100644 (file)
index 0000000..0e08faa
--- /dev/null
@@ -0,0 +1,117 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
+// 
+// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+#include "QxScene_ViewModel.h"
+#include "QxScene_ViewWindow.h"
+#include "QxScene_ViewManager.h"
+#include "QxScene_Def.h"
+
+#include "SUIT_Desktop.h"
+#include "SUIT_ViewWindow.h"
+#include "SUIT_Session.h"
+
+#include <qcolordialog.h>
+#include <QMenu>
+#include <QToolBar>
+
+#define _DEVDEBUG_
+#include "DebTrace.hxx"
+
+/*!
+  Constructor
+*/
+QxScene_Viewer::QxScene_Viewer()
+  :SUIT_ViewModel()
+{
+  DEBTRACE("QxScene_Viewer::QxScene_Viewer");
+}
+
+/*!
+  Destructor
+*/
+QxScene_Viewer::~QxScene_Viewer() 
+{
+  DEBTRACE("QxScene_Viewer::~QxScene_Viewer");
+}
+
+void QxScene_Viewer::setViewManager( SUIT_ViewManager* mgr)
+{
+  DEBTRACE("QxScene_Viewer::setViewManager");
+   SUIT_ViewModel::setViewManager( mgr );
+}
+
+/*!
+  Start initialization of view window
+  \param view - view window to be initialized
+*/
+void QxScene_Viewer::initView( QxScene_ViewWindow* view )
+{
+  DEBTRACE("QxScene_Viewer::initView");
+  if ( view )
+  {
+    view->initLayout();
+    
+    /*
+    // test add items into the current canvas view
+    */
+  }
+}
+
+/*!
+  Creates new view window
+  \param theDesktop - main window of application
+*/
+SUIT_ViewWindow* QxScene_Viewer::createView(SUIT_Desktop* theDesktop)
+{
+  DEBTRACE("QxScene_Viewer::createView");
+  QxScene_ViewWindow* aRes = new QxScene_ViewWindow( theDesktop, this );
+  initView( aRes );
+  return aRes;
+}
+
+/*!
+  Builds popup for QxScene viewer
+*/
+void QxScene_Viewer::contextMenuPopup(QMenu* thePopup)
+{
+  DEBTRACE("QxScene_Viewer::contextMenuPopup");
+}
+
+/*!
+  SLOT: called if background color is to be changed changed, passes new color to current canvas view
+*/
+void QxScene_Viewer::onChangeBgColor()
+{
+  QxScene_ViewWindow* aView = (QxScene_ViewWindow*)(myViewManager->getActiveView());
+  if( !aView )
+    return;
+  QColor aColorActive = aView->backgroundColor();
+
+  QColor selColor = QColorDialog::getColor( aColorActive, aView);
+  if ( selColor.isValid() )
+    aView->setBackgroundColor(selColor);
+}
+
+/*!
+  SLOT: called when popup item "Show toolbar" is activated, shows toolbar of active view window
+*/
+void QxScene_Viewer::onShowToolbar() {
+  QxScene_ViewWindow* aView = (QxScene_ViewWindow*)(myViewManager->getActiveView());
+  if ( aView )
+    aView->getToolBar()->show();    
+}
diff --git a/src/QxScene/QxScene_ViewModel.h b/src/QxScene/QxScene_ViewModel.h
new file mode 100644 (file)
index 0000000..a891abf
--- /dev/null
@@ -0,0 +1,54 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
+// 
+// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+#ifndef QXSCENE_VIEWMODEL_H
+#define QXSCENE_VIEWMODEL_H
+
+#include "QxScene.h"
+
+#include "SUIT_ViewModel.h"
+
+class QxScene_ViewWindow;
+
+class QXSCENE_EXPORT QxScene_Viewer: public SUIT_ViewModel
+{
+  Q_OBJECT
+
+ public:
+  static QString Type() { return "QxSceneViewer"; }
+
+  QxScene_Viewer();
+  virtual ~QxScene_Viewer();
+
+  virtual void             setViewManager( SUIT_ViewManager* );
+  virtual SUIT_ViewWindow* createView(SUIT_Desktop* theDesktop);
+  virtual QString          getType() const { return Type(); }
+
+  virtual void             contextMenuPopup(QMenu*);
+
+ protected:
+  void initView(QxScene_ViewWindow* view);
+
+ protected slots:
+  void onShowToolbar();
+  void onChangeBgColor();
+
+ private:
+};
+
+#endif
diff --git a/src/QxScene/QxScene_ViewWindow.cxx b/src/QxScene/QxScene_ViewWindow.cxx
new file mode 100644 (file)
index 0000000..3f12b72
--- /dev/null
@@ -0,0 +1,268 @@
+//  SALOME QxScene : build Supervisor viewer into desktop
+//
+//  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "QxScene_ViewWindow.h"
+#include "QxScene_Def.h"
+
+#include <SUIT_ResourceMgr.h>
+#include <SUIT_Session.h>
+#include <SUIT_Desktop.h>
+
+#include <QtxAction.h>
+#include <QtxMultiAction.h>
+#include <QtxActionToolMgr.h>
+
+//QT Include
+#include <QToolBar>
+#include <QGraphicsRectItem>
+
+#define _DEVDEBUG_
+#include "DebTrace.hxx"
+
+using namespace std;
+
+/*!
+    Constructor
+*/
+QxScene_ViewWindow::QxScene_ViewWindow( SUIT_Desktop* theDesktop, QxScene_Viewer* theModel)
+  : SUIT_ViewWindow( theDesktop )
+{
+  DEBTRACE("Construct QxScene_ViewWindow");
+  myViewModel = theModel;
+  _scene = 0;
+  _sceneView = 0;
+}
+
+/*!
+  Initialization
+*/
+void QxScene_ViewWindow::initLayout()
+{
+  DEBTRACE("QxScene_ViewWindow::initLayout");
+  createActions();
+  createToolBar();
+  
+  // --- QGraphics test
+
+//   _scene = new QGraphicsScene();
+//   _sceneView = new QGraphicsView(this);
+//   setCentralWidget(_sceneView);
+//   _sceneView->setScene(_scene);
+//   QGraphicsRectItem *rect = _scene->addRect(QRectF(0, 0, 100, 100));
+//   _sceneView->show();
+}
+
+/*!
+  Creates actions of QxScene view window
+*/
+void QxScene_ViewWindow::createActions()
+{
+  DEBTRACE("QxScene_ViewWindow::createActions");
+  QtxActionToolMgr* mgr = toolMgr();
+  QtxAction* aAction;
+  SUIT_ResourceMgr* aResMgr = SUIT_Session::session()->resourceMgr();
+
+  // 2. Scaling operations
+
+  // 2.1. Fit All
+  aAction = new QtxAction( tr( "MNU_FITALL" ),
+                           aResMgr->loadPixmap( "QxSceneViewer", tr( "ICON_QXSCENE_FITALL" ) ),
+                           tr( "MNU_FITALL" ),
+                          0, this);
+  aAction->setStatusTip( tr( "DSC_FITALL" ) );
+  connect( aAction, SIGNAL( triggered( bool ) ), this, SLOT( onViewFitAll() ) );
+  mgr->registerAction( aAction, FitAllId );
+
+  // 2.2. Fit Rect
+  aAction = new QtxAction( tr( "MNU_FITRECT" ),
+                           aResMgr->loadPixmap( "QxSceneViewer", tr( "ICON_QXSCENE_FITAREA" ) ),
+                           tr( "MNU_FITRECT" ),
+                          0, this);
+  aAction->setStatusTip( tr( "DSC_FITRECT" ) );
+  connect( aAction, SIGNAL( triggered( bool ) ), this, SLOT( onViewFitArea() ) );
+  mgr->registerAction( aAction, FitRectId );
+
+  // 2.3. Zoom
+  aAction = new QtxAction( tr( "MNU_ZOOM_VIEW" ),
+                          aResMgr->loadPixmap( "QxSceneViewer", tr( "ICON_QXSCENE_ZOOM" ) ),
+                           tr( "MNU_ZOOM_VIEW" ),
+                          0, this);
+  aAction->setStatusTip( tr( "DSC_ZOOM_VIEW" ) );
+  connect( aAction, SIGNAL( triggered( bool ) ), this, SLOT( onViewZoom() ) );
+  mgr->registerAction( aAction, ZoomId );
+
+  // 2.4. Create multi-action for scaling operations
+  QtxMultiAction* aScaleAction = new QtxMultiAction( this );
+  aScaleAction->insertAction( mgr->action( FitAllId  ) );
+  aScaleAction->insertAction( mgr->action( FitRectId ) );
+  aScaleAction->insertAction( mgr->action( ZoomId    ) );
+  mgr->registerAction( aScaleAction, ScaleOpId );
+
+  // 3. Moving operations
+
+  // 3.1. Panning
+  aAction = new QtxAction( tr( "MNU_PAN_VIEW" ),
+                          aResMgr->loadPixmap( "QxSceneViewer", tr( "ICON_QXSCENE_PAN" ) ),
+                          tr( "MNU_PAN_VIEW" ), 
+                          0, this);
+  aAction->setStatusTip( tr( "DSC_PAN_VIEW" ) );
+  connect( aAction, SIGNAL( triggered( bool ) ), this, SLOT( onViewPan() ) );
+  mgr->registerAction( aAction, PanId );
+
+  // 3.2. Global Panning
+  aAction = new QtxAction( tr( "MNU_GLOBALPAN_VIEW" ),
+                          aResMgr->loadPixmap( "QxSceneViewer", tr( "ICON_QXSCENE_GLOBALPAN" ) ),
+                           tr( "MNU_GLOBALPAN_VIEW" ),
+                          0, this);
+  aAction->setStatusTip( tr( "DSC_GLOBALPAN_VIEW" ) );
+  connect( aAction, SIGNAL( triggered( bool ) ), this, SLOT( onViewGlobalPan() ) );
+  mgr->registerAction( aAction, GlobalPanId );
+
+  // 3.3. Create multi-action for moving operations
+  QtxMultiAction* aPanAction = new QtxMultiAction( this );
+  aPanAction->insertAction( mgr->action( PanId ) );
+  aPanAction->insertAction( mgr->action( GlobalPanId ) );
+  mgr->registerAction( aPanAction, MoveOpId );
+
+  // reset
+  aAction = new QtxAction( tr( "MNU_RESET_VIEW" ),
+                          aResMgr->loadPixmap( "QxSceneViewer", tr( "ICON_QXSCENE_RESET" ) ),
+                          tr( "MNU_RESET_VIEW" ), 
+                          0, this);
+  aAction->setStatusTip( tr( "DSC_RESET_VIEW" ) );
+  connect( aAction, SIGNAL( triggered( bool ) ), this, SLOT( onViewReset() ) );
+  mgr->registerAction( aAction, ResetId );
+}
+
+/*!
+  Creates toolbar of QxScene view window
+*/
+void QxScene_ViewWindow::createToolBar()
+{
+  DEBTRACE("QxScene_ViewWindow::createToolBar");
+  QtxActionToolMgr* mgr = toolMgr();
+  myToolBar = mgr->createToolBar( tr( "LBL_TOOLBAR_LABEL" ) );
+  mgr->append( ScaleOpId, myToolBar );
+  mgr->append( MoveOpId, myToolBar );
+  mgr->append( ResetId, myToolBar );
+}
+
+/*!
+  \brief Get view window's toolbar.
+  \return toolbar
+*/
+QToolBar* QxScene_ViewWindow::getToolBar()
+{
+  DEBTRACE("QxScene_ViewWindow::getToolBar");
+  return toolMgr()->toolBar( myToolBar );
+}
+
+/*!
+  Destructor
+*/
+QxScene_ViewWindow::~QxScene_ViewWindow()
+{
+  DEBTRACE("destructor QxScene_ViewWindow");
+
+}
+
+/*!
+  Reset the active view
+*/
+void QxScene_ViewWindow::onViewReset()    
+{
+  DEBTRACE( "QxScene_ViewWindow::onViewReset" );
+}
+
+/*!
+  Sets a new center of the active view
+*/
+void QxScene_ViewWindow::onViewGlobalPan()
+{
+  DEBTRACE( "QxScene_ViewWindow::onViewGlobalPan" );
+}
+
+/*!
+  Zooms the active view
+*/
+void QxScene_ViewWindow::onViewZoom()
+{
+  DEBTRACE( "QxScene_ViewWindow::onViewZoom" );
+}
+
+/*!
+  Moves the active view
+*/
+void QxScene_ViewWindow::onViewPan()
+{
+  DEBTRACE( "QxScene_ViewWindow::onViewPan" );
+}
+
+/*!
+  Fits all obejcts within a rectangular area of the active view
+*/
+void QxScene_ViewWindow::onViewFitArea()
+{
+  DEBTRACE( "QxScene_ViewWindow::onViewFitArea" );
+}
+
+/*!
+  Fits all objects in the active view
+*/
+void QxScene_ViewWindow::onViewFitAll()
+{
+  DEBTRACE( "QxScene_ViewWindow::onViewFitAll" );
+}
+
+/*!
+    Set background of the viewport
+*/
+void QxScene_ViewWindow::setBackgroundColor( const QColor& color )
+{
+  DEBTRACE("QxScene_ViewWindow::setBackgroundColor");
+}
+
+/*!
+    Returns background of the viewport
+*/
+QColor QxScene_ViewWindow::backgroundColor() const
+{
+  DEBTRACE("QxScene_ViewWindow::backgroundColor");
+}
+
+/*!
+  Custom resize event handler
+*/
+void QxScene_ViewWindow::resizeEvent( QResizeEvent* theEvent )
+{
+  DEBTRACE("QxScene_ViewWindow::resizeEvent");
+}
+
+/*!
+  Get resource manager
+*/
+SUIT_ResourceMgr* QxScene_ViewWindow::resMgr() const
+{ 
+  DEBTRACE("QxScene_ViewWindow::resMgr");
+  return SUIT_Session::session()->resourceMgr(); 
+}
+
diff --git a/src/QxScene/QxScene_ViewWindow.h b/src/QxScene/QxScene_ViewWindow.h
new file mode 100644 (file)
index 0000000..00d8973
--- /dev/null
@@ -0,0 +1,100 @@
+//  SALOME QxScene : build Supervisor viewer into desktop
+//
+//  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef QXSCENE_VIEWWINDOW_H
+#define QXSCENE_VIEWWINDOW_H
+
+#include "QxScene.h"
+#include "QxScene_ViewModel.h"
+
+#include "SUIT_ViewWindow.h"
+
+#include "QtxAction.h"
+
+#include <qaction.h>
+
+#include <QGraphicsScene>
+#include <QGraphicsView>
+
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
+class SUIT_ResourceMgr;
+
+class QXSCENE_EXPORT QxScene_ViewWindow : public SUIT_ViewWindow {
+  Q_OBJECT
+
+ public:
+  QxScene_ViewWindow(SUIT_Desktop* theDesktop, QxScene_Viewer* theModel);
+  virtual ~QxScene_ViewWindow();
+
+  void              setBackgroundColor( const QColor& );
+  QColor            backgroundColor() const;
+
+  QToolBar*         getToolBar();
+
+  SUIT_ResourceMgr* resMgr() const;
+
+  QxScene_Viewer*   getViewModel() const { return myViewModel; }
+  void              setViewModel(QxScene_Viewer* theViewModel) { myViewModel = theViewModel; }
+
+  virtual void      initLayout();
+
+  void              contextPopupEvent(QContextMenuEvent* theEvent) { emit contextMenuRequested( theEvent); }
+  
+  void              setScene(QGraphicsScene* scene) { _scene = scene; }
+  QGraphicsScene*   getScene() { return _scene; }
+  void              setSceneView(QGraphicsView* sceneView){ _sceneView = sceneView; }
+  QGraphicsView*    getSceneView() { return _sceneView; }
+
+ public slots:
+  void              onViewFitAll();
+  void              onViewFitArea();
+  void              onViewZoom();
+  void              onViewPan(); 
+  void              onViewGlobalPan(); 
+  void              onViewReset(); 
+  
+ protected:
+  void              resizeEvent( QResizeEvent* theEvent );
+
+  QGraphicsScene*   _scene;
+  QGraphicsView*    _sceneView;
+
+ private:
+  void              createActions();
+  void              createToolBar();
+
+  //! Actions ID
+  enum { FitAllId, FitRectId, ZoomId, ScaleOpId, PanId, GlobalPanId, MoveOpId, ResetId };
+
+  int               myToolBar;
+
+  QxScene_Viewer*   myViewModel;
+};
+
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
+#endif
diff --git a/src/QxScene/resources/QxSceneViewer_images.ts b/src/QxScene/resources/QxSceneViewer_images.ts
new file mode 100644 (file)
index 0000000..4d12950
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE TS><TS>
+<context>
+    <name>@default</name>
+    <message>
+        <source>ICON_QXSCENE_RESET</source>
+        <translation>qx_view_reset.png</translation>
+    </message>
+    <message>
+        <source>ICON_QXSCENE_ZOOM</source>
+        <translation>qx_view_zoom.png</translation>
+    </message>
+    <message>
+        <source>ICON_QXSCENE_GLOBALPAN</source>
+        <translation>qx_view_glpan.png</translation>
+    </message>
+    <message>
+        <source>ICON_QXSCENE_PAN</source>
+        <translation>qx_view_pan.png</translation>
+    </message>
+    <message>
+        <source>ICON_QXSCENE_FITALL</source>
+        <translation>qx_view_fitall.png</translation>
+    </message>
+    <message>
+        <source>ICON_QXSCENE_FITAREA</source>
+        <translation>qx_view_fitarea.png</translation>
+    </message>
+</context>
+</TS>
diff --git a/src/QxScene/resources/QxSceneViewer_msg_en.ts b/src/QxScene/resources/QxSceneViewer_msg_en.ts
new file mode 100644 (file)
index 0000000..4997178
--- /dev/null
@@ -0,0 +1,36 @@
+<!DOCTYPE TS><TS>
+<context>
+    <name>@default</name>
+    <message>
+        <source>MEN_CHANGE_BACKGROUND</source>
+        <translation>Change background...</translation>
+    </message>
+    <message>
+        <source>MNU_PAN_VIEW</source>
+        <translation>Panning</translation>
+    </message>
+    <message>
+        <source>DSC_PAN_VIEW</source>
+        <translation>Panning the view</translation>
+    </message>
+    <message>
+        <source>MNU_RESET_VIEW</source>
+        <translation>Reset</translation>
+    </message>
+    <message>
+        <source>DSC_RESET_VIEW</source>
+        <translation>Reset View Point</translation>
+    </message>
+    <message>
+        <source>LBL_TOOLBAR_LABEL</source>
+        <translation>View Operations</translation>
+    </message>
+</context>
+<context>
+    <name>QxScene_ViewManager</name>
+    <message>
+        <source>QXSCENE_VIEW_TITLE</source>
+        <translation>QGraphics scene:%M - viewer:%V</translation>
+    </message>
+</context>
+</TS>
diff --git a/src/QxScene/resources/QxScene_images.po b/src/QxScene/resources/QxScene_images.po
new file mode 100644 (file)
index 0000000..3ecdd95
--- /dev/null
@@ -0,0 +1,42 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
+// 
+// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+// File:      QxScene_images.po
+// Created:   03/02/2007
+// Author:    Margarita Karpunina
+// Copyright (C) CEA 2007
+
+
+msgid "ICON_QXSCENE_FITALL"
+msgstr "qx_view_fitall.png"
+
+msgid "ICON_QXSCENE_FITAREA"
+msgstr "qx_view_fitarea.png"
+
+msgid "ICON_QXSCENE_ZOOM"
+msgstr "qx_view_zoom.png"
+
+msgid "ICON_QXSCENE_PAN"
+msgstr "qx_view_pan.png"
+
+msgid "ICON_QXSCENE_GLOBALPAN"
+msgstr "qx_view_glpan.png"
+
+msgid "ICON_QXSCENE_RESET"
+msgstr "qx_view_reset.png"
+
diff --git a/src/QxScene/resources/QxScene_msg_en.po b/src/QxScene/resources/QxScene_msg_en.po
new file mode 100644 (file)
index 0000000..b795120
--- /dev/null
@@ -0,0 +1,40 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
+// 
+// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+// File:      QxScene_msg_en.po
+// Created:   03/02/2007
+// Author:    Margarita Karpunina
+// Copyright (C) CEA 2007
+
+msgid "LBL_TOOLBAR_LABEL"
+msgstr "View Operations"
+
+msgid "DSC_RESET_VIEW"
+msgstr "Reset View Point"
+
+msgid "MNU_RESET_VIEW"
+msgstr "Reset"
+
+msgid "DSC_PAN_VIEW"
+msgstr "Panning the view"
+
+msgid "MNU_PAN_VIEW"
+msgstr "Panning"
+
+msgid "MEN_CHANGE_BACKGROUND"
+msgstr "Change background..."
diff --git a/src/QxScene/resources/qx_view_fitall.png b/src/QxScene/resources/qx_view_fitall.png
new file mode 100755 (executable)
index 0000000..87e001d
Binary files /dev/null and b/src/QxScene/resources/qx_view_fitall.png differ
diff --git a/src/QxScene/resources/qx_view_fitarea.png b/src/QxScene/resources/qx_view_fitarea.png
new file mode 100755 (executable)
index 0000000..450dc56
Binary files /dev/null and b/src/QxScene/resources/qx_view_fitarea.png differ
diff --git a/src/QxScene/resources/qx_view_glpan.png b/src/QxScene/resources/qx_view_glpan.png
new file mode 100644 (file)
index 0000000..28ab547
Binary files /dev/null and b/src/QxScene/resources/qx_view_glpan.png differ
diff --git a/src/QxScene/resources/qx_view_pan.png b/src/QxScene/resources/qx_view_pan.png
new file mode 100755 (executable)
index 0000000..ec56cac
Binary files /dev/null and b/src/QxScene/resources/qx_view_pan.png differ
diff --git a/src/QxScene/resources/qx_view_reset.png b/src/QxScene/resources/qx_view_reset.png
new file mode 100755 (executable)
index 0000000..66f81e6
Binary files /dev/null and b/src/QxScene/resources/qx_view_reset.png differ
diff --git a/src/QxScene/resources/qx_view_zoom.png b/src/QxScene/resources/qx_view_zoom.png
new file mode 100755 (executable)
index 0000000..386c966
Binary files /dev/null and b/src/QxScene/resources/qx_view_zoom.png differ
index 373ab093b3975a01e7cbd6d8181ff049201f499f..3899be9c542ed9eed350af9544e1ebedbfb4b2c6 100644 (file)
@@ -48,6 +48,7 @@
     <parameter name="GLViewer"     value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="OCCViewer"    value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="VTKViewer"    value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
+    <parameter name="QxSceneViewer" value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="SVTK"         value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="PyConsole"    value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="LightApp"     value="${GUI_ROOT_DIR}/share/salome/resources/gui"/>
     <parameter name="Title"      value="63, 213, 255"  />
     <parameter name="NodeBody"   value="255, 249, 147" />
   </section>
+  <section name="QxSceneViewer" >
+    <!-- QxGraph viewer preferences -->
+    <parameter name="Background" value="144, 208, 211" />
+    <parameter name="Title"      value="63, 213, 255"  />
+    <parameter name="NodeBody"   value="255, 249, 147" />
+  </section>
   <section name="FileDlg" >
     <!-- "Open/Save File" dialog box preferences-->
     <parameter name="QuickDirList" value="${DATA_DIR}" />