Salome HOME
Stream Links show
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_Node.h
index 08a9587edf1039db46c7ffc77fb92e235ce08ad8..ec81d87fd65ce5b36503dc49fb14923b7d0a710e 100644 (file)
@@ -33,6 +33,8 @@ using namespace std;
 #include "SUPERVGUI_Label.h"
 #include <qvbox.h>
 #include "SUPERVGUI_BrowseNodeDlg.h"
+#include <qcombobox.h>
+
 
 class SUPERVGUI_Main;
 
@@ -45,6 +47,7 @@ class SUPERVGUI_Node: public QFrame {
 
     bool eventFilter( QObject* o, QEvent* e );
     virtual void sync();
+    void syncOnEvent(SUPERV::GraphState theStateFromEvent);
 
     virtual void hideAll()=0;
     virtual void showAll()=0;
@@ -145,6 +148,7 @@ class SUPERVGUI_Node: public QFrame {
     bool        step;
     bool        trace;
     bool        verbose;
+
 };
 
 
@@ -160,11 +164,11 @@ class SUPERVGUI_PortParamsDlg: public QDialog {
   ~SUPERVGUI_PortParamsDlg() {};
 
   QString getName() { return myNameTxt->text(); }
-  QString getType() { return myTypeTxt->text(); }
+  QString getType() { return myTypeTxt->currentText(); }
 
  private:
   QLineEdit* myNameTxt;
-  QLineEdit* myTypeTxt;
+  QComboBox* myTypeTxt;
 };