using namespace std;
#include "SUPERVGUI_Def.h"
#include "SUPERVGUI_BrowseNodeDlg.h"
+#include <qstringlist.h>
class SUPERVGUI_Main;
class SUPERVGUI_CanvasNodePrs;
class SUPERVGUI_CanvasNode : public QObject {
+ friend class SUPERVGUI_ManagePortsDlg;
+
Q_OBJECT
public:
- SUPERVGUI_CanvasNode(QObject* theParent, SUPERVGUI_Main* theMain, SUPERV_CNode theNode);
+ SUPERVGUI_CanvasNode(QObject* theParent, SUPERVGUI_Main* theMain, SUPERV_CNode theNode, bool theIsCell=false);
virtual ~SUPERVGUI_CanvasNode();
// done to ignore port update when node is removed
SUPERV_Port createInPort();
SUPERV_Port createOutPort();
+ QStringList getPortsNamesIN(SUPERV_INode theNode, bool theInputPorts);
virtual QPopupMenu* getPopupMenu(QWidget* theParent);
void suspendResume();
void kill();
void stopRestart();
- void configure();
- void showPython();
+
+ //asv: 13.12.04: ??? --> void configure();
+ //asv: 13.12.04: ??? --> void showPython();
virtual void rename();
virtual void remove();
virtual void addInputPort();
virtual void addOutputPort();
virtual void editFunction();
+ void managePorts();
protected:
virtual SUPERVGUI_CanvasNodePrs* createPrs() const;
SUPERVGUI_BrowseNodeDlg* myBrowseDlg;
bool isIgnore;
+ int myDeleteItem;
protected slots:
virtual void onDestroyed(QObject*);