Salome HOME
The previous version had syntax error on line 1293, now it was fixed.
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_Service.h
index c04a154cb506a377f5fdd781e28b11c001d4c0e5..9a2f1613d18b39d45ae73d37d51bdb7e6e42ba1e 100644 (file)
@@ -58,15 +58,18 @@ class SUPERVGUI_PythonEditPane: public QFrame {
   void readFunction();
 
  private:
-
-  //QLineEdit* myNameEdt;
-  //QLineEdit* myParamEdt;
-  QTextEdit* myText;
-  //QLineEdit* myOutParamEdt;
+  QTextEdit*   myText;
   QPushButton* myNextBtn;
 
-  QTextStream* myIStream;
-  QFile* myFile;
+  // fills myPyFunctions list.  called from loadFile() after user selects a file.
+  void         initPyFunctions( QTextStream& );
+
+  // list of Python functions.  filled in loadFile(), strings (functions) retrieved 
+  // in readFunction()
+  QStringList  myPyFunctions; 
+
+  // index of currently displayed Python function
+  int          myPyIndex;
 };
 
 
@@ -94,7 +97,9 @@ class SUPERVGUI_Service: public QDialog {
     void addComputeNode();
     void addFactoryNode();
     void addInlineNode();
+    void addMacroNode();
     void typeNodeSelected(int theRow);
+    void loadGraph();
 
   private:
     QListView*            components;
@@ -110,6 +115,9 @@ class SUPERVGUI_Service: public QDialog {
     SUPERVGUI_PythonEditPane* myMorePane;
     SUPERVGUI_PythonEditPane* myNextPane;
 
+    QListView* myMacroPane;
+    QFile*     myMFile;        
+
     QTabWidget* myTabPane;
     bool myIsInline;