#include <qdialog.h>
#include "SUPERVGUI_Def.h"
-#include "SUPERVGUI_Port.h"
#include "SALOME_Selection.h"
-class SUPERVGUI_Node;
/**
* Class for ports values management (for internal using)
/**
* Browse Node Dialog box
*/
+class SUPERVGUI_Node;
+class SUPERVGUI_CanvasNode;
+
class SUPERVGUI_BrowseNodeDlg: public QDialog {
Q_OBJECT
public:
SUPERVGUI_BrowseNodeDlg( SUPERVGUI_Node* theNode );
+ SUPERVGUI_BrowseNodeDlg( SUPERVGUI_CanvasNode* theNode );
virtual ~SUPERVGUI_BrowseNodeDlg();
void setValues();
void showEvent( QShowEvent* theEvent );
private:
+ void init();
+
SUPERVGUI_Node* myNode;
+ SUPERVGUI_CanvasNode* myNodeCanvas;
+
bool myIsEditable;
QPtrList<SUPERVGUI_PortField> myPortsList;
SUPERVGUI_PortField* myActiveField;
/**
* Get Value dialog box
*/
+class SUPERVGUI_PortIn;
+class SUPERVGUI_PortInESNode;
+class SUPERVGUI_CanvasPort;
+
class SUPERVGUI_GetValueDlg: public QDialog {
Q_OBJECT
// SUPERVGUI_GetValueDlg( SUPERVGUI_Port thePort );
SUPERVGUI_GetValueDlg( SUPERVGUI_PortIn* thePort );
SUPERVGUI_GetValueDlg( SUPERVGUI_PortInESNode* thePort );
+ SUPERVGUI_GetValueDlg( SUPERVGUI_CanvasPort* thePort );
~SUPERVGUI_GetValueDlg();
private slots:
void onSelectionChanged();
private:
+ void init();
+
QPushButton* myOKBtn;
QPushButton* myCancelBtn;
SUPERVGUI_PortField* myField;
- SUPERVGUI_PortIn* myPort;
+
+ SUPERVGUI_PortIn* myPort;
SUPERVGUI_PortInESNode* myPortESNode; //last correction
+ SUPERVGUI_CanvasPort* myPortCanvas;
+
SALOME_Selection* mySelection;
};
+
+/**
+ * Stream Port Parameter dialog box
+ */
+class SUPERVGUI_StreamPortIn;
+class SUPERVGUI_CanvasStreamPortIn;
+class SUPERVGUI_StreamInDlg: public QDialog
+{
+ Q_OBJECT
+public:
+ SUPERVGUI_StreamInDlg(SUPERVGUI_StreamPortIn* thePort);
+ SUPERVGUI_StreamInDlg(SUPERVGUI_CanvasStreamPortIn* thePort);
+ virtual ~SUPERVGUI_StreamInDlg() {};
+
+protected slots:
+ void accept();
+
+private:
+ void init();
+ void setData();
+
+ SUPERVGUI_StreamPortIn* myPort;
+ SUPERVGUI_CanvasStreamPortIn* myPortCanvas;
+ QComboBox* mySchemaCombo;
+ QComboBox* myInterCombo;
+ QComboBox* myExterCombo;
+};
+
+class SUPERVGUI_StreamPortOut;
+class SUPERVGUI_CanvasStreamPortOut;
+class SUPERVGUI_StreamOutDlg: public QDialog
+{
+ Q_OBJECT
+public:
+ SUPERVGUI_StreamOutDlg(SUPERVGUI_StreamPortOut* thePort);
+ SUPERVGUI_StreamOutDlg(SUPERVGUI_CanvasStreamPortOut* thePort);
+ virtual ~SUPERVGUI_StreamOutDlg() {};
+
+protected slots:
+ void accept();
+
+private:
+ void init();
+
+ SUPERVGUI_StreamPortOut* myPort;
+ SUPERVGUI_CanvasStreamPortOut* myPortCanvas;
+ QLineEdit* myValEdit;
+};
+
#endif