]> SALOME platform Git repositories - modules/superv.git/blob - src/SUPERVGUI/SUPERVGUI_ComputeNode.h
Salome HOME
NRI : Correction 1.1a version.
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_ComputeNode.h
1 //  File      : SUPERVGUI_ComputeNode.h
2 //  Created   : 09 / 01 / 2003
3 //  Author    : Vitaly SMETANNIKOV
4 //  Project   : SALOME 
5 //  Module    : SUPERVGUI
6 //  Copyright : Open CASCADE 
7
8
9 #ifndef SUPERVGUI_ComputeNode_H
10 #define SUPERVGUI_ComputeNode_H
11
12 #include "SUPERVGUI_GraphNode.h"
13
14
15 class SUPERVGUI_ComputeNode: public SUPERVGUI_GraphNode {
16   Q_OBJECT
17     
18  public:
19   SUPERVGUI_ComputeNode(QWidget* theParent, SUPERVGUI_Main* theMain, SUPERV_CNode theNode);
20   virtual ~SUPERVGUI_ComputeNode();
21  
22   void sync();
23   void hideAll();
24   void showAll();
25   virtual void updateShape();
26
27  public slots:
28   void switchService();
29   void switchPorts();
30
31
32  private:
33   QPopupMenu* myShowPopup;
34   int         myServiceItem;
35   int         myPortsItem;
36
37   //int         myPIcount;
38   //int         myPOcount;
39
40   SUPERVGUI_Label* myComment;
41   QVBox*           myServiceBox;
42   //QFrame*          myPortsBox;
43   //QGridLayout*     myPortLayout;
44 };
45
46 #endif