]> SALOME platform Git repositories - modules/superv.git/blobdiff - src/SUPERVGUI/SUPERVGUI_ManagePortsDlg.h
Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_ManagePortsDlg.h
index 345d1cb424f8b3819e5476761b41638aaa50d810..c603b936123cf76b66dbcbb5cf4a62431448b2d3 100644 (file)
@@ -1,8 +1,23 @@
 //  SUPERV SUPERVGUI : GUI for Supervisor component
 //
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
+//  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
 //
 //  File   : SUPERVGUI_ManagePortsDlg.h
 //  Author : Alexander SLADKOV
 #ifndef SUPERVGUI_ManagePortsDlg_H
 #define SUPERVGUI_ManagePortsDlg_H
 
+#include "SUPERVGUI.h"
+
 #include <qdialog.h>
 #include <qlistbox.h>
 #include <qstringlist.h>
 #include <qlineedit.h>
 #include <qcombobox.h>
+#include <qpair.h>
 
 class SUPERVGUI_CanvasNode;
 
@@ -60,14 +78,18 @@ protected slots:
   void nameChanged( const QString& name );
   void typeChanged( const QString& type );
   void itemChanged( QListBoxItem * item );
+  void itemDeselect(QListBoxItem* item, const QPoint& point); // mkr: PAL12448
 
 protected:
-  virtual void showEvent( QShowEvent* theEvent );
   void addPort( QListBox* );
   void removePort( QListBox* );
   void moveUp( QListBox* );
   void moveDown( QListBox* );
   void moveItem( QListBox* theLB, const int from, const int to );
+  // mkr : PAL8060
+  void createLinkEngine( SUPERV::Port_ptr thePort, 
+                        QValueList< QPair< QString,QString > >& theOwnList, 
+                        QValueList< QPair< QString,QString > >& theCorrespList );
   
 private:
   void init();