|
@@ -91,7 +91,7 @@ static void setStyle_()
|
|
|
ShemeFlowPanel::ShemeFlowPanel(QWidget *parent) : QWidget(parent)
|
|
|
{
|
|
|
setStyle_();
|
|
|
-#if 0
|
|
|
+#if 1
|
|
|
DataFlowModel *graphModel = new DataFlowModel(registerDataModels());
|
|
|
|
|
|
// Initialize and connect two nodes.
|
|
@@ -135,7 +135,7 @@ ShemeFlowPanel::ShemeFlowPanel(QWidget *parent) : QWidget(parent)
|
|
|
|
|
|
this->setWindowTitle("Locked Nodes and Connections");
|
|
|
this->resize(800, 600);
|
|
|
-#endif
|
|
|
+#else
|
|
|
|
|
|
// Initialize and connect two nodes.
|
|
|
{
|
|
@@ -169,4 +169,6 @@ ShemeFlowPanel::ShemeFlowPanel(QWidget *parent) : QWidget(parent)
|
|
|
|
|
|
QHBoxLayout *l = new QHBoxLayout(this);
|
|
|
l->addWidget(view);
|
|
|
+
|
|
|
+#endif
|
|
|
}
|