#ifndef SCHEMEFLOWWIDGET_H #define SCHEMEFLOWWIDGET_H #include #include #include #include #include #include #include #include //#include #include #include using QtNodes::BasicGraphicsScene; using QtNodes::ConnectionStyle; using QtNodes::DataFlowGraphicsScene; // using QtNodes::GraphicsView; using QtNodes::GraphicsViewStyle; using QtNodes::NodeDelegateModelRegistry; using QtNodes::NodeRole; using QtNodes::NodeStyle; // class GraphicsView; class ProjectInfo; class QHBoxLayout; class SchemeFlowWidget : public QWidget { Q_OBJECT public: explicit SchemeFlowWidget(ProjectInfo *proj, int indexType, QWidget *parent = nullptr); ~SchemeFlowWidget(); void initWidgets(); void initLayout(); signals: private: ProjectInfo *m_proj = nullptr; int m_indexType = 0; // GraphicsView *m_view = nullptr; DataFlowModel *graphModel = nullptr; QHBoxLayout *m_layout = nullptr; }; #endif // SCHEMEFLOWWIDGET_H